diff options
author | Karl Berry <karl@freefriends.org> | 2010-10-26 23:30:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-10-26 23:30:05 +0000 |
commit | 490bf06b4381ebbc20abf68cc21217ee0078bf98 (patch) | |
tree | e0f4d0972214fb6f50108388e443689bbae4fb6f /Master/texmf-dist/doc/fonts/xits | |
parent | 87efe77933dfab1c0bf1c1ccee34cae604fb14f3 (diff) |
xits (26oct10)
git-svn-id: svn://tug.org/texlive/trunk@20217 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/xits')
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/FONTLOG | 152 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/FONTLOG.txt | 277 | ||||
-rwxr-xr-x | Master/texmf-dist/doc/fonts/xits/build.py | 50 | ||||
-rwxr-xr-x | Master/texmf-dist/doc/fonts/xits/fontcoverage.py | 254 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/type-xits.tex | 17 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/user-guide.pdf | bin | 24627 -> 26854 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/xits/user-guide.tex | 56 |
7 files changed, 619 insertions, 187 deletions
diff --git a/Master/texmf-dist/doc/fonts/xits/FONTLOG b/Master/texmf-dist/doc/fonts/xits/FONTLOG deleted file mode 100644 index 5172ce284a4..00000000000 --- a/Master/texmf-dist/doc/fonts/xits/FONTLOG +++ /dev/null @@ -1,152 +0,0 @@ - -FONTLOG for XITS -------------------- -This file provides detailed information on the XITS font software. -This information should be distributed along with the XITS fonts -and any derivative works. - - -Basic Font Information --------------------------- -XITS is a Times-like typeface for mathematical and scientific publishing, -based on STIX fonts project. The main mission of XITS is to provide a version -of STIX fonts enriched with the OpenType MATH extension, making it suitable -for high 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 - -Feature requests, bug reports and patches should be directed to our issue -tracker. - -XITS currently provides the following Unicode coverage: -Alphabetic Presentation Forms: 5/80 (6.25%) -Arrows: 103/112 (91.96%) -Basic Latin: 95/128 (74.22%) -Block Elements: 8/32 (25.00%) -Box Drawing: 45/128 (35.16%) -CJK Symbols and Punctuation: 2/64 (3.12%) -Combining Diacritical Marks: 71/112 (63.39%) -Combining Diacritical Marks for Symbols: 24/48 (50.00%) -Control Pictures: 1/64 (1.56%) -Currency Symbols: 4/48 (8.33%) -Cyrillic: 102/256 (39.84%) -Dingbats: 30/192 (15.62%) -Enclosed Alphanumerics: 62/160 (38.75%) -General Punctuation: 46/112 (41.07%) -Geometric Shapes: 96/96 (100.00%) -Greek and Coptic: 93/144 (64.58%) -Hiragana: 1/96 (1.04%) -IPA Extensions: 91/96 (94.79%) -Latin Extended Additional: 8/256 (3.12%) -Latin Extended-A: 128/128 (100.00%) -Latin Extended-B: 37/208 (17.79%) -Latin Extended-D: 1/224 (0.45%) -Latin-1 Supplement: 96/128 (75.00%) -Letterlike Symbols: 60/80 (75.00%) -Mathematical Alphanumeric Symbols: 994/1024 (97.07%) -Mathematical Operators: 256/256 (100.00%) -Miscellaneous Mathematical Symbols-A: 43/48 (89.58%) -Miscellaneous Mathematical Symbols-B: 128/128 (100.00%) -Miscellaneous Symbols: 54/256 (21.09%) -Miscellaneous Symbols and Arrows: 64/256 (25.00%) -Miscellaneous Technical: 90/256 (35.16%) -Number Forms: 12/64 (18.75%) -Phonetic Extensions: 3/128 (2.34%) -Phonetic Extensions Supplement: 6/64 (9.38%) -Spacing Modifier Letters: 60/80 (75.00%) -Specials: 1/16 (6.25%) -Superscripts and Subscripts: 1/48 (2.08%) -Supplemental Arrows-A: 16/16 (100.00%) -Supplemental Arrows-B: 128/128 (100.00%) -Supplemental Mathematical Operators: 256/256 (100.00%) - - -Information for Contributors ------------------------------- -XITS is released under the OFL 1.1 - http://scripts.sil.org/OFL -For information on what you're allowed to change or modify, consult the -OFL-1.1.txt and OFL-FAQ.txt files. The OFL-FAQ also gives a very general -rationale and various 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 - - -ChangeLog ----------- -15 Jul 2010 (Khaled Hosny) <XITS> Version 1.006 -- More italic correction to double struck alphabet -- Misc accents cleanup -- Remove wide variants of spacing accents -- Fine tuning of Latin and Greek top accent positioning -- Revise math constants, based on a default rule thickness of 66 instead of 50 -- Draw a .notdef glyph instead of being empty, in the math font -- Make the bar glyph descend below the base line in the math font - -08 Jul 2010 (Khaled Hosny) <XITS> Version 1.005 -- Fix wrong style for italic double struck symbols -- Cover all small i and j letters in 'dtls' feature -- Add top accent position for math serif Greek -- Add vertical composition for floor and ceiling -- Increase RadicalDegreeBottomRaisePercent -- Add math bold digamma -- Add math bold, italic and bold italic double-struck stylistic sets -- Add math bold monospace digits stylistic set -- Add math italic sans-serif digits stylistic set -- Add math sans-serif Greek stylistic set - -11 Jun 2010 (Khaled Hosny) <XITS> Version 1.004 -- Fix the mysterious MS Office 2007 composition bug - -10 Jun 2010 (Khaled Hosny) <XITS> Version 1.003 -- Set OS/2 version to 4 -- Add italic correction to math italic Greek and Latin -- Remove redundant math glyphs from text fonts -- Add 'dtls' feature and bold dotless i and j -- Add bold mathematical calligraphic alphabet -- Add mathematical calligraphic alphabet - -6 Jun 2010 (Khaled Hosny) <XITS> Version 1.002 -- Make OS/2 ascender/descender absolute values -- Move GSUB code to a font feature file -- Merge oldstyle figures from STIXNonUni* fonts -- Import the rest of STIXGeneral fonts - -4 Jun 2010 (Khaled Hosny) <XITS Math> Version 1.001 -- Edit various font metadata -- Initial release of "XITS Math" -- Add sub/superscript variants of primes -- Fix displaced \widehat and sisters -- Add italic correction, not all glyphs yet -- Fix the vertical positions of \[over|under]brace -- Ask FontForge to guess the BlueValues: -- Add 'frac' feature for text fractions -- Add oldstyle numbers -- Add Horizontal construction -- Add Vertical construction -- Add horizontal top accent position values -- Mark extended shapes -- Add horizontal variants -- Add vertical variants -- Add MATH table - - -Acknowledgements -------------------------- -If you make modifications be sure to add your name (N), email (E), web-address -(W) and description (D). This list is sorted by last name in alphabetical -order.) - -N: Khaled Hosny -E: khaledhosny@eglug.org -W: http://www.khaledhosny.org -D: Engineer - OpenType MATH code - -N: STIX Fonts project -E: -W: http://www.stixfonts.org -D: Original authors - diff --git a/Master/texmf-dist/doc/fonts/xits/FONTLOG.txt b/Master/texmf-dist/doc/fonts/xits/FONTLOG.txt new file mode 100644 index 00000000000..45b3487d043 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/xits/FONTLOG.txt @@ -0,0 +1,277 @@ + +FONTLOG for XITS +------------------- +This file provides detailed information on the XITS font software. +This information should be distributed along with the XITS fonts +and any derivative works. + + +Basic Font Information +-------------------------- +XITS is a Times-like typeface for mathematical and scientific publishing, +based on STIX fonts project. The main mission of XITS is to provide a version +of STIX fonts enriched with the OpenType MATH extension, making it suitable +for high 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 + +Feature requests, bug reports and patches should be directed to our issue +tracker. + +XITS currently provides the following Unicode coverage: +* XITS Math: + 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): 37/208 (17.79%) + 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): 71/112 (63.39%) + Greek and Coptic (U+0370-03FF): 93/134 (69.40%) + Cyrillic (U+0400-04FF): 102/256 (39.84%) + Phonetic Extensions (U+1D00-1D7F): 3/128 (2.34%) + Phonetic Extensions Supplement (U+1D80-1DBF): 6/64 (9.38%) + Latin Extended Additional (U+1E00-1EFF): 8/256 (3.12%) + General Punctuation (U+2000-206F): 70/107 (65.42%) + Superscripts and Subscripts (U+2070-209F): 1/34 (2.94%) + Currency Symbols (U+20A0-20CF): 4/22 (18.18%) + 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/54 (22.22%) + Arrows (U+2190-21FF): 103/112 (91.96%) + Mathematical Operators (U+2200-22FF): 256/256 (100.00%) + Miscellaneous Technical (U+2300-23FF): 90/232 (38.79%) + 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): 54/191 (28.27%) + Dingbats (U+2700-27BF): 30/174 (17.24%) + Miscellaneous Mathematical Symbols-A (U+27C0-27EF): 43/44 (97.73%) + 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/82 (78.05%) + 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): 1/114 (0.88%) + Alphabetic Presentation Forms (U+FB00-FB4F): 5/58 (8.62%) + Specials (U+FFF0-FFFF): 1/5 (20.00%) + Mathematical Alphanumeric Symbols (U+1D400-1D7FF): 996/996 (100.00%) + +* XITS Regular: + 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): 37/208 (17.79%) + IPA Extensions (U+0250-02AF): 91/96 (94.79%) + Spacing Modifier Letters (U+02B0-02FF): 60/80 (75.00%) + Combining Diacritical Marks (U+0300-036F): 71/112 (63.39%) + Greek and Coptic (U+0370-03FF): 93/134 (69.40%) + Cyrillic (U+0400-04FF): 102/256 (39.84%) + Phonetic Extensions (U+1D00-1D7F): 3/128 (2.34%) + Phonetic Extensions Supplement (U+1D80-1DBF): 6/64 (9.38%) + Latin Extended Additional (U+1E00-1EFF): 8/256 (3.12%) + General Punctuation (U+2000-206F): 46/107 (42.99%) + Superscripts and Subscripts (U+2070-209F): 1/34 (2.94%) + Currency Symbols (U+20A0-20CF): 4/22 (18.18%) + 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/54 (22.22%) + Arrows (U+2190-21FF): 103/112 (91.96%) + Mathematical Operators (U+2200-22FF): 256/256 (100.00%) + Miscellaneous Technical (U+2300-23FF): 61/232 (26.29%) + 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): 54/191 (28.27%) + Dingbats (U+2700-27BF): 30/174 (17.24%) + Miscellaneous Mathematical Symbols-A (U+27C0-27EF): 43/44 (97.73%) + 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): 254/256 (99.22%) + Miscellaneous Symbols and Arrows (U+2B00-2BFF): 64/82 (78.05%) + 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): 1/114 (0.88%) + 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%) + 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): 60/80 (75.00%) + Combining Diacritical Marks (U+0300-036F): 71/112 (63.39%) + Greek and Coptic (U+0370-03FF): 93/134 (69.40%) + 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%) + Superscripts and Subscripts (U+2070-209F): 1/34 (2.94%) + Currency Symbols (U+20A0-20CF): 4/22 (18.18%) + Combining Diacritical Marks for Symbols (U+20D0-20FF): 22/33 (66.67%) + Letterlike Symbols (U+2100-214F): 43/80 (53.75%) + Number Forms (U+2150-218F): 12/54 (22.22%) + Arrows (U+2190-21FF): 82/112 (73.21%) + Mathematical Operators (U+2200-22FF): 233/256 (91.02%) + Miscellaneous Technical (U+2300-23FF): 15/232 (6.47%) + 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/191 (1.57%) + Miscellaneous Mathematical Symbols-A (U+27C0-27EF): 4/44 (9.09%) + Miscellaneous Mathematical Symbols-B (U+2980-29FF): 10/128 (7.81%) + Supplemental Mathematical Operators (U+2A00-2AFF): 57/256 (22.27%) + 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%) + 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): 27/80 (33.75%) + Greek and Coptic (U+0370-03FF): 92/134 (68.66%) + 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/22 (18.18%) + 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/54 (22.22%) + 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%) + 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): 27/80 (33.75%) + Greek and Coptic (U+0370-03FF): 92/134 (68.66%) + 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/22 (18.18%) + 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/54 (22.22%) + 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 on what you're allowed to change or modify, consult the +OFL-1.1.txt and OFL-FAQ.txt files. The OFL-FAQ also gives a very general +rationale and various 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 + + +ChangeLog +---------- +25 Oct 2010 (Khaled Hosny) <XITS> Version 1.007 +- Add TopAccentHorizontal position to U+00B7, U+0131, U+0237, U+203E, U+22C5 +- Add spaces and control characters U+0000-001F, U+2000-200F, U+2028-202F +- Tune script positioning for display integrals +- Disable smaller that text size integrals +- Rename fj ligature glyph to "f_j" for PDF search +- Assign un-encoded glyphs PUA code points +- Use U+23B7 slot for the glyph uni221A.base +- Change integral glyphs name suffixes to "small" and "display" + +15 Jul 2010 (Khaled Hosny) <XITS> Version 1.006 +- More italic correction to double struck alphabet +- Misc accents cleanup +- Remove wide variants of spacing accents +- Fine tuning of Latin and Greek top accent positioning +- Revise math constants, based on a default rule thickness of 66 instead of 50 +- Draw a .notdef glyph instead of being empty, in the math font +- Make the bar glyph descend below the base line in the math font + +08 Jul 2010 (Khaled Hosny) <XITS> Version 1.005 +- Fix wrong style for italic double struck symbols +- Cover all small i and j letters in 'dtls' feature +- Add top accent position for math serif Greek +- Add vertical composition for floor and ceiling +- Increase RadicalDegreeBottomRaisePercent +- Add math bold digamma +- Add math bold, italic and bold italic double-struck stylistic sets +- Add math bold monospace digits stylistic set +- Add math italic sans-serif digits stylistic set +- Add math sans-serif Greek stylistic set + +11 Jun 2010 (Khaled Hosny) <XITS> Version 1.004 +- Fix the mysterious MS Office 2007 composition bug + +10 Jun 2010 (Khaled Hosny) <XITS> Version 1.003 +- Set OS/2 version to 4 +- Add italic correction to math italic Greek and Latin +- Remove redundant math glyphs from text fonts +- Add 'dtls' feature and bold dotless i and j +- Add bold mathematical calligraphic alphabet +- Add mathematical calligraphic alphabet + +6 Jun 2010 (Khaled Hosny) <XITS> Version 1.002 +- Make OS/2 ascender/descender absolute values +- Move GSUB code to a font feature file +- Merge oldstyle figures from STIXNonUni* fonts +- Import the rest of STIXGeneral fonts + +4 Jun 2010 (Khaled Hosny) <XITS Math> Version 1.001 +- Edit various font metadata +- Initial release of "XITS Math" +- Add sub/superscript variants of primes +- Fix displaced \widehat and sisters +- Add italic correction, not all glyphs yet +- Fix the vertical positions of \[over|under]brace +- Ask FontForge to guess the BlueValues: +- Add 'frac' feature for text fractions +- Add oldstyle numbers +- Add Horizontal construction +- Add Vertical construction +- Add horizontal top accent position values +- Mark extended shapes +- Add horizontal variants +- Add vertical variants +- Add MATH table + + +Acknowledgements +------------------------- +If you make modifications be sure to add your name (N), email (E), web-address +(W) and description (D). This list is sorted by last name in alphabetical +order.) + +N: Khaled Hosny +E: khaledhosny@eglug.org +W: http://www.khaledhosny.org +D: Engineer - OpenType MATH code + +N: STIX Fonts project +E: +W: http://www.stixfonts.org +D: Original authors + diff --git a/Master/texmf-dist/doc/fonts/xits/build.py b/Master/texmf-dist/doc/fonts/xits/build.py new file mode 100755 index 00000000000..036526e3e06 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/xits/build.py @@ -0,0 +1,50 @@ +#!/usr/bin/python + +import fontforge +import tempfile +import os +import sys + + +family = "xits" +styles = ("math", "regular", "bold", "italic", "bolditalic") +flags = ("opentype",) +source = "sources" +args = [ ] + +def doPUA(font): + print "Assigning unencoded glyphs to PUA..." + pua = 0xE000 + for glyph in font.glyphs(): + if glyph.unicode == -1 and glyph.glyphname != ".notdef": + glyph.unicode = pua + pua += 1 + +if len(sys.argv) > 1: + args = list(sys.argv[1:]) + +for arg in args: + if arg == "all": + args = styles + elif not arg in styles: + print "Unknown style requested: %s" %arg + args.remove(arg) + +if len(args) == 0: + args = styles + +for style in args: + print "Generating %s..." % style + xits = fontforge.open(os.path.join(source, family+"-"+style+".sfd")) + if style == "math": + doPUA(xits) + # XXX: if we don't save the font and reload it, the generated font + # contian invalid code points (outside Unicode) instead of PUA + tmpfont = tempfile.mkstemp()[1] + xits.save(tmpfont) + xits.close() + xits = fontforge.open(tmpfont) + os.remove(tmpfont) + xits.mergeFeature (os.path.join(source, family+".fea")) + xits.generate(family+"-"+style+".otf", flags=flags) + xits.close() diff --git a/Master/texmf-dist/doc/fonts/xits/fontcoverage.py b/Master/texmf-dist/doc/fonts/xits/fontcoverage.py new file mode 100755 index 00000000000..c19fed75502 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/xits/fontcoverage.py @@ -0,0 +1,254 @@ +#!/usr/bin/env python +from __future__ import division +import sys +import fontforge +import unicodedata + +""" +Unicode blocks list generated from: + http://www.unicode.org/Public/5.2.0/ucd/Blocks.txt + +With the follwing code snippet: + + file = open("Blocks.txt", "r") + blocks = [ ] + for line in file.readlines(): + if not (line.startswith("#") or line == "\n"): + start, end = line.split("; ")[0].split("..") + name = line.split("; ")[1].strip() + blocks.append((name, (start, end))) +""" +blocks = [ + ('Basic Latin', ('0000', '007F')), + ('Latin-1 Supplement', ('0080', '00FF')), + ('Latin Extended-A', ('0100', '017F')), + ('Latin Extended-B', ('0180', '024F')), + ('IPA Extensions', ('0250', '02AF')), + ('Spacing Modifier Letters', ('02B0', '02FF')), + ('Combining Diacritical Marks', ('0300', '036F')), + ('Greek and Coptic', ('0370', '03FF')), + ('Cyrillic', ('0400', '04FF')), + ('Cyrillic Supplement', ('0500', '052F')), + ('Armenian', ('0530', '058F')), + ('Hebrew', ('0590', '05FF')), + ('Arabic', ('0600', '06FF')), + ('Syriac', ('0700', '074F')), + ('Arabic Supplement', ('0750', '077F')), + ('Thaana', ('0780', '07BF')), + ('NKo', ('07C0', '07FF')), + ('Samaritan', ('0800', '083F')), + ('Devanagari', ('0900', '097F')), + ('Bengali', ('0980', '09FF')), + ('Gurmukhi', ('0A00', '0A7F')), + ('Gujarati', ('0A80', '0AFF')), + ('Oriya', ('0B00', '0B7F')), + ('Tamil', ('0B80', '0BFF')), + ('Telugu', ('0C00', '0C7F')), + ('Kannada', ('0C80', '0CFF')), + ('Malayalam', ('0D00', '0D7F')), + ('Sinhala', ('0D80', '0DFF')), + ('Thai', ('0E00', '0E7F')), + ('Lao', ('0E80', '0EFF')), + ('Tibetan', ('0F00', '0FFF')), + ('Myanmar', ('1000', '109F')), + ('Georgian', ('10A0', '10FF')), + ('Hangul Jamo', ('1100', '11FF')), + ('Ethiopic', ('1200', '137F')), + ('Ethiopic Supplement', ('1380', '139F')), + ('Cherokee', ('13A0', '13FF')), + ('Unified Canadian Aboriginal Syllabics', ('1400', '167F')), + ('Ogham', ('1680', '169F')), + ('Runic', ('16A0', '16FF')), + ('Tagalog', ('1700', '171F')), + ('Hanunoo', ('1720', '173F')), + ('Buhid', ('1740', '175F')), + ('Tagbanwa', ('1760', '177F')), + ('Khmer', ('1780', '17FF')), + ('Mongolian', ('1800', '18AF')), + ('Unified Canadian Aboriginal Syllabics Extended', ('18B0', '18FF')), + ('Limbu', ('1900', '194F')), + ('Tai Le', ('1950', '197F')), + ('New Tai Lue', ('1980', '19DF')), + ('Khmer Symbols', ('19E0', '19FF')), + ('Buginese', ('1A00', '1A1F')), + ('Tai Tham', ('1A20', '1AAF')), + ('Balinese', ('1B00', '1B7F')), + ('Sundanese', ('1B80', '1BBF')), + ('Lepcha', ('1C00', '1C4F')), + ('Ol Chiki', ('1C50', '1C7F')), + ('Vedic Extensions', ('1CD0', '1CFF')), + ('Phonetic Extensions', ('1D00', '1D7F')), + ('Phonetic Extensions Supplement', ('1D80', '1DBF')), + ('Combining Diacritical Marks Supplement', ('1DC0', '1DFF')), + ('Latin Extended Additional', ('1E00', '1EFF')), + ('Greek Extended', ('1F00', '1FFF')), + ('General Punctuation', ('2000', '206F')), + ('Superscripts and Subscripts', ('2070', '209F')), + ('Currency Symbols', ('20A0', '20CF')), + ('Combining Diacritical Marks for Symbols', ('20D0', '20FF')), + ('Letterlike Symbols', ('2100', '214F')), + ('Number Forms', ('2150', '218F')), + ('Arrows', ('2190', '21FF')), + ('Mathematical Operators', ('2200', '22FF')), + ('Miscellaneous Technical', ('2300', '23FF')), + ('Control Pictures', ('2400', '243F')), + ('Optical Character Recognition', ('2440', '245F')), + ('Enclosed Alphanumerics', ('2460', '24FF')), + ('Box Drawing', ('2500', '257F')), + ('Block Elements', ('2580', '259F')), + ('Geometric Shapes', ('25A0', '25FF')), + ('Miscellaneous Symbols', ('2600', '26FF')), + ('Dingbats', ('2700', '27BF')), + ('Miscellaneous Mathematical Symbols-A', ('27C0', '27EF')), + ('Supplemental Arrows-A', ('27F0', '27FF')), + ('Braille Patterns', ('2800', '28FF')), + ('Supplemental Arrows-B', ('2900', '297F')), + ('Miscellaneous Mathematical Symbols-B', ('2980', '29FF')), + ('Supplemental Mathematical Operators', ('2A00', '2AFF')), + ('Miscellaneous Symbols and Arrows', ('2B00', '2BFF')), + ('Glagolitic', ('2C00', '2C5F')), + ('Latin Extended-C', ('2C60', '2C7F')), + ('Coptic', ('2C80', '2CFF')), + ('Georgian Supplement', ('2D00', '2D2F')), + ('Tifinagh', ('2D30', '2D7F')), + ('Ethiopic Extended', ('2D80', '2DDF')), + ('Cyrillic Extended-A', ('2DE0', '2DFF')), + ('Supplemental Punctuation', ('2E00', '2E7F')), + ('CJK Radicals Supplement', ('2E80', '2EFF')), + ('Kangxi Radicals', ('2F00', '2FDF')), + ('Ideographic Description Characters', ('2FF0', '2FFF')), + ('CJK Symbols and Punctuation', ('3000', '303F')), + ('Hiragana', ('3040', '309F')), + ('Katakana', ('30A0', '30FF')), + ('Bopomofo', ('3100', '312F')), + ('Hangul Compatibility Jamo', ('3130', '318F')), + ('Kanbun', ('3190', '319F')), + ('Bopomofo Extended', ('31A0', '31BF')), + ('CJK Strokes', ('31C0', '31EF')), + ('Katakana Phonetic Extensions', ('31F0', '31FF')), + ('Enclosed CJK Letters and Months', ('3200', '32FF')), + ('CJK Compatibility', ('3300', '33FF')), + ('CJK Unified Ideographs Extension A', ('3400', '4DBF')), + ('Yijing Hexagram Symbols', ('4DC0', '4DFF')), + ('CJK Unified Ideographs', ('4E00', '9FFF')), + ('Yi Syllables', ('A000', 'A48F')), + ('Yi Radicals', ('A490', 'A4CF')), + ('Lisu', ('A4D0', 'A4FF')), + ('Vai', ('A500', 'A63F')), + ('Cyrillic Extended-B', ('A640', 'A69F')), + ('Bamum', ('A6A0', 'A6FF')), + ('Modifier Tone Letters', ('A700', 'A71F')), + ('Latin Extended-D', ('A720', 'A7FF')), + ('Syloti Nagri', ('A800', 'A82F')), + ('Common Indic Number Forms', ('A830', 'A83F')), + ('Phags-pa', ('A840', 'A87F')), + ('Saurashtra', ('A880', 'A8DF')), + ('Devanagari Extended', ('A8E0', 'A8FF')), + ('Kayah Li', ('A900', 'A92F')), + ('Rejang', ('A930', 'A95F')), + ('Hangul Jamo Extended-A', ('A960', 'A97F')), + ('Javanese', ('A980', 'A9DF')), + ('Cham', ('AA00', 'AA5F')), + ('Myanmar Extended-A', ('AA60', 'AA7F')), + ('Tai Viet', ('AA80', 'AADF')), + ('Meetei Mayek', ('ABC0', 'ABFF')), + ('Hangul Syllables', ('AC00', 'D7AF')), + ('Hangul Jamo Extended-B', ('D7B0', 'D7FF')), + ('High Surrogates', ('D800', 'DB7F')), + ('High Private Use Surrogates', ('DB80', 'DBFF')), + ('Low Surrogates', ('DC00', 'DFFF')), + ('Private Use Area', ('E000', 'F8FF')), + ('CJK Compatibility Ideographs', ('F900', 'FAFF')), + ('Alphabetic Presentation Forms', ('FB00', 'FB4F')), + ('Arabic Presentation Forms-A', ('FB50', 'FDFF')), + ('Variation Selectors', ('FE00', 'FE0F')), + ('Vertical Forms', ('FE10', 'FE1F')), + ('Combining Half Marks', ('FE20', 'FE2F')), + ('CJK Compatibility Forms', ('FE30', 'FE4F')), + ('Small Form Variants', ('FE50', 'FE6F')), + ('Arabic Presentation Forms-B', ('FE70', 'FEFF')), + ('Halfwidth and Fullwidth Forms', ('FF00', 'FFEF')), + ('Specials', ('FFF0', 'FFFF')), + ('Linear B Syllabary', ('10000', '1007F')), + ('Linear B Ideograms', ('10080', '100FF')), + ('Aegean Numbers', ('10100', '1013F')), + ('Ancient Greek Numbers', ('10140', '1018F')), + ('Ancient Symbols', ('10190', '101CF')), + ('Phaistos Disc', ('101D0', '101FF')), + ('Lycian', ('10280', '1029F')), + ('Carian', ('102A0', '102DF')), + ('Old Italic', ('10300', '1032F')), + ('Gothic', ('10330', '1034F')), + ('Ugaritic', ('10380', '1039F')), + ('Old Persian', ('103A0', '103DF')), + ('Deseret', ('10400', '1044F')), + ('Shavian', ('10450', '1047F')), + ('Osmanya', ('10480', '104AF')), + ('Cypriot Syllabary', ('10800', '1083F')), + ('Imperial Aramaic', ('10840', '1085F')), + ('Phoenician', ('10900', '1091F')), + ('Lydian', ('10920', '1093F')), + ('Kharoshthi', ('10A00', '10A5F')), + ('Old South Arabian', ('10A60', '10A7F')), + ('Avestan', ('10B00', '10B3F')), + ('Inscriptional Parthian', ('10B40', '10B5F')), + ('Inscriptional Pahlavi', ('10B60', '10B7F')), + ('Old Turkic', ('10C00', '10C4F')), + ('Rumi Numeral Symbols', ('10E60', '10E7F')), + ('Kaithi', ('11080', '110CF')), + ('Cuneiform', ('12000', '123FF')), + ('Cuneiform Numbers and Punctuation', ('12400', '1247F')), + ('Egyptian Hieroglyphs', ('13000', '1342F')), + ('Byzantine Musical Symbols', ('1D000', '1D0FF')), + ('Musical Symbols', ('1D100', '1D1FF')), + ('Ancient Greek Musical Notation', ('1D200', '1D24F')), + ('Tai Xuan Jing Symbols', ('1D300', '1D35F')), + ('Counting Rod Numerals', ('1D360', '1D37F')), + ('Mathematical Alphanumeric Symbols', ('1D400', '1D7FF')), + ('Mahjong Tiles', ('1F000', '1F02F')), + ('Domino Tiles', ('1F030', '1F09F')), + ('Enclosed Alphanumeric Supplement', ('1F100', '1F1FF')), + ('Enclosed Ideographic Supplement', ('1F200', '1F2FF')), + ('CJK Unified Ideographs Extension B', ('20000', '2A6DF')), + ('CJK Unified Ideographs Extension C', ('2A700', '2B73F')), + ('CJK Compatibility Ideographs Supplement', ('2F800', '2FA1F')), + ('Tags', ('E0000', 'E007F')), + ('Variation Selectors Supplement', ('E0100', 'E01EF')), + ('Supplementary Private Use Area-A', ('F0000', 'FFFFF')), + ('Supplementary Private Use Area-B', ('100000', '10FFFF')) +] + +font = fontforge.open(sys.argv[1]) +font.encoding = "UnicodeFull" +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(unichr(i)) + if category != "Cc" and category!= "Cn": + try: + glyph = font[i] + f += 1 + except TypeError: + pass + t += 1 + i += 1 + if f: + found.append((name, (t,f))) + + +print "%s:" %font.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 + print "%s (U+%s-%s): %s/%s (%.2f%%)" %( + name, start, end, present, total, percent) + diff --git a/Master/texmf-dist/doc/fonts/xits/type-xits.tex b/Master/texmf-dist/doc/fonts/xits/type-xits.tex deleted file mode 100644 index fd752b3a811..00000000000 --- a/Master/texmf-dist/doc/fonts/xits/type-xits.tex +++ /dev/null @@ -1,17 +0,0 @@ -\starttypescript [math] [xits] [name] - \definefontsynonym[MathRoman][name:xitsmath] [features=math\mathsizesuffix] -\stoptypescript - -\starttypescript [serif] [xits] [name] - \definefontsynonym[Serif] [name:xitsregular] [features=default] - \definefontsynonym[SerifBold] [name:xitsbold] [features=default] - \definefontsynonym[SerifItalic] [name:xitsitalic] [features=default] - \definefontsynonym[SerifBoldItalic][name:xitsbolditalic] [features=default] -\stoptypescript - -\starttypescript[xits] - \definetypeface [xits] [rm] [serif] [xits] [default] - \definetypeface [xits] [ss] [sans] [heros] [default] [rscale=0.9] - \definetypeface [xits] [tt] [mono] [modern] [default] [rscale=1.05] - \definetypeface [xits] [mm] [math] [xits] [default] -\stoptypescript diff --git a/Master/texmf-dist/doc/fonts/xits/user-guide.pdf b/Master/texmf-dist/doc/fonts/xits/user-guide.pdf Binary files differindex 1ffefd6e51a..66d51a66dc2 100644 --- a/Master/texmf-dist/doc/fonts/xits/user-guide.pdf +++ b/Master/texmf-dist/doc/fonts/xits/user-guide.pdf diff --git a/Master/texmf-dist/doc/fonts/xits/user-guide.tex b/Master/texmf-dist/doc/fonts/xits/user-guide.tex index 8b6f8d60663..5816aabc0c4 100644 --- a/Master/texmf-dist/doc/fonts/xits/user-guide.tex +++ b/Master/texmf-dist/doc/fonts/xits/user-guide.tex @@ -1,13 +1,45 @@ -\usetypescriptfile[type-xits] -\ctxlua{fonts.otf.features.register_base_substitution('ss01')} -\definefontfeature[math-text][math-text][ss01=yes] -\definefontfeature[frac][default][frac=yes] -\definefontfeature[onum][default][onum=yes] -\usetypescript[xits] \setupbodyfont[xits] \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\footnote{Only on Microsoft Windows, versions of Microsoft Office on +Mac~OS~X does not support OpenType features needed for mathimatics.}. + +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\LR +\HL +\stoptable + + \section{Installation} \subsection{\CONTEXT} @@ -52,7 +84,6 @@ Text $x+y=\sqrt{z}$ \subsubsection{Examples} \startTEX -\usetypescript[xits] \setupbodyfont[xits] \starttext @@ -60,15 +91,4 @@ Text $x+y=\sqrt{z}$ \stoptext \stopTEX -\section{Font features} -\starttable[|lT|l|r|] -\HL -\NC feature\NC Description \NC Example \NC\SR -\HL -\NC onum \NC Oldstyle numbers \NC {\addff{onum} 0123456789} \NC\FR -\NC frac \NC Diagonal fractions \NC {\addff{frac} 1/2 2/3 3/4 5/6 7/8} \NC\LR -\NC ss01 \NC Mathematical Calligraphic Alphabet \NC $\cal ABCDEFGHIJK$ \NC\LR -\HL -\stoptable - \stoptext |