diff options
author | Karl Berry <karl@freefriends.org> | 2018-10-02 01:04:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-10-02 01:04:41 +0000 |
commit | 60e8c3cc3a1065efdbecf837cd389599f261e588 (patch) | |
tree | 9eb5cd8bacb362129b7ca8becbb87cdad2a77e79 /Master/texmf-dist/doc/fonts | |
parent | b79dd6ae4d3baac68fe5832062f6e35a621bc923 (diff) |
xits (1oct18) [recommit]
git-svn-id: svn://tug.org/texlive/trunk@48798 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts')
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/FONTLOG.txt | 119 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/Makefile | 74 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/README.txt (renamed from Master/texmf-dist/doc/fonts/xits/README) | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/build.py | 13 | ||||
-rwxr-xr-x | Master/texmf-dist/doc/fonts/xits/fontcoverage.py | 58 | ||||
-rwxr-xr-x | Master/texmf-dist/doc/fonts/xits/postprocess.py | 23 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/user-guide.pdf | bin | 33610 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/user-guide.tex | 99 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/xits-math.lfg | 26 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/xits-specimen.pdf | bin | 34211 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/xits-specimen.tex | 149 |
11 files changed, 84 insertions, 488 deletions
diff --git a/Master/texmf-dist/doc/fonts/xits/FONTLOG.txt b/Master/texmf-dist/doc/fonts/xits/FONTLOG.txt index 63c663ac212..3994cc8a32d 100644 --- a/Master/texmf-dist/doc/fonts/xits/FONTLOG.txt +++ b/Master/texmf-dist/doc/fonts/xits/FONTLOG.txt @@ -15,7 +15,7 @@ quality mathematic typesetting with OpenType MATH capable layout systems, like MS Office 2007 and the new TeX engines XeTeX and LuaTeX. XITS development is currently hosted on: -http://github.com/khaledhosny/xits-math +http://github.com/alif-type/xits Feature requests, bug reports and patches should be directed to our issue tracker. @@ -29,42 +29,73 @@ XITS currently provides the following Unicode coverage: IPA Extensions (U+0250-02AF): 91/96 (94.79%) Spacing Modifier Letters (U+02B0-02FF): 62/80 (77.50%) Combining Diacritical Marks (U+0300-036F): 73/112 (65.18%) - Greek and Coptic (U+0370-03FF): 93/134 (69.40%) + Greek and Coptic (U+0370-03FF): 93/135 (68.89%) Cyrillic (U+0400-04FF): 102/256 (39.84%) - Arabic (U+0600-06FF): 30/253 (11.86%) + Arabic (U+0600-06FF): 30/255 (11.76%) Phonetic Extensions (U+1D00-1D7F): 3/128 (2.34%) Phonetic Extensions Supplement (U+1D80-1DBF): 8/64 (12.50%) Latin Extended Additional (U+1E00-1EFF): 8/256 (3.12%) - General Punctuation (U+2000-206F): 70/107 (65.42%) + General Punctuation (U+2000-206F): 70/111 (63.06%) Superscripts and Subscripts (U+2070-209F): 1/42 (2.38%) - Currency Symbols (U+20A0-20CF): 4/26 (15.38%) + Currency Symbols (U+20A0-20CF): 4/32 (12.50%) Combining Diacritical Marks for Symbols (U+20D0-20FF): 24/33 (72.73%) Letterlike Symbols (U+2100-214F): 60/80 (75.00%) - Number Forms (U+2150-218F): 12/58 (20.69%) + Number Forms (U+2150-218F): 12/60 (20.00%) Arrows (U+2190-21FF): 103/112 (91.96%) Mathematical Operators (U+2200-22FF): 256/256 (100.00%) - Miscellaneous Technical (U+2300-23FF): 90/244 (36.89%) + Miscellaneous Technical (U+2300-23FF): 90/256 (35.16%) Control Pictures (U+2400-243F): 1/39 (2.56%) Enclosed Alphanumerics (U+2460-24FF): 62/160 (38.75%) Box Drawing (U+2500-257F): 45/128 (35.16%) Block Elements (U+2580-259F): 8/32 (25.00%) Geometric Shapes (U+25A0-25FF): 96/96 (100.00%) Miscellaneous Symbols (U+2600-26FF): 55/256 (21.48%) - Dingbats (U+2700-27BF): 30/191 (15.71%) + Dingbats (U+2700-27BF): 30/192 (15.62%) Miscellaneous Mathematical Symbols-A (U+27C0-27EF): 45/48 (93.75%) Supplemental Arrows-A (U+27F0-27FF): 16/16 (100.00%) Supplemental Arrows-B (U+2900-297F): 128/128 (100.00%) Miscellaneous Mathematical Symbols-B (U+2980-29FF): 128/128 (100.00%) Supplemental Mathematical Operators (U+2A00-2AFF): 256/256 (100.00%) - Miscellaneous Symbols and Arrows (U+2B00-2BFF): 64/87 (73.56%) + Miscellaneous Symbols and Arrows (U+2B00-2BFF): 64/250 (25.60%) CJK Symbols and Punctuation (U+3000-303F): 2/64 (3.12%) Hiragana (U+3040-309F): 1/93 (1.08%) - Latin Extended-D (U+A720-A7FF): 2/134 (1.49%) + Latin Extended-D (U+A720-A7FF): 2/163 (1.23%) Variation Selectors (U+FE00-FE0F): 1/16 (6.25%) Specials (U+FFF0-FFFF): 1/5 (20.00%) Mathematical Alphanumeric Symbols (U+1D400-1D7FF): 996/996 (100.00%) - Arabic Mathematical Alphabetic Symbols (U+1EE00-1EEFF): 141/143 (98.60%) - + Arabic Mathematical Alphabetic Symbols (U+1EE00-1EEFF): 143/143 (100.00%) +* XITS Math Bold: + Basic Latin (U+0000-007F): 95/95 (100.00%) + Latin-1 Supplement (U+0080-00FF): 96/96 (100.00%) + Latin Extended-A (U+0100-017F): 128/128 (100.00%) + Latin Extended-B (U+0180-024F): 32/208 (15.38%) + IPA Extensions (U+0250-02AF): 89/96 (92.71%) + Spacing Modifier Letters (U+02B0-02FF): 61/80 (76.25%) + Combining Diacritical Marks (U+0300-036F): 72/112 (64.29%) + Greek and Coptic (U+0370-03FF): 93/135 (68.89%) + Cyrillic (U+0400-04FF): 102/256 (39.84%) + Phonetic Extensions (U+1D00-1D7F): 3/128 (2.34%) + Latin Extended Additional (U+1E00-1EFF): 8/256 (3.12%) + General Punctuation (U+2000-206F): 40/111 (36.04%) + Superscripts and Subscripts (U+2070-209F): 1/42 (2.38%) + Currency Symbols (U+20A0-20CF): 4/32 (12.50%) + Combining Diacritical Marks for Symbols (U+20D0-20FF): 22/33 (66.67%) + Letterlike Symbols (U+2100-214F): 54/80 (67.50%) + Number Forms (U+2150-218F): 12/60 (20.00%) + Arrows (U+2190-21FF): 82/112 (73.21%) + Mathematical Operators (U+2200-22FF): 237/256 (92.58%) + Miscellaneous Technical (U+2300-23FF): 15/256 (5.86%) + Control Pictures (U+2400-243F): 1/39 (2.56%) + Enclosed Alphanumerics (U+2460-24FF): 62/160 (38.75%) + Box Drawing (U+2500-257F): 40/128 (31.25%) + Geometric Shapes (U+25A0-25FF): 6/96 (6.25%) + Miscellaneous Symbols (U+2600-26FF): 3/256 (1.17%) + Miscellaneous Mathematical Symbols-A (U+27C0-27EF): 4/48 (8.33%) + Miscellaneous Mathematical Symbols-B (U+2980-29FF): 10/128 (7.81%) + Supplemental Mathematical Operators (U+2A00-2AFF): 58/256 (22.66%) + Latin Extended-D (U+A720-A7FF): 1/163 (0.61%) + Alphabetic Presentation Forms (U+FB00-FB4F): 5/58 (8.62%) + Mathematical Alphanumeric Symbols (U+1D400-1D7FF): 920/996 (92.37%) * XITS: Basic Latin (U+0000-007F): 95/95 (100.00%) Latin-1 Supplement (U+0080-00FF): 96/96 (100.00%) @@ -73,39 +104,38 @@ XITS currently provides the following Unicode coverage: IPA Extensions (U+0250-02AF): 91/96 (94.79%) Spacing Modifier Letters (U+02B0-02FF): 61/80 (76.25%) Combining Diacritical Marks (U+0300-036F): 72/112 (64.29%) - Greek and Coptic (U+0370-03FF): 93/134 (69.40%) + Greek and Coptic (U+0370-03FF): 93/135 (68.89%) Cyrillic (U+0400-04FF): 102/256 (39.84%) Phonetic Extensions (U+1D00-1D7F): 3/128 (2.34%) Phonetic Extensions Supplement (U+1D80-1DBF): 8/64 (12.50%) Latin Extended Additional (U+1E00-1EFF): 8/256 (3.12%) - General Punctuation (U+2000-206F): 46/107 (42.99%) + General Punctuation (U+2000-206F): 46/111 (41.44%) Superscripts and Subscripts (U+2070-209F): 1/42 (2.38%) - Currency Symbols (U+20A0-20CF): 4/26 (15.38%) + Currency Symbols (U+20A0-20CF): 4/32 (12.50%) Combining Diacritical Marks for Symbols (U+20D0-20FF): 24/33 (72.73%) Letterlike Symbols (U+2100-214F): 60/80 (75.00%) - Number Forms (U+2150-218F): 12/58 (20.69%) + Number Forms (U+2150-218F): 12/60 (20.00%) Arrows (U+2190-21FF): 103/112 (91.96%) Mathematical Operators (U+2200-22FF): 256/256 (100.00%) - Miscellaneous Technical (U+2300-23FF): 61/244 (25.00%) + Miscellaneous Technical (U+2300-23FF): 61/256 (23.83%) Control Pictures (U+2400-243F): 1/39 (2.56%) Enclosed Alphanumerics (U+2460-24FF): 62/160 (38.75%) Box Drawing (U+2500-257F): 45/128 (35.16%) Block Elements (U+2580-259F): 8/32 (25.00%) Geometric Shapes (U+25A0-25FF): 96/96 (100.00%) Miscellaneous Symbols (U+2600-26FF): 55/256 (21.48%) - Dingbats (U+2700-27BF): 30/191 (15.71%) + Dingbats (U+2700-27BF): 30/192 (15.62%) Miscellaneous Mathematical Symbols-A (U+27C0-27EF): 45/48 (93.75%) Supplemental Arrows-A (U+27F0-27FF): 16/16 (100.00%) Supplemental Arrows-B (U+2900-297F): 128/128 (100.00%) Miscellaneous Mathematical Symbols-B (U+2980-29FF): 128/128 (100.00%) Supplemental Mathematical Operators (U+2A00-2AFF): 256/256 (100.00%) - Miscellaneous Symbols and Arrows (U+2B00-2BFF): 64/87 (73.56%) + Miscellaneous Symbols and Arrows (U+2B00-2BFF): 64/250 (25.60%) CJK Symbols and Punctuation (U+3000-303F): 2/64 (3.12%) Hiragana (U+3040-309F): 1/93 (1.08%) - Latin Extended-D (U+A720-A7FF): 2/134 (1.49%) + Latin Extended-D (U+A720-A7FF): 2/163 (1.23%) Alphabetic Presentation Forms (U+FB00-FB4F): 5/58 (8.62%) Specials (U+FFF0-FFFF): 1/5 (20.00%) - * XITS Bold: Basic Latin (U+0000-007F): 95/95 (100.00%) Latin-1 Supplement (U+0080-00FF): 96/96 (100.00%) @@ -114,19 +144,19 @@ XITS currently provides the following Unicode coverage: IPA Extensions (U+0250-02AF): 89/96 (92.71%) Spacing Modifier Letters (U+02B0-02FF): 61/80 (76.25%) Combining Diacritical Marks (U+0300-036F): 72/112 (64.29%) - Greek and Coptic (U+0370-03FF): 93/134 (69.40%) + Greek and Coptic (U+0370-03FF): 93/135 (68.89%) Cyrillic (U+0400-04FF): 102/256 (39.84%) Phonetic Extensions (U+1D00-1D7F): 3/128 (2.34%) Latin Extended Additional (U+1E00-1EFF): 8/256 (3.12%) - General Punctuation (U+2000-206F): 40/107 (37.38%) + General Punctuation (U+2000-206F): 40/111 (36.04%) Superscripts and Subscripts (U+2070-209F): 1/42 (2.38%) - Currency Symbols (U+20A0-20CF): 4/26 (15.38%) + Currency Symbols (U+20A0-20CF): 4/32 (12.50%) Combining Diacritical Marks for Symbols (U+20D0-20FF): 22/33 (66.67%) Letterlike Symbols (U+2100-214F): 38/80 (47.50%) - Number Forms (U+2150-218F): 12/58 (20.69%) + Number Forms (U+2150-218F): 12/60 (20.00%) Arrows (U+2190-21FF): 82/112 (73.21%) Mathematical Operators (U+2200-22FF): 237/256 (92.58%) - Miscellaneous Technical (U+2300-23FF): 15/244 (6.15%) + Miscellaneous Technical (U+2300-23FF): 15/256 (5.86%) Control Pictures (U+2400-243F): 1/39 (2.56%) Enclosed Alphanumerics (U+2460-24FF): 62/160 (38.75%) Box Drawing (U+2500-257F): 40/128 (31.25%) @@ -135,9 +165,8 @@ XITS currently provides the following Unicode coverage: Miscellaneous Mathematical Symbols-A (U+27C0-27EF): 4/48 (8.33%) Miscellaneous Mathematical Symbols-B (U+2980-29FF): 10/128 (7.81%) Supplemental Mathematical Operators (U+2A00-2AFF): 58/256 (22.66%) - Latin Extended-D (U+A720-A7FF): 1/134 (0.75%) + Latin Extended-D (U+A720-A7FF): 1/163 (0.61%) Alphabetic Presentation Forms (U+FB00-FB4F): 5/58 (8.62%) - * XITS Italic: Basic Latin (U+0000-007F): 95/95 (100.00%) Latin-1 Supplement (U+0080-00FF): 96/96 (100.00%) @@ -145,20 +174,18 @@ XITS currently provides the following Unicode coverage: Latin Extended-B (U+0180-024F): 32/208 (15.38%) IPA Extensions (U+0250-02AF): 89/96 (92.71%) Spacing Modifier Letters (U+02B0-02FF): 28/80 (35.00%) - Greek and Coptic (U+0370-03FF): 92/134 (68.66%) + Greek and Coptic (U+0370-03FF): 92/135 (68.15%) Cyrillic (U+0400-04FF): 102/256 (39.84%) Latin Extended Additional (U+1E00-1EFF): 8/256 (3.12%) - General Punctuation (U+2000-206F): 23/107 (21.50%) - Currency Symbols (U+20A0-20CF): 4/26 (15.38%) + General Punctuation (U+2000-206F): 23/111 (20.72%) + Currency Symbols (U+20A0-20CF): 4/32 (12.50%) Combining Diacritical Marks for Symbols (U+20D0-20FF): 20/33 (60.61%) Letterlike Symbols (U+2100-214F): 30/80 (37.50%) - Number Forms (U+2150-218F): 12/58 (20.69%) Mathematical Operators (U+2200-22FF): 2/256 (0.78%) Control Pictures (U+2400-243F): 1/39 (2.56%) Enclosed Alphanumerics (U+2460-24FF): 62/160 (38.75%) Box Drawing (U+2500-257F): 40/128 (31.25%) Alphabetic Presentation Forms (U+FB00-FB4F): 5/58 (8.62%) - * XITS Bold Italic: Basic Latin (U+0000-007F): 95/95 (100.00%) Latin-1 Supplement (U+0080-00FF): 96/96 (100.00%) @@ -166,21 +193,19 @@ XITS currently provides the following Unicode coverage: Latin Extended-B (U+0180-024F): 32/208 (15.38%) IPA Extensions (U+0250-02AF): 89/96 (92.71%) Spacing Modifier Letters (U+02B0-02FF): 28/80 (35.00%) - Greek and Coptic (U+0370-03FF): 92/134 (68.66%) + Greek and Coptic (U+0370-03FF): 92/135 (68.15%) Cyrillic (U+0400-04FF): 102/256 (39.84%) Latin Extended Additional (U+1E00-1EFF): 8/256 (3.12%) - General Punctuation (U+2000-206F): 23/107 (21.50%) - Currency Symbols (U+20A0-20CF): 4/26 (15.38%) + General Punctuation (U+2000-206F): 23/111 (20.72%) + Currency Symbols (U+20A0-20CF): 4/32 (12.50%) Combining Diacritical Marks for Symbols (U+20D0-20FF): 1/33 (3.03%) Letterlike Symbols (U+2100-214F): 29/80 (36.25%) - Number Forms (U+2150-218F): 12/58 (20.69%) Mathematical Operators (U+2200-22FF): 2/256 (0.78%) Control Pictures (U+2400-243F): 1/39 (2.56%) Enclosed Alphanumerics (U+2460-24FF): 62/160 (38.75%) Box Drawing (U+2500-257F): 40/128 (31.25%) Alphabetic Presentation Forms (U+FB00-FB4F): 5/58 (8.62%) - Information for Contributors ------------------------------ XITS is released under the OFL 1.1 - http://scripts.sil.org/OFL For information @@ -190,11 +215,25 @@ recommendations regarding why you would want to contribute to the project or make your own version of the font. See the project website for the current master and the various branches: -http://github.com/khaledhosny/xits-math +http://github.com/alif-type/xits ChangeLog ---------- +29 September 2018 (Khaled Hosny) <XITS> Version 1.109 +- Improve Arabic math glyph considerably, they are much usable now. +- Add upright RTL integral alternates. +- Change ‘cv01’ feature for alternate Arabic math glyphs. +- Make the ‘hhea’ ascent/descent/line gap match the ‘OS/2’ typo metrics. +- Don’t set deprecated ForceBold in CFF Private dictionary. +- Fix script position with vertical bar on MS Word. +- Make vertical bar extensible in bold math font. +- Make MS Word linear fraction work better. +- Bundle WOFF fonts. +- Remove glyph overlap, some CFF rasterizers handle it badly. +- Fonts can be build with vanilla FontForge now. +- Builds are reproducible. + 20 Jan 2014 (Khaled Hosny) <XITS> Version 1.108 - Add ‘latn’ and ‘dflt’ languages to math stylistic sets - Add missing substitutions from ‘ss05’, ‘ss06’ and ‘ss07’ features @@ -350,7 +389,7 @@ order.) N: Khaled Hosny E: khaledhosny@eglug.org -W: http://www.khaledhosny.org +W: http://github.com/alif-type D: Engineer - OpenType MATH code N: STIX Fonts project diff --git a/Master/texmf-dist/doc/fonts/xits/Makefile b/Master/texmf-dist/doc/fonts/xits/Makefile deleted file mode 100644 index cb5d52f8c3e..00000000000 --- a/Master/texmf-dist/doc/fonts/xits/Makefile +++ /dev/null @@ -1,74 +0,0 @@ -NAME=xits -VERSION=1.108 - -SRC=sources -DOC=documentation -TOOLS=tools -DOCSRC=$(DOC)/$(DOC)-$(SRC) -DIST=$(NAME)-$(VERSION) - -PY=python -PY3=python3 -BUILD=$(TOOLS)/build.py -POSTPROCESS=$(TOOLS)/postprocess.py -COVERAGE=$(TOOLS)/fontcoverage.py - -FONTS=math mathbold regular bold italic bolditalic -DOCS=user-guide xits-specimen -FEA=xits.fea - -SFD=$(FONTS:%=$(SRC)/$(NAME)-%.sfd) -OTF=$(FONTS:%=$(NAME)-%.otf) -TEX=$(DOCS:%=$(DOCSRC)/%.tex) -PDF=$(DOCS:%=$(DOC)/%.pdf) - -all: otf - -otf: $(OTF) - -xits-math.otf: $(SRC)/xits-math.sfd Makefile $(BUILD) $(POSTPROCESS) - @echo "Building $@" - @$(PY) $(BUILD) $< $@ $(VERSION) - @$(PY) $(POSTPROCESS) $@ - @mv $@.post $@ - -xits-mathbold.otf: $(SRC)/xits-mathbold.sfd Makefile $(BUILD) $(POSTPROCESS) - @echo "Building $@" - @$(PY) $(BUILD) $< $@ $(VERSION) - @$(PY) $(POSTPROCESS) $@ - @mv $@.post $@ - -%.otf: $(SRC)/%.sfd Makefile $(SRC)/$(FEA) $(BUILD) $(POSTPROCESS) - @echo "Building $@" - @$(PY) $(BUILD) $< $@ $(VERSION) $(SRC)/$(FEA) - @$(PY) $(POSTPROCESS) $@ - @mv $@.post $@ - -doc: $(PDF) - -$(DOC)/%.pdf: $(DOCSRC)/%.tex - @echo "Building $@" - @context --nonstopmode --result=$@ $< 1>/dev/null - -FONTLOG.txt: FONTLOG.txt.in $(COVERAGE) $(OTF) - @echo "Generating $@" - @$(PY3) $(COVERAGE) tools/Blocks.txt $< $(OTF) $@ - -dist: $(OTF) $(PDF) FONTLOG.txt - @echo "Making dist tarball" - @mkdir -p $(DIST)/$(SRC) - @mkdir -p $(DIST)/$(DOC) - @mkdir -p $(DIST)/$(DOCSRC) - @mkdir -p $(DIST)/$(TOOLS) - @cp $(SFD) $(DIST)/$(SRC) - @cp $(SRC)/$(FEA) $(DIST)/$(SRC) - @cp $(OTF) $(DIST) - @cp $(POSTPROCESS) $(BUILD) $(COVERAGE) $(DIST)/$(TOOLS) - @cp -r $(PDF) $(DIST)/$(DOC) - @cp -r $(TEX) $(DIST)/$(DOCSRC) - @cp -r Makefile OFL-FAQ.txt OFL.txt FONTLOG.txt tex $(DIST) - @cp README.md $(DIST)/README.txt - @zip -r $(DIST).zip $(DIST) - -clean: - @rm -rf $(OTF) $(DIST) $(DIST).zip diff --git a/Master/texmf-dist/doc/fonts/xits/README b/Master/texmf-dist/doc/fonts/xits/README.txt index 4611489aa31..3a7c54b228f 100644 --- a/Master/texmf-dist/doc/fonts/xits/README +++ b/Master/texmf-dist/doc/fonts/xits/README.txt @@ -20,18 +20,17 @@ Developers ---------- The preferred way for modifying the fonts is by editing the SFD files under -`sources`, using [Sorts Mill Tools][3] or [FontForge][4]. When submitting +`sources`, using [FontForge][3] (or derivatives). When submitting patches, please make sure they are as clean as possible, avoiding any unrelated or unnecessary changes. To build the fonts from source you need a make program (only GNU Make is -tested), either [Sorts Mill Tools][3] (preferred) or [FontForge][4] with Python -support, and [FontTools][5]. +tested), [FontForge][3] (or derivatives) with Python support, and +[FontTools][4]. [1]: http://www.stixfonts.org [2]: http://scripts.sil.org/OFL -[3]: http://sortsmill.bitbucket.org/ -[4]: http://fontforge.org/ -[5]: http://github.com/behdad/fonttools +[3]: http://fontforge.org/ +[4]: http://github.com/behdad/fonttools diff --git a/Master/texmf-dist/doc/fonts/xits/build.py b/Master/texmf-dist/doc/fonts/xits/build.py deleted file mode 100644 index 1575ec2ef9c..00000000000 --- a/Master/texmf-dist/doc/fonts/xits/build.py +++ /dev/null @@ -1,13 +0,0 @@ -import sys -try: - from sortsmill import ffcompat as fontforge -except ImportError: - import fontforge - -font = fontforge.open(sys.argv[1]) - -if len(sys.argv) > 4: - font.mergeFeature(sys.argv[4]) - -font.version = sys.argv[3] -font.generate(sys.argv[2], flags=("round", "opentype")) diff --git a/Master/texmf-dist/doc/fonts/xits/fontcoverage.py b/Master/texmf-dist/doc/fonts/xits/fontcoverage.py deleted file mode 100755 index c17fde46422..00000000000 --- a/Master/texmf-dist/doc/fonts/xits/fontcoverage.py +++ /dev/null @@ -1,58 +0,0 @@ -import sys -import unicodedata -from fontTools.ttLib import TTFont - -# Unicode blocks file from: http://www.unicode.org/Public/UNIDATA/Blocks.txt - -blocksfile = open(sys.argv[1], "r") -blocks = [ ] -for line in blocksfile.readlines(): - if not (line.startswith("#") or line == "\n"): - start, end = line.split("; ")[0].split("..") - name = line.split("; ")[1].strip() - blocks.append((name, (start, end))) -blocksfile.close() - -logfile = open(sys.argv[2], "r") -log = logfile.read() -logfile.close() - -for fontfile in sys.argv[3:-1]: - font = TTFont(fontfile) - cmap = font['cmap'].getcmap(3, 10) - if cmap is None: - cmap = font['cmap'].getcmap(3, 1) - found = [ ] - - for block in blocks: - t = f = 0 - name = block[0] - start, end = int(block[1][0], 16), int(block[1][1], 16) - i = start - while (i <= end): - category = unicodedata.category(chr(i)) - if category != "Cc" and category!= "Cn": - if i in cmap.cmap: - f += 1 - t += 1 - i += 1 - if f: - found.append((name, (t,f))) - - fullname = str(font['name'].getName(4, 1, 0).string, encoding='ascii') - coverage = "" - coverage += "* %s:\n" %fullname - for f in found: - for b in blocks: - if b[0] == f[0]: - name = f[0] - start, end = b[1] - total, present = f[1] - percent = present/total*100 - coverage += " %s (U+%s-%s): %s/%s (%.2f%%)\n" %(name, start, end, present, total, percent) - - log = log.replace("%%{%s}" %fullname, coverage) - -outfile = open(sys.argv[-1], "w") -outfile.write(log) -outfile.close() diff --git a/Master/texmf-dist/doc/fonts/xits/postprocess.py b/Master/texmf-dist/doc/fonts/xits/postprocess.py deleted file mode 100755 index e2f47fabb00..00000000000 --- a/Master/texmf-dist/doc/fonts/xits/postprocess.py +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env python -import sys -from fontTools import ttLib - -font = ttLib.TTFont(sys.argv[1]) - -MS_Platform_ID = 3 -MS_Enc_ID = 1 -MS_Lang_US_ID = 0x409 - -FullName_ID = 4 - -name = font["name"] -cff = font["CFF "] - -psname = cff.cff.fontNames[0] - -# set MS full name to psname -# per name table spec -fullname = name.getName(FullName_ID, MS_Platform_ID, MS_Enc_ID, MS_Lang_US_ID) -fullname.string = psname.encode("utf_16_be") - -font.save(sys.argv[1] + ".post") diff --git a/Master/texmf-dist/doc/fonts/xits/user-guide.pdf b/Master/texmf-dist/doc/fonts/xits/user-guide.pdf Binary files differdeleted file mode 100644 index a7914653bc6..00000000000 --- a/Master/texmf-dist/doc/fonts/xits/user-guide.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/fonts/xits/user-guide.tex b/Master/texmf-dist/doc/fonts/xits/user-guide.tex deleted file mode 100644 index 80d231c3cd6..00000000000 --- a/Master/texmf-dist/doc/fonts/xits/user-guide.tex +++ /dev/null @@ -1,99 +0,0 @@ -\setupbodyfont[xits] -\setupinteraction[state=start] - -\useURL [ms-font-install] [http://www.microsoft.com/typography/truetypeinstall.mspx] [] [Installing fonts on Windows] -\starttext - -\section{Introduction} - -XITS is Times-like font for scientific publishing with support for mathematical -typesetting. It has wide coverage of Latin, Greek and Cyrillic scripts, as -well as extensive coverage of Unicode symbols used in mathematics and other -fields of science. XITS supports also proper mathematical typesetting and can -be used to typeset complex mathematical equations in modern \TEX\ engines, -namely \LUATEX\ and \XETEX, as well as Microsoft Office starting from 2007 -version. - -XITS is available as an OpenType font, in four styles; regular, bold, italic -and bold italics, besides the maths font. - -\section{Font features} - -XITS supports the following OpenType features: - -\starttable[|lT|l|] -\HL -\NC feature\NC Description \NC\SR -\HL -\NC \Use{2}[I]{All fonts} \MR -\NC kern \NC Kerning \NC\FR -\NC liga \NC Ligatures \NC\MR -\NC onum \NC Oldstyle numbers \NC\MR -\NC frac \NC Diagonal fractions \NC\MR -\NC \Use{2}[I]{The maths font, spports additional features} \MR -\NC ss01 \NC Mathematical Calligraphic Alphabet \NC\MR -\NC ss02 \NC Mathematical Greek Sans Serif Alphabet \NC\MR -\NC ss03 \NC Mathematical Italic Sans Serif Digits \NC\MR -\NC ss04 \NC Mathematical Bold Monospace Digits \NC\MR -\NC ss05 \NC Mathematical Bold Double-Struck Alphabet \NC\MR -\NC ss06 \NC Mathematical Italic Double-Struck Alphabet \NC\MR -\NC ss07 \NC Mathematical Bold Italic Double-Struck Alphabet \NC\MR -\NC ss08 \NC Upright Integrals \NC\LR -\NC ss09 \NC Negated Symbols With Vertical Stroke \NC\MR -\HL -\stoptable - - -\section{Installation} - -\subsection{\CONTEXT} -\CONTEXT\ MkIV are needed for using the math font, text fonts can be used with -either MkIV or MkII with \XETEX\ engine, MkII with \PDFTEX\ is not supported. - -Recent versions of \CONTEXT\ already have typescripts for XITS, so just -installing the fonts into TEXMF tree is enough. - -\subsection{\LATEX} -A modern \TEX\ engine with Unicode and OpenType support is needed, namely -\LUATEX\ or \XETEX. In addition to {\ss fontspec} package, {\ss unicode-math} -is needed for using XITS fonts in math mode. - -If you are using \LUATEX\ then you can either install the fonts OS wide or in -TEXMF tree. If you are using \XeTeX\ then you need to either install fonts OS -wide, or adapt your {\ss fontconfig} configuration to look for for fonts -installed under TEXMF tree, otherwise you will not be able to access fonts by -font name. - -\subsection{MS Office} -MS Office 2007 or newer is required, please refer to Microsoft’s -\from[ms-font-install] for general font installation instruction. - -\section{Usage} - -\subsection{\LATEX} - -\subsubsection{Examples} -\startTEX -\documentclass{article} -\usepackage{unicode-math} -\setmainfont{XITS} -\setmathfont{XITS Math} - -\begin{document} -Text $x+y=\sqrt{z}$ -\end{document} -\stopTEX - -\subsection{\CONTEXT} - -\subsubsection{Examples} - -\startTEX -\setupbodyfont[xits] - -\starttext -Text $x+y=\sqrt{z}$ -\stoptext -\stopTEX - -\stoptext diff --git a/Master/texmf-dist/doc/fonts/xits/xits-math.lfg b/Master/texmf-dist/doc/fonts/xits/xits-math.lfg deleted file mode 100644 index 0d604e3019a..00000000000 --- a/Master/texmf-dist/doc/fonts/xits/xits-math.lfg +++ /dev/null @@ -1,26 +0,0 @@ --- \setupbodyfont[xits] --- --- \starttext --- $ABC$ $\cal ABC$ $\mathalternate{cal}\cal ABC$ --- \stoptext - -return { - name = "xits-math", - version = "1.00", - comment = "Goodies that complement xits (by Khaled Hosny).", - author = "Hans Hagen", - copyright = "ConTeXt development team", - mathematics = { - alternates = { - cal = { feature = 'ss01', value = 1, comment = "Mathematical Calligraphic Alphabet" }, - greekssup = { feature = 'ss02', value = 1, comment = "Mathematical Greek Sans Serif Alphabet" }, - greekssit = { feature = 'ss03', value = 1, comment = "Mathematical Italic Sans Serif Digits" }, - monobfnum = { feature = 'ss04', value = 1, comment = "Mathematical Bold Monospace Digits" }, - mathbbbf = { feature = 'ss05', value = 1, comment = "Mathematical Bold Double-Struck Alphabet" }, - mathbbit = { feature = 'ss06', value = 1, comment = "Mathematical Italic Double-Struck Alphabet" }, - mathbbbi = { feature = 'ss07', value = 1, comment = "Mathematical Bold Italic Double-Struck Alphabet" }, - upint = { feature = 'ss08', value = 1, comment = "Upright Integrals" }, - vertnot = { feature = 'ss09', value = 1, comment = "Negated Symbols With Vertical Stroke" }, - }, - } -} diff --git a/Master/texmf-dist/doc/fonts/xits/xits-specimen.pdf b/Master/texmf-dist/doc/fonts/xits/xits-specimen.pdf Binary files differdeleted file mode 100644 index 369a69f60c0..00000000000 --- a/Master/texmf-dist/doc/fonts/xits/xits-specimen.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/fonts/xits/xits-specimen.tex b/Master/texmf-dist/doc/fonts/xits/xits-specimen.tex deleted file mode 100644 index 1b9bb930a8e..00000000000 --- a/Master/texmf-dist/doc/fonts/xits/xits-specimen.tex +++ /dev/null @@ -1,149 +0,0 @@ -\usetypescriptfile[type-xits] -\usetypescript[xits] -\setupbodyfont[xits] - -\setuplayout[header=0pt,footer=0pt] -\setupformulas[spaceafter={2*big}] - -\starttext - -\midaligned{$\bfd\frak XITS\ Math$}\blank[4*big] - -\startformula -\pi(n) = \sum^{n}_{m=2}\left\lfloor\biggl(\sum^{m-1}_{k=1}\bigl\lfloor(m/k)\big/\lceil m/k\rceil\bigr\rfloor\biggr)^{-1}\right\rfloor -\stopformula - -\startformula -\pi(n) = \sum^{n}_{k=2}\left\lfloor\phi(k) \over k-1\right\rfloor -\stopformula - -\startformula -1+\left(1\over1-x^2\right)^3 -\stopformula - -\startformula -1+\left(1\over1-{{{x^2}\over{y^3}}\over{z^4}}\right)^3 -\stopformula - -\startformula -{a+1\over b}\bigg/{c+1\over d} -\stopformula - -\startformula -\biggl({\partial^{2} \over \partial x^{2}} + {\partial^{2} \over \partial y^{2}}\biggr) {\bigl\vert\phi(x+iy)\bigr\vert}^2 -\stopformula - -\startformula -\sum_{\scriptstyle0\le i\le m\atop\scriptstyle0<j<n}P(i,j) -\stopformula - -\startformula -\int_0^3 9x^2 + 2x + 4\, dx = 3x^3 + x^2 + 4x + C \Big]_0^3 = 102 -\stopformula - -\startformula -e^{x+iy} = e^x(\cos y + i\sin y) -\stopformula - -\startformula -x = {-b \pm \sqrt{b^2 - 4ac} \over 2a} -\stopformula - -\startformula - f(x) = - \startmathcases - \NC x, \MC \text{if } 0 \le x \le \frac12 \NR - \NC 1-x ,\MC \text{if } \frac12 \le x \le 1 \NR - \stopmathcases -\stopformula - -\startformula -\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+x}}}}}}} -\stopformula - -\startformula -{\bf S^{\rm -1} TS} = {\bf dg}(\omega_1,\ldots,\omega_n) = {\bf \Lambda} -\stopformula - -\startformula -\Pr(\,m=n\mid m+n=3\,) -\stopformula - -\startformula -\sin 18^\circ = {1\over 4} (\sqrt{5}-1) -\stopformula - -\startformula -k=1.38 \times 10^{-16}\,\rm erg/^\circ K -\stopformula - -\startformula -\bar\Phi \subset NL^*_1/N=\bar L^*_1\subseteq\cdots\subseteq NL^*_n/N=\bar L^*_n -\stopformula - -\startformula -\textstyle I(\lambda)=\iint_D g(x,y)e^{i\lambda h(x,y)}\,dx\, dy -\stopformula - -\startformula -\textstyle\int^1_0\cdots\int^1_0 f(x_1,\ldots,x_n)\, dx_1\ldots dx_n -\stopformula - -\startformula -x_{2m} \equiv \cases{Q(X^2_m - P_2W^2_m)-2S^2 & ($m$ odd)\cr - &\cr - P^2_2(X^2_m - P_2W^2_m)-2S^2 & ($m$ even)} \pmod N -\stopformula - -\startformula -(1+x_1z+x^2_1z^2+\cdots\,)\ldots(1+x_nz+x^2_nz^2+\cdots\,)={1\over(1-x_1z)\ldots(1-x_nz)} -\stopformula - -\startformula -\prod_{j\ge 0}\biggl(\sum_{k\ge0}a_{jk}z^k\biggr) = -\sum_{n\ge 0} z^n \Biggl(\sum_{k_0,k_1,\ldots\ge 0\atop k_0+k_1+\cdots=n} a_{0k_0}a_{1k_1}\ldots\,\Biggr) -\stopformula - -\startformula -\sum^\infty_{n=0} a_nz^n\qquad\hbox{converges if}\qquad|z|\lt\left(\limsup_{n\to\infty} \root n \of {|a-n|}\right) -\stopformula - -\startformula -{f(x+\Delta x)-f(x)\over\Delta x}\to f'(x)\qquad\hbox{as $\Delta x\to 0$} -\stopformula - -\startformula -\Vert u_i\Vert = 1, \qquad u_i\cdot u_j = 0 \quad\hbox{if $i\neq j$} -\stopformula - -\startformula -\prod_{k\ge0}{1\over(1-q^kz)}=\sum_{n\ge0}z^n\bigg/\!\!\prod_{1\le k\le n}(1-q^k).\eqno(16') -\stopformula - -\startformula -\eqalign{T(n)\le T(2^{\lceil\lg n\rceil})&\le c(3^{\lceil\lg n\rceil}-2^{\lceil\lg n\rceil})\cr - &< 3c\cdot3^{\lg n}\cr - &= 3cn^{\lg n}} -\stopformula - -\startformula -\eqalign{P(x)&=a_0+a_1x+a_2x^2+\cdots+a_nx^2,\cr - P(-x)&=a_0-a_1x+a_2x^2-\cdots+(-1)^na_nx^2.} -\eqno(30) -\stopformula - -\startformula -\leqalignno{\gcd(u,v)&=\gcd(v,u); &(9)\cr - \gcd(u,v)&=\gcd(-u,v).&(10)} -\stopformula - -\startformula -\reqalignno{ -\biggl(\int^\infty_{-\infty}e^{-x^2}dx\biggr)^2 & =\int^\infty_{-\infty}\int^\infty_{-\infty}e^{-(x^2+y^2)}\,dx\,dy\cr - & =\int^{2\pi}_0\int^\infty_0 e^{-r^2} r\,dr\,d\theta\cr - & =\int^{2\pi}_0\biggl(-{e^{-r^2}\over2}\bigg|^{r=\infty}_{r=0}\,\biggr)\,d\theta\cr - & =\pi.&(11) -} -\stopformula - -\stoptext |