ICEpdf
  1. ICEpdf
  2. PDF-1046

Viewer RI font manager improvements.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.2
    • Fix Version/s: 6.1.3
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      Any

      Description

      The fontManager has been falling on hard times these days with regards to find fonts on linux machines and has been causing some support headaches. The bug will capture enhancements to the font manager class and viewer RI which will hopefully improve information for support cases as well as enabled the fontManger to find system fonts more easily.

        Activity

        Patrick Corless created issue -
        Hide
        Patrick Corless added a comment -

        The main area of concern has been on linux system as it would appear the most distro's have been consolidating all fonts to the /usr/share/fonts/ folder and individual application install their fonts in a separate folder sub folder. Our fontManager class does not have the ability to do a recursive search for folders of a path which is problematic in this case as only the jvm fonts are found.

        The next area of improvement is to enable platform detection to avoid trying to load font paths that are know to not be found on a system. Currently we read all know font paths for any system, this seems a bit much and can be improved or special cased for a a particular type of OS.

        The other problem we have is resetting the font cache when needed. This could be out of date because of new system fonts or new library features need to to reset or rescan for system fonts.

        And finally it would be great if we had an easy way to show which fonts are contained in a document and display properties such as which are embedded and which are substituted. Basically useful debug information.

        Show
        Patrick Corless added a comment - The main area of concern has been on linux system as it would appear the most distro's have been consolidating all fonts to the /usr/share/fonts/ folder and individual application install their fonts in a separate folder sub folder. Our fontManager class does not have the ability to do a recursive search for folders of a path which is problematic in this case as only the jvm fonts are found. The next area of improvement is to enable platform detection to avoid trying to load font paths that are know to not be found on a system. Currently we read all know font paths for any system, this seems a bit much and can be improved or special cased for a a particular type of OS. The other problem we have is resetting the font cache when needed. This could be out of date because of new system fonts or new library features need to to reset or rescan for system fonts. And finally it would be great if we had an easy way to show which fonts are contained in a document and display properties such as which are embedded and which are substituted. Basically useful debug information.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49409 Wed Oct 26 10:49:32 MDT 2016 patrick.corless PDF-1046 addition of operating system detection and recursive directory descent to improve font detection on non windows systems.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/util/FontPropertiesManager.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.1.3 [ 13086 ]
        Hide
        Patrick Corless added a comment -

        Added the new font properties dialog which shows all the fonts in a document along with some properties about the font and font substitution information. The dialog also has a button to allow the font cache properties file to be reset.

        Show
        Patrick Corless added a comment - Added the new font properties dialog which shows all the fonts in a document along with some properties about the font and font substitution information. The dialog also has a button to allow the font cache properties file to be reset.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49442 Wed Nov 02 15:27:11 MDT 2016 patrick.corless PDF-1046 addition of font properties dialog to Viewer RI showing all document font properties and provides a mechanism to allow for easy reset of the font cache properties file.
        Files Changed
        Commit graph ADD /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/fonts
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/resources/MessageBundle.properties
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/Page.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/fonts/Font.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/util/Library.java
        Commit graph ADD /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/fonts/FontDialog.java
        Commit graph ADD /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/fonts/FindFontsTask.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49443 Wed Nov 02 15:38:37 MDT 2016 patrick.corless PDF-1046 correct two jdk 5 related compile issues.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/fonts/FindFontsTask.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49446 Wed Nov 02 16:13:57 MDT 2016 patrick.corless PDF-1046 removed offending JDK 5 @override call.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/viewer/src/org/icepdf/ri/common/fonts/FontDialog.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49507 Tue Nov 08 12:23:40 MST 2016 patrick.corless PDF-1046 addition of operating system detection and recursive directory descent to improve font detection on non windows systems.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/FontPropertiesManager.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49519 Tue Nov 08 12:59:05 MST 2016 patrick.corless PDF-1046 addition of font properties dialog to Viewer RI showing all document font properties and provides a mechanism to allow for easy reset of the font cache properties file.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/resources/MessageBundle.properties
        Commit graph ADD /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/fonts/FindFontsTask.java
        Commit graph ADD /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/fonts
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/Font.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/Library.java
        Commit graph ADD /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/fonts/FontDialog.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49520 Tue Nov 08 13:00:24 MST 2016 patrick.corless PDF-1046 correct two jdk 5 related compile issues.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/fonts/FindFontsTask.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49523 Tue Nov 08 13:03:12 MST 2016 patrick.corless PDF-1046 removed offending JDK 5 @override call.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/fonts/FontDialog.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49603 Wed Nov 30 12:04:02 MST 2016 patrick.corless PDF-1046 applied patch: addition of font properties dialog to Viewer RI showing all document font properties and provides a mechanism to allow for easy reset of the font cache properties file.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.1.1/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49604 Wed Nov 30 12:05:58 MST 2016 patrick.corless creation of tag for PDF-1046 patch for m2m.
        Files Changed
        Commit graph ADD /icepdf/tags/icepdf-5.1.1_m2m_1046
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49606 Wed Nov 30 12:45:09 MST 2016 patrick.corless PDF-1046 applied patch: addition of font properties dialog to Viewer RI showing all document font properties and provides a mechanism to allow for easy reset of the font cache properties file.
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-5.1.1_m2m_1046/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49607 Wed Nov 30 12:47:48 MST 2016 patrick.corless PDF-1046 applied patch: addition of font properties dialog to Viewer RI showing all document font properties and provides a mechanism to allow for easy reset of the font cache properties file.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.1.1/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49608 Wed Nov 30 12:54:29 MST 2016 patrick.corless PDF-1046 applied patch: addition of font properties dialog to Viewer RI showing all document font properties and provides a mechanism to allow for easy reset of the font cache properties file.
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-5.1.1_m2m_1046/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49610 Wed Nov 30 13:26:28 MST 2016 patrick.corless PDF-1046 applied patch: addition of font properties dialog to Viewer RI showing all document font properties and provides a mechanism to allow for easy reset of the font cache properties file.
        Files Changed
        Commit graph ADD /icepdf/tags/icepdf-5.1.1_m2m_1046
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49612 Wed Nov 30 13:35:35 MST 2016 patrick.corless PDF-1046 applied patch: addition of font properties dialog to Viewer RI showing all document font properties and provides a mechanism to allow for easy reset of the font cache properties file.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.1.1/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49613 Wed Nov 30 13:37:41 MST 2016 patrick.corless PDF-1046 applied patch: addition of font properties dialog to Viewer RI showing all document font properties and provides a mechanism to allow for easy reset of the font cache properties file.
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-5.1.1_m2m_1046/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: