[jira] [Commented] (PDFBOX-3412) Using fallback font 'TimesNewRomanPSMT' for 'Wingdings'
[ https://issues.apache.org/jira/browse/PDFBOX-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15504311#comment-15504311 ] John Hewson commented on PDFBOX-3412: - Looks good - this is a general-purpose fix rather than Windings-specific, so we might even improve the situation for other fonts using the "-Regular" postfix. Nice. > Using fallback font 'TimesNewRomanPSMT' for 'Wingdings' > --- > > Key: PDFBOX-3412 > URL: https://issues.apache.org/jira/browse/PDFBOX-3412 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.2, 2.0.3, 2.1.0 > Environment: W7 >Reporter: Tilman Hausherr >Assignee: Andreas Lehmkühler > Fix For: 2.0.4, 2.1.0 > > Attachments: PDFBOX-3412-patch.txt, PDFJS-6353-Wingdings.pdf, > PDFJS-6353-Wingdings1.jpg > > > The attached file has the non embedded "Wingdings" font. That one is > available on windows, however its name is "Wingdings-Regular" so it doesn't > match. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-3412) Using fallback font 'TimesNewRomanPSMT' for 'Wingdings'
[ https://issues.apache.org/jira/browse/PDFBOX-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15504302#comment-15504302 ] John Hewson commented on PDFBOX-3412: - Trying the postfix for all fonts is preferred. Because Windings isn't a base-14 font we'd prefer not to special-case it if possible. > Using fallback font 'TimesNewRomanPSMT' for 'Wingdings' > --- > > Key: PDFBOX-3412 > URL: https://issues.apache.org/jira/browse/PDFBOX-3412 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.2, 2.0.3, 2.1.0 > Environment: W7 >Reporter: Tilman Hausherr >Assignee: Andreas Lehmkühler > Fix For: 2.0.4, 2.1.0 > > Attachments: PDFBOX-3412-patch.txt, PDFJS-6353-Wingdings.pdf, > PDFJS-6353-Wingdings1.jpg > > > The attached file has the non embedded "Wingdings" font. That one is > available on windows, however its name is "Wingdings-Regular" so it doesn't > match. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-3412) Using fallback font 'TimesNewRomanPSMT' for 'Wingdings'
[ https://issues.apache.org/jira/browse/PDFBOX-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15504006#comment-15504006 ] ASF subversion and git services commented on PDFBOX-3412: - Commit 1761485 from [~lehmi] in branch 'pdfbox/trunk' [ https://svn.apache.org/r1761485 ] PDFBOX-3412: append -Regular to fonts when searching for non-embedded fonts > Using fallback font 'TimesNewRomanPSMT' for 'Wingdings' > --- > > Key: PDFBOX-3412 > URL: https://issues.apache.org/jira/browse/PDFBOX-3412 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.2, 2.0.3, 2.1.0 > Environment: W7 >Reporter: Tilman Hausherr > Attachments: PDFBOX-3412-patch.txt, PDFJS-6353-Wingdings.pdf, > PDFJS-6353-Wingdings1.jpg > > > The attached file has the non embedded "Wingdings" font. That one is > available on windows, however its name is "Wingdings-Regular" so it doesn't > match. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-3412) Using fallback font 'TimesNewRomanPSMT' for 'Wingdings'
[ https://issues.apache.org/jira/browse/PDFBOX-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15504000#comment-15504000 ] ASF subversion and git services commented on PDFBOX-3412: - Commit 1761484 from [~lehmi] in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1761484 ] PDFBOX-3412: append "-Regular" to fonts when searching for non-embedded fonts > Using fallback font 'TimesNewRomanPSMT' for 'Wingdings' > --- > > Key: PDFBOX-3412 > URL: https://issues.apache.org/jira/browse/PDFBOX-3412 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.2, 2.0.3, 2.1.0 > Environment: W7 >Reporter: Tilman Hausherr > Attachments: PDFBOX-3412-patch.txt, PDFJS-6353-Wingdings.pdf, > PDFJS-6353-Wingdings1.jpg > > > The attached file has the non embedded "Wingdings" font. That one is > available on windows, however its name is "Wingdings-Regular" so it doesn't > match. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-3412) Using fallback font 'TimesNewRomanPSMT' for 'Wingdings'
[ https://issues.apache.org/jira/browse/PDFBOX-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15500929#comment-15500929 ] Tilman Hausherr commented on PDFBOX-3412: - I just tested your patch without the "if" and it makes no differences except for the file that is central to this issue. I'm on Windows 7. > Using fallback font 'TimesNewRomanPSMT' for 'Wingdings' > --- > > Key: PDFBOX-3412 > URL: https://issues.apache.org/jira/browse/PDFBOX-3412 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.2, 2.0.3, 2.1.0 > Environment: W7 >Reporter: Tilman Hausherr > Attachments: PDFBOX-3412-patch.txt, PDFJS-6353-Wingdings.pdf, > PDFJS-6353-Wingdings1.jpg > > > The attached file has the non embedded "Wingdings" font. That one is > available on windows, however its name is "Wingdings-Regular" so it doesn't > match. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-3412) Using fallback font 'TimesNewRomanPSMT' for 'Wingdings'
[ https://issues.apache.org/jira/browse/PDFBOX-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367844#comment-15367844 ] John Hewson commented on PDFBOX-3412: - That works but it's by the right fix. Windings isn't a standard 14 font so it doesn't belong in that list. We don't want hard coded mappings. > Using fallback font 'TimesNewRomanPSMT' for 'Wingdings' > --- > > Key: PDFBOX-3412 > URL: https://issues.apache.org/jira/browse/PDFBOX-3412 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.2, 2.0.3, 2.1.0 > Environment: W7 >Reporter: Tilman Hausherr > Attachments: PDFJS-6353-Wingdings.pdf, PDFJS-6353-Wingdings1.jpg > > > The attached file has the non embedded "Wingdings" font. That one is > available on windows, however its name is "Wingdings-Regular" so it doesn't > match. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-3412) Using fallback font 'TimesNewRomanPSMT' for 'Wingdings'
[ https://issues.apache.org/jira/browse/PDFBOX-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367246#comment-15367246 ] Tilman Hausherr commented on PDFBOX-3412: - What I did is to add it to that list for the Standard 14 fonts. > Using fallback font 'TimesNewRomanPSMT' for 'Wingdings' > --- > > Key: PDFBOX-3412 > URL: https://issues.apache.org/jira/browse/PDFBOX-3412 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.2, 2.0.3, 2.1.0 > Environment: W7 >Reporter: Tilman Hausherr > Attachments: PDFJS-6353-Wingdings.pdf, PDFJS-6353-Wingdings1.jpg > > > The attached file has the non embedded "Wingdings" font. That one is > available on windows, however its name is "Wingdings-Regular" so it doesn't > match. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-3412) Using fallback font 'TimesNewRomanPSMT' for 'Wingdings'
[ https://issues.apache.org/jira/browse/PDFBOX-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367138#comment-15367138 ] John Hewson commented on PDFBOX-3412: - Alternatively, because we know that Windings-Regular is actually Windings, and not a fallback, we could modify findFont to try adding "-Regular" to the base name. > Using fallback font 'TimesNewRomanPSMT' for 'Wingdings' > --- > > Key: PDFBOX-3412 > URL: https://issues.apache.org/jira/browse/PDFBOX-3412 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.2, 2.0.3, 2.1.0 > Environment: W7 >Reporter: Tilman Hausherr > Attachments: PDFJS-6353-Wingdings.pdf, PDFJS-6353-Wingdings1.jpg > > > The attached file has the non embedded "Wingdings" font. That one is > available on windows, however its name is "Wingdings-Regular" so it doesn't > match. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-3412) Using fallback font 'TimesNewRomanPSMT' for 'Wingdings'
[ https://issues.apache.org/jira/browse/PDFBOX-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367132#comment-15367132 ] John Hewson commented on PDFBOX-3412: - So the code in getFallbackFontName in FontMapperImpl is looking for "Windings-Roman". The question is whether "-Regular" is a popular postfix or just something specific to Windings (because it's a symbol font, not a roman font). I'm thinking it's probably the latter, so we could special-case it in getFallbackFontName. > Using fallback font 'TimesNewRomanPSMT' for 'Wingdings' > --- > > Key: PDFBOX-3412 > URL: https://issues.apache.org/jira/browse/PDFBOX-3412 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.2, 2.0.3, 2.1.0 > Environment: W7 >Reporter: Tilman Hausherr > Attachments: PDFJS-6353-Wingdings.pdf, PDFJS-6353-Wingdings1.jpg > > > The attached file has the non embedded "Wingdings" font. That one is > available on windows, however its name is "Wingdings-Regular" so it doesn't > match. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org