[ 
https://issues.apache.org/jira/browse/PDFBOX-2090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14005939#comment-14005939
 ] 

Juraj Lonc commented on PDFBOX-2090:
------------------------------------

Instead of 
{code}
if (glyphId<=3) return null;
{code}
could be better
{code}
if (glyphId==3) return null;
{code}
in case you would like to use glyph id #0 for drawing missing chars

> Glyph not found:3
> -----------------
>
>                 Key: PDFBOX-2090
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2090
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: Juraj Lonc
>            Priority: Minor
>         Attachments: PDFBOX-2090_TTFGlyph2D.diff, glyph_id3.pdf
>
>
> There are some debug messages:
> {code}
> 15:30:46,574 DEBUG TTFGlyph2D:227 - GYQPBH+TimesNewRomanPSMT: Glyph not 
> found:3
> {code}
> but glyph id #3 is reserved (according to TTF spec) so it is OK that this 
> glyph was not found in TTF font.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to