ICEpdf
  1. ICEpdf
  2. PDF-53

Creation of font using AWT font style and size hinting.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      ICEpdf OS

      Description

      This improvement/fix came in via the forms and once again many thanks to Pedro Rivera for his work.

      When the OS version of ICEpdf does font substitution a lot of work is done to derive the font family from the font name. The Font class in Java has a constructor that takes style information which it can used to find a matching system font when available. The fix proposed by Pedro helps with this process and especially with the application of the correct font styles; italic and bold.
      1. Font.java
        37 kB
        Patrick Corless

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24037 Mon Feb 28 11:30:57 MST 2011 patrick.corless PDF-216 added font style hinting to rest of font class, similar to PDF-53, improves font substitution accuracy.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/ofont/Font.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19385 Fri Oct 09 05:59:34 MDT 2009 patrick.corless PDF-53 - update font substitution logic with a separate substitution test for font family names.
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-3.1.0/icepdf/core/src/org/icepdf/core/pobjects/fonts/ofont/Font.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19383 Fri Oct 09 05:49:15 MDT 2009 patrick.corless PDF-53 - update font substitution logic with a seperate substitution test for font family names.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/ofont/Font.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19369 Thu Oct 08 07:16:29 MDT 2009 patrick.corless PDF-53 - applied font style hinting for the awt font creation during font substitution in the OS version.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/ofont/OFont.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/ofont/Font.java
        Commit graph ADD /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/FontUtil.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: