Skip to content

Commit

Permalink
fix missing glyph 0 .notdef
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanoHao committed Jan 19, 2019
1 parent 4aa8435 commit 2684cd2
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion font-builder/trim-droid.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def AddRef(n, font, ref):
AddRef(r['glyph'], font, ref)

def TrimGlyph(font):
needed = []
needed = [ font['glyph_order'][0] ]
for (_, n) in font['cmap'].items():
needed.append(n)
ref = []
Expand Down
2 changes: 1 addition & 1 deletion font-builder/trim-noto.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def AddRef(n, font, ref):
AddRef(r['glyph'], font, ref)

def TrimGlyph(font):
needed = []
needed = [ font['glyph_order'][0] ]
for (_, n) in font['cmap'].items():
needed.append(n)
ref = []
Expand Down
2 changes: 1 addition & 1 deletion font-builder/trim-shs-cn.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def AddRef(n, font, ref):
AddRef(r['glyph'], font, ref)

def TrimGlyph(font):
needed = []
needed = [ font['glyph_order'][0] ]
for (_, n) in font['cmap'].items():
needed.append(n)
ref = []
Expand Down
2 changes: 1 addition & 1 deletion font-builder/trim-shs.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def AddRef(n, font, ref):
AddRef(r['glyph'], font, ref)

def TrimGlyph(font):
needed = []
needed = [ font['glyph_order'][0] ]
for (_, n) in font['cmap'].items():
needed.append(n)
ref = []
Expand Down
Binary file modified font/Nowar-Sans-CJK-CL-Medium.ttf
Binary file not shown.
Binary file modified font/Nowar-Sans-CJK-CN-Medium.ttf
Binary file not shown.
Binary file modified font/Nowar-Sans-CJK-SC-Medium.ttf
Binary file not shown.
Binary file modified font/Nowar-Sans-CJK-TC-Medium.ttf
Binary file not shown.
Binary file modified font/Nowar-Sans-CJK-XS-Regular.ttf
Binary file not shown.
Binary file modified font/Nowar-Sans-LCG-Medium.ttf
Binary file not shown.

0 comments on commit 2684cd2

Please sign in to comment.