Skip to content

Commit

Permalink
OTF, WOFF: Do not strip PUA glyphs
Browse files Browse the repository at this point in the history
This is to improve binary reproducibility by avoiding
modification on the fly.

The PUA glyphs should not take too much space,
as they are all references.

They could not be removed from the font sources, BTW,
as LaTeX virtual fonts still rely on them.

* scripts/gen-otf.pe:
* scripts/gen-test-otf.pe:
* scripts/gen-woff.pe:
  - Remove rules for clearing PUA glyphs.
  • Loading branch information
thep committed Sep 17, 2018
1 parent 1ecebfc commit 087df1a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
18 changes: 18 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
2018-09-17 Theppitak Karoonboonyanan <theppitak@gmail.com>

OTF, WOFF: Do not strip PUA glyphs

This is to improve binary reproducibility by avoiding
modification on the fly.

The PUA glyphs should not take too much space,
as they are all references.

They could not be removed from the font sources, BTW,
as LaTeX virtual fonts still rely on them.

* scripts/gen-otf.pe:
* scripts/gen-test-otf.pe:
* scripts/gen-woff.pe:
- Remove rules for clearing PUA glyphs.

2018-07-26 Theppitak Karoonboonyanan <theppitak@gmail.com>

LaTeX: install OpenType fonts for XeTeX
Expand Down
5 changes: 0 additions & 5 deletions scripts/gen-otf.pe
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
Open($1)
Select(0uf701,0uf704)
SelectMore(0uf705,0uf709)
SelectMore(0uf710,0uf717)
SelectMore(0uf718,0uf71A)
Clear()
Generate($1:t:r + ".otf")
5 changes: 0 additions & 5 deletions scripts/gen-test-otf.pe
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
Open($1)
Select(0uf701,0uf704)
SelectMore(0uf705,0uf709)
SelectMore(0uf710,0uf717)
SelectMore(0uf718,0uf71A)
Clear()
SetFontNames("OTF"+$fontname, "OTF"+$familyname, "OTF"+$fullname)
pref_fam=GetTTFName(0x409, 16)
if (pref_fam != "")
Expand Down
5 changes: 0 additions & 5 deletions scripts/gen-woff.pe
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
Open($1)
Select(0uf701,0uf704)
SelectMore(0uf705,0uf709)
SelectMore(0uf710,0uf717)
SelectMore(0uf718,0uf71A)
Clear()
Generate($1:t:r + ".woff")

0 comments on commit 087df1a

Please sign in to comment.