Uses of Enum Class
org.faceless.publisher.type.FontMetrics.MetricsAlgorithm

Packages that use org.faceless.publisher.type.FontMetrics.MetricsAlgorithm
Package
Description
Provides the base classes for output from BFO Publisher, extended by type-specific subpackages
Contains utility classes and interfaces which are used across BFO Publisher
  • Uses of org.faceless.publisher.type.FontMetrics.MetricsAlgorithm in org.faceless.publisher.output

    Methods in org.faceless.publisher.output with parameters of type org.faceless.publisher.type.FontMetrics.MetricsAlgorithm in in
    Modifier and Type
    Method
    Description
    float
    GeneralFontResource.getAscent(org.faceless.publisher.type.FontMetrics.MetricsAlgorithm algo)
     
    float
    GeneralFontResource.getDescent(org.faceless.publisher.type.FontMetrics.MetricsAlgorithm algo)
     
    float
    GeneralFontResource.getLineGap(org.faceless.publisher.type.FontMetrics.MetricsAlgorithm algo)
     
  • Uses of org.faceless.publisher.type.FontMetrics.MetricsAlgorithm in org.faceless.publisher.type

    Methods in org.faceless.publisher.type that return org.faceless.publisher.type.FontMetrics.MetricsAlgorithm in in
    Modifier and Type
    Method
    Description
    org.faceless.publisher.type.FontMetrics.MetricsAlgorithm
    FontResourceDescriptor.getFontMetricsAlgorithm()
    Return the chosen FontMetrics algorithm for layout, or null to use the default
    static org.faceless.publisher.type.FontMetrics.MetricsAlgorithm
    FontMetrics.MetricsAlgorithm.valueOf(String name)
     
    static org.faceless.publisher.type.FontMetrics.MetricsAlgorithm[]
    FontMetrics.MetricsAlgorithm.values()
     
    Methods in org.faceless.publisher.type with parameters of type org.faceless.publisher.type.FontMetrics.MetricsAlgorithm in in
    Modifier and Type
    Method
    Description
    float
    FontResource.getAscent(org.faceless.publisher.type.FontMetrics.MetricsAlgorithm algo)
    Return the positive distance above the baseline, eg 0.8 (opentype: hhea.ascender).
    float
    FontResource.getDescent(org.faceless.publisher.type.FontMetrics.MetricsAlgorithm algo)
    Return the negative distance below the baseline, eg -0.2 (opentype: hhea.descender).
    float
    FontResource.getLineGap(org.faceless.publisher.type.FontMetrics.MetricsAlgorithm algo)
    Return the distance between lines, eg 0.15 (opentype: hhea.lineGap).
    void
    FontResourceDescriptor.setFontMetricsAlgorithm(org.faceless.publisher.type.FontMetrics.MetricsAlgorithm algorithm)