ICEpdf
  1. ICEpdf
  2. PDF-256

Fonts not rendered correctly when JLP Diaper Pin used

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.2
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      -
    • Workaround Exists:
      Yes
    • Workaround Description:
      Remove icepdf-viewer.jar but most are using the viewer.

      Description

      ALFor.pdf does not render correctly when the JLP Diaper Pin font library is installed. This issue only occurs when the icepdf-viewer.jar is on the classpath. With the JLR Diaper Fonts present the font substitution logging is as follows:

      Font Substitution: Found system font: TimesNewRomanPS-BoldMT for named font Times New Roman,Bold
      Font Substitution: Found system font: New for named font Times New Roman

      Full stack trace attached along with screen shots, PDF, and JLP Diaper Pin fonts which can be found here: http://www.fontspace.com/gorillablu/jlr-diaper-pin.


        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24144 Tue Mar 15 09:17:47 MDT 2011 patrick.corless PDF-256 changed sort order of font list to be sorted a-z.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24143 Tue Mar 15 08:23:33 MDT 2011 patrick.corless PDF-256 adjusted font substitution algorithm to take font style into account when doing last ditch match attempt before blindly selecting the first font in the list of possible fonts
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24122 Thu Mar 10 13:48:51 MST 2011 patrick.corless PDF-256 - added "new" to the list of excluded fonts, found a couple other case were the font came into play.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24110 Wed Mar 09 13:51:27 MST 2011 patrick.corless PDF-256 update fontManager to sort the font list to avoid a nasty corner case where a system font "new" is getting substituted for "timesnewroman".
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: