Uses of Class
org.docx4j.fonts.PhysicalFont
Packages that use PhysicalFont
Package
Description
-
Uses of PhysicalFont in org.docx4j.fonts
Fields in org.docx4j.fonts with type parameters of type PhysicalFontModifier and TypeFieldDescriptionprotected ConcurrentHashMap<String,PhysicalFont> Mapper.boldFormsprotected ConcurrentHashMap<String,PhysicalFont> Mapper.boldItalicFormsprivate static LoadingCache<PhysicalFont,Typeface> GlyphCheck.cacheprotected static final Map<String,PhysicalFont> Mapper.fontMappingsprotected ConcurrentHashMap<String,PhysicalFont> Mapper.italicFormsprivate static final Map<String,PhysicalFont> PhysicalFonts.physicalFontMapThese are the physical fonts on the system which we have discovered.private static final Map<String,PhysicalFont> PhysicalFonts.physicalFontMapByFilenameLowercaseprivate static final Map<String,PhysicalFont> BestMatchingMapper.physicalFontsByKeyPhysical fonts remapped using the short key convention in FontSubstitutions.xml; For purpose, see comments below.protected ConcurrentHashMap<String,PhysicalFont> Mapper.regularFormsMethods in org.docx4j.fonts that return PhysicalFontModifier and TypeMethodDescriptionGet a PhysicalFont from FontMappings, by case-insensitive name.static PhysicalFontGet a PhysicalFont by case-insensitive name.private PhysicalFontBestMatchingMapper.getAssociatedPhysicalFont(String documentFontName, String orignalKey, Panose soughtPanose) Mapper.getBoldForm(String fontNameAsInFontTablePart, PhysicalFont pf) static PhysicalFontPhysicalFonts.getBoldForm(PhysicalFont pf) Mapper.getBoldItalicForm(String fontNameAsInFontTablePart, PhysicalFont pf) static PhysicalFontPhysicalFonts.getBoldItalicForm(PhysicalFont pf) Mapper.getItalicForm(String fontNameAsInFontTablePart, PhysicalFont pf) static PhysicalFontPhysicalFonts.getItalicForm(PhysicalFont pf) private static PhysicalFontBestMatchingMapper.getPhysicalFontByKey(String key) Mapper.getRegularForm(String fontNameAsInFontTablePart) Methods in org.docx4j.fonts that return types with arguments of type PhysicalFontModifier and TypeMethodDescriptionMapper.getFontMappings()Deprecated.static List<PhysicalFont>PhysicalFonts.getPhysicalFont(String nameAsInFontTablePart, URI fontUrl) Get a physical font's EmbedFontInfo object.static Map<String,PhysicalFont> PhysicalFonts.getPhysicalFonts()Deprecated.Methods in org.docx4j.fonts with parameters of type PhysicalFontModifier and TypeMethodDescriptionMapper.getBoldForm(String fontNameAsInFontTablePart, PhysicalFont pf) static PhysicalFontPhysicalFonts.getBoldForm(PhysicalFont pf) Mapper.getBoldItalicForm(String fontNameAsInFontTablePart, PhysicalFont pf) static PhysicalFontPhysicalFonts.getBoldItalicForm(PhysicalFont pf) Mapper.getItalicForm(String fontNameAsInFontTablePart, PhysicalFont pf) static PhysicalFontPhysicalFonts.getItalicForm(PhysicalFont pf) static booleanGlyphCheck.hasChar(PhysicalFont physicalFont, char c) voidMapper.put(String key, PhysicalFont pf) Put a PhysicalFont into FontMappings, by case-insensitive name.static voidPhysicalFonts.put(String key, PhysicalFont pf) Put a PhysicalFont by case-insensitive name.voidMapper.registerBoldForm(String fontNameAsInFontTablePart, PhysicalFont pfBold) voidMapper.registerBoldItalicForm(String fontNameAsInFontTablePart, PhysicalFont pfBoldItalic) voidMapper.registerItalicForm(String fontNameAsInFontTablePart, PhysicalFont pfItalic) voidMapper.registerRegularForm(String fontNameAsInFontTablePart, PhysicalFont pfRegular) Method parameters in org.docx4j.fonts with type arguments of type PhysicalFontModifier and TypeMethodDescriptionprivate StringBestMatchingMapper.findClosestPanoseMatch(String documentFontName, Panose documentFontPanose, Map<String, PhysicalFont> physicalFontSpace, int matchThreshold) Logic to search panose space for closest matching physical font file.private static voidBestMatchingMapper.panoseDebugReportOnPhysicalFonts(Map<String, PhysicalFont> physicalFontMap) -
Uses of PhysicalFont in org.docx4j.fonts.fop.util
Methods in org.docx4j.fonts.fop.util with parameters of type PhysicalFontModifier and TypeMethodDescriptionprivate static voidFopConfigUtil.addVariations(Mapper fontMapper, Fonts rendererFonts, String fontName, PhysicalFont pf, String subFontAtt) private static Fonts.FontFopConfigUtil.createVariant(PhysicalFont pf, PhysicalFont pfVariation, String subFontAtt, String style, String weight) -
Uses of PhysicalFont in org.docx4j.openpackaging.parts
Methods in org.docx4j.openpackaging.parts that return PhysicalFontModifier and TypeMethodDescriptionabstract PhysicalFontAbstractFontPart.extract(String fontNameAsInTablePart, String fontFileName, String fontKey, String filenamePrefix) TrueTypeFontPart.extract(String fontNameAsInTablePart, String fontFileName, String fontKey, String filenamePrefix) deObfuscate this font, and save it using fontName -
Uses of PhysicalFont in org.docx4j.openpackaging.parts.WordprocessingML
Methods in org.docx4j.openpackaging.parts.WordprocessingML that return PhysicalFontModifier and TypeMethodDescriptionObfuscatedFontPart.deObfuscate(String fontNameAsInTablePart, String fontFileName, String fontKey, String filenamePrefix) Deprecated.ObfuscatedFontPart.extract(String fontNameAsInTablePart, String fontFileName, String fontKey, String filenamePrefix) deObfuscate this font, and save it using fontNameprivate PhysicalFontFontTablePart.getFontFromRelationship(String fontNameAsInFontTablePart, String fontFileName, FontRel fontRel)