You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Barta Tamás (Jira)" <ji...@apache.org> on 2020/01/21 09:09:00 UTC

[jira] [Created] (PDFBOX-4748) No glyph problem

Barta Tamás created PDFBOX-4748:
-----------------------------------

             Summary: No glyph problem
                 Key: PDFBOX-4748
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4748
             Project: PDFBox
          Issue Type: Bug
          Components: PDModel
    Affects Versions: 2.0.18
            Reporter: Barta Tamás


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?

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org