ICEpdf
  1. ICEpdf
  2. PDF-970

Improve FontManagers exception handling.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1
    • Fix Version/s: 6.2
    • Component/s: Examples
    • Labels:
      None
    • Environment:
      Pro

      Description

      A customer has had trouble diagnosing a font substitution issue on a Linux system. The issue as it turns out is a AccessControlException when the process running the JVM doesn't have permission to read the fonts paths in question.

      During the font path read we catch and log AccessControlException as well as Throwable but we do this at the loggger.finer level which might not show up in the users logs.

      The proposal here to take a look at he loading process and see if we can provide better logging for the process and raise the appropriate warnings if now font scan be found.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49959 Mon Jan 09 12:45:13 MST 2017 patrick.corless PDF-970 updated log level for AccessControlException to aid in debugging of file system access issues on various OS's particularily Linux.
        Files Changed
        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 #49958 Mon Jan 09 12:45:03 MST 2017 patrick.corless PDF-970 updated log level for AccessControlException to aid in debugging of file system access issues on various OS's particularily Linux.
        Files Changed
        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:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: