Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4748

No glyph problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.0.18
    • None
    • PDModel
    • None

    Description

      Hi!

      I load "SourceSansPro-Light" font this way:

      PDType0Font font = PDType0Font.load(FONT_SANS_PRO_LIGHT));

      When I generating PDF I check every character if valid for this font. With character 'ǻ' the font.hasGlyph method returns true so I keep this character, but calling  font.getStringWidth(line) throws the following exception:

      "No glyph for U+01FB (ǻ) in font SourceSansPro-Light"

      I think it seems a bug. Can you fix it or should I change something to work?

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            bartatamas Barta Tamás
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: