Menu

#4902 Improve `-dgs-load-fonts` option for TTF that doesn't have glyph names

Verified
Enhancement
2016-07-17
2016-06-19
No

Improve -dgs-load-fonts option for TTF that doesn't have glyph names

-dgs-load-fonts loads fonts via Ghostscript.
However, if a TrueType font (TTF)
that does not have glyph names is loaded via Ghostscript,
all characters are shown in TOFU.

This commit lets -dgs-load-fonts loads those fonts
in a way that is not via Ghostscript.

Add procedure ly:has-glyph-names?

This commit adds procedure ly:has-glyph-names?
to check whether or not a font has glyph names.

This patch requires Issue 4900 and Issue 4901.
https://codereview.appspot.com/301990043
https://codereview.appspot.com/299360043

http://codereview.appspot.com/302000043

Discussion

  • Masamichi Hosoda

     
  • Anonymous

    Anonymous - 2016-06-20
    • Description has changed:

    Diff:

    
    
    • Needs: -->
    • Patch: new --> review
    • Type: --> Enhancement
     
  • Anonymous

    Anonymous - 2016-06-20

    Passes make, make check and a full make doc.

     
  • Anonymous

    Anonymous - 2016-06-24
    • Patch: review --> countdown
     
  • Anonymous

    Anonymous - 2016-06-24

    Patch on countdown for June 27th.

     
  • Anonymous

    Anonymous - 2016-06-27
    • Patch: countdown --> push
     
  • Anonymous

    Anonymous - 2016-06-27

    Patch counted down - please push

     
  • Masamichi Hosoda

    • labels: --> Fixed_2_19_45
    • status: Started --> Fixed
    • Patch: push -->
     
  • Masamichi Hosoda

    I've pushed to staging.

    Issue 4902/1: Add procedure ly:has-glyph-names?
    commit 9437884ac32029c7166ab54cb4f727232b7cdc3c

    Issue 4902/2: Improve -dgs-load-fonts option for TTF
    commit b060b5bac8cb49ab80f6ea31410725340423e6f7

     
  • Federico Bruni

    Federico Bruni - 2016-07-17
    • status: Fixed --> Verified