Class AFPBase12FontCollection
java.lang.Object
org.apache.fop.afp.fonts.AFPBase12FontCollection
- All Implemented Interfaces:
FontCollection
Sets up a typical Base 12 font configuration for AFP
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String[]standard raster font charset referencesprivate final AFPEventProducerprivate static final int[]standard raster font sizes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddCharacterSet(RasterFont font, String charsetName, Base14Font base14) private intaddFontProperties(FontInfo fontInfo, AFPFont font, String[] names, String style, int weight, int num) private RasterFontcreateReferencedRasterFont(String fontFamily) intSets up fonts in a font info object.
-
Field Details
-
eventProducer
-
RASTER_SIZES
private static final int[] RASTER_SIZESstandard raster font sizes -
CHARSET_REF
standard raster font charset references
-
-
Constructor Details
-
AFPBase12FontCollection
- Parameters:
eventProducer- the AFP-specific event producer
-
-
Method Details
-
addCharacterSet
-
addFontProperties
-
setup
Sets up fonts in a font info object. Adds metrics for basic fonts and useful family-style-weight triplets for lookup.- Specified by:
setupin interfaceFontCollection- Parameters:
start- the font starting numberfontInfo- the font info to set up- Returns:
- the starting font number for the next font to be added
-
createReferencedRasterFont
-