Uses of Enum Class
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
Modifier and TypeMethodDescriptionfloat
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
Modifier and TypeMethodDescriptionorg.faceless.publisher.type.FontMetrics.MetricsAlgorithm
FontResourceDescriptor.getFontMetricsAlgorithm()
Return the chosen FontMetrics algorithm for layout, or null to use the defaultstatic org.faceless.publisher.type.FontMetrics.MetricsAlgorithm
FontMetrics.MetricsAlgorithm.valueOf
(String name) static org.faceless.publisher.type.FontMetrics.MetricsAlgorithm[]
FontMetrics.MetricsAlgorithm.values()
Modifier and TypeMethodDescriptionfloat
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)