Uses of Class
org.faceless.publisher.type.FontMetrics
Package
Description
Contains utility classes and interfaces which are used across BFO Publisher
-
Uses of org.faceless.publisher.type.FontMetrics in org.faceless.publisher.type
Modifier and TypeMethodDescriptionorg.faceless.publisher.type.FontMetrics
CSSStyle.getFontMetrics()
org.faceless.publisher.type.FontMetrics
FilterCSSStyle.getFontMetrics()
org.faceless.publisher.type.FontMetrics
LengthEvaluationContext.getFontMetrics()
org.faceless.publisher.type.FontMetrics
SimpleLengthEvaluationContext.getFontMetrics()
Modifier and TypeMethodDescriptionfloat
BaselineProp.getShift
(org.faceless.publisher.type.FontMetrics fm, float lineHeight) Given the Font Metrics of the font and the lineHeight (only required for top/bottom/center alignment - can be 0 otherwise), return the distance to shift from the "text-top" baseline, as a ratio of the font-size.