org.apache.poi.sl.draw
public interface DrawFontManager
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFallbackFont(java.lang.String typeface,
int pitchFamily)
In case the original font doesn't contain a glyph, use the
returned fallback font as an alternative
|
java.lang.String |
getRendererableFont(java.lang.String typeface,
int pitchFamily)
select a font to be used to paint text
|
java.lang.String getRendererableFont(java.lang.String typeface, int pitchFamily)
typeface
- the font family as defined in the .pptx file.
This can be unknown or missing in the graphic environment.pitchFamily
- a pitch-and-family,
see HwmfFont.getFamily()
and
HwmfFont.getPitch()
for how to calculate those (ancient) valuesjava.lang.String getFallbackFont(java.lang.String typeface, int pitchFamily)
typeface
- the font family as defined in the .pptx file.pitchFamily
- a pitch-and-family,
see HwmfFont.getFamily()
and
HwmfFont.getPitch()
for how to calculate those (ancient) valuesCopyright 2017 The Apache Software Foundation or its licensors, as applicable.