Class TrueTypeContainer


  • public class TrueTypeContainer
    extends FontContainer<org.apache.pdfbox.pdmodel.font.PDTrueTypeFont>
    • Constructor Detail

      • TrueTypeContainer

        public TrueTypeContainer​(org.apache.pdfbox.pdmodel.font.PDTrueTypeFont font)
    • Method Detail

      • hasGlyph

        public boolean hasGlyph​(int code)
                         throws java.io.IOException
        Description copied from class: FontContainer
        Checks if the embedded font contains a glyph for the given character code.
        Specified by:
        hasGlyph in class FontContainer<org.apache.pdfbox.pdmodel.font.PDTrueTypeFont>
        Parameters:
        code - character code
        Throws:
        java.io.IOException