Skip to content
Permalink
Browse files

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.
  • Loading branch information...
thep committed Sep 17, 2018
1 parent 1ecebfc commit 087df1a66550b547897d0094add070ff4a020a08
Showing with 18 additions and 15 deletions.
  1. +18 −0 ChangeLog
  2. +0 −5 scripts/gen-otf.pe
  3. +0 −5 scripts/gen-test-otf.pe
  4. +0 −5 scripts/gen-woff.pe
@@ -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
@@ -1,7 +1,2 @@
Open($1)
Select(0uf701,0uf704)
SelectMore(0uf705,0uf709)
SelectMore(0uf710,0uf717)
SelectMore(0uf718,0uf71A)
Clear()
Generate($1:t:r + ".otf")
@@ -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 != "")
@@ -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.
You can’t perform that action at this time.