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

        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: