ICEpdf
  1. ICEpdf
  2. PDF-1329

Asian font substitution on unix

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3.3
    • Component/s: Core/Parsing, Font Engine
    • Labels:
      None
    • Environment:
      Linux or Mac OS systems

      Description

      A files has been submitted that does not correctly render on macOS. The gylphs in question are to be substituted using a STSong font. This normally works fin on windows systems as there are default STSong fonts mainly "STSong Light Acro" or "Adobe Song Std Acro". However this doesn't appear to be the case on unix systems.

      I was able to get the font to render correctly on my linux box but this required my to install a full "stsong" font and regenerate the system font list. Further research is needed to find out where macOS puts it's user installed fonts on the file system so we can insure the FontManager picks them up.

        Activity

        Hide
        Patrick Corless added a comment -

        Added the font name 'stsong' as new font for simplified chinese font names. This particular font is free on linux and contains the needed glyphs.

        Also updated linux font search paths for ~/.local/share/fonts/ which should also help find more system fonts for substitution.

        Show
        Patrick Corless added a comment - Added the font name 'stsong' as new font for simplified chinese font names. This particular font is free on linux and contains the needed glyphs. Also updated linux font search paths for ~/.local/share/fonts/ which should also help find more system fonts for substitution.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: