mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 18:15:52 +08:00
updated XITS to current master
This commit is contained in:
parent
428e54f52a
commit
4e890b9cb3
@ -1,5 +1,5 @@
|
|||||||
NAME=XITS
|
NAME=XITS
|
||||||
VERSION=1.200
|
VERSION=1.302
|
||||||
|
|
||||||
SRC=sources
|
SRC=sources
|
||||||
WEB=webfonts
|
WEB=webfonts
|
||||||
@ -10,7 +10,7 @@ DIST_CTAN=$(DIST)-CTAN
|
|||||||
PY=python
|
PY=python
|
||||||
MAKEFNT=$(TOOLS)/makefnt.py
|
MAKEFNT=$(TOOLS)/makefnt.py
|
||||||
MAKEWEB=$(TOOLS)/makeweb.py
|
MAKEWEB=$(TOOLS)/makeweb.py
|
||||||
COVERAGE=$(TOOLS)/fontcoverage.py
|
NORMALIZE=$(TOOLS)/sfdnormalize.py
|
||||||
|
|
||||||
FONTS=$(NAME)Math-Regular $(NAME)Math-Bold \
|
FONTS=$(NAME)Math-Regular $(NAME)Math-Bold \
|
||||||
$(NAME)-Regular $(NAME)-Bold $(NAME)-Italic $(NAME)-BoldItalic
|
$(NAME)-Regular $(NAME)-Bold $(NAME)-Italic $(NAME)-BoldItalic
|
||||||
@ -18,41 +18,52 @@ FONTS=$(NAME)Math-Regular $(NAME)Math-Bold \
|
|||||||
SFD=$(FONTS:%=$(SRC)/%.sfd)
|
SFD=$(FONTS:%=$(SRC)/%.sfd)
|
||||||
OTF=$(FONTS:%=%.otf)
|
OTF=$(FONTS:%=%.otf)
|
||||||
WOF=$(FONTS:%=$(WEB)/%.woff)
|
WOF=$(FONTS:%=$(WEB)/%.woff)
|
||||||
|
NRM=$(FONTS:%=$(SRC)/%.nrm)
|
||||||
|
CHK=$(FONTS:%=$(SRC)/%.chk)
|
||||||
|
|
||||||
all: otf
|
all: otf
|
||||||
|
|
||||||
otf: $(OTF)
|
otf: $(OTF)
|
||||||
web: $(WOF)
|
web: $(WOF)
|
||||||
|
normalize: $(NRM)
|
||||||
|
check: $(CHK)
|
||||||
|
|
||||||
%.otf: $(SRC)/%.sfd $(SRC)/%.fea
|
%.otf: $(SRC)/%.sfd $(SRC)/%.fea
|
||||||
@echo "Building $@"
|
@echo "Building $@"
|
||||||
@$(PY) $(MAKEFNT) $< $@ --version=$(VERSION) --features=$(word 2,$+)
|
@$(PY) $(MAKEFNT) $< $@ --version=$(VERSION) --features=$(word 2,$+)
|
||||||
|
|
||||||
|
%.nrm: %.sfd $(NORMALIZE)
|
||||||
|
@echo "Normalizing $(*F)"
|
||||||
|
@$(PY) $(NORMALIZE) $< $@
|
||||||
|
@if [ "`diff -u $< $@`" ]; then cp $@ $<; touch $@; fi
|
||||||
|
|
||||||
|
%.chk: %.sfd $(NORMALIZE)
|
||||||
|
@echo "Normalizing $(*F)"
|
||||||
|
@$(PY) $(NORMALIZE) $< $@
|
||||||
|
@diff -u $< $@ || (rm -rf $@ && false)
|
||||||
|
|
||||||
$(WEB)/%.woff: %.otf
|
$(WEB)/%.woff: %.otf
|
||||||
@echo "Building $@"
|
@echo "Building $@"
|
||||||
@mkdir -p $(WEB)
|
@mkdir -p $(WEB)
|
||||||
@$(PY) $(MAKEWEB) $< $(WEB)
|
@$(PY) $(MAKEWEB) $< $(WEB)
|
||||||
|
|
||||||
FONTLOG.txt: FONTLOG.txt.in $(COVERAGE) $(OTF)
|
dist: check dist-ctan $(OTF) $(WOF)
|
||||||
@echo "Generating $@"
|
|
||||||
@$(PY) $(COVERAGE) tools/Blocks.txt $< $(OTF) $@
|
|
||||||
|
|
||||||
dist: dist-ctan $(OTF) $(WOF) FONTLOG.txt
|
|
||||||
@echo "Making dist tarball"
|
@echo "Making dist tarball"
|
||||||
@mkdir -p $(DIST)/$(WEB)
|
@mkdir -p $(DIST)/$(WEB)
|
||||||
@cp $(OTF) $(DIST)
|
@cp $(OTF) $(DIST)
|
||||||
@cp $(WOF) $(DIST)/$(WEB)
|
@cp $(WOF) $(DIST)/$(WEB)
|
||||||
@cp -r OFL-FAQ.txt OFL.txt FONTLOG.txt $(DIST)
|
@cp -r OFL.txt FONTLOG.txt $(DIST)
|
||||||
@cp README.md $(DIST)/README.txt
|
@cp README.md $(DIST)/README.txt
|
||||||
@zip -r $(DIST).zip $(DIST)
|
@zip -r $(DIST).zip $(DIST)
|
||||||
|
|
||||||
dist-ctan: $(OTF) FONTLOG.txt
|
dist-ctan: $(OTF)
|
||||||
@echo "Making CTAN dist tarball"
|
@echo "Making CTAN dist tarball"
|
||||||
@mkdir -p $(DIST_CTAN)
|
@mkdir -p $(DIST_CTAN)
|
||||||
@cp $(OTF) $(DIST_CTAN)
|
@cp $(OTF) $(DIST_CTAN)
|
||||||
@cp -r OFL-FAQ.txt OFL.txt FONTLOG.txt $(DIST_CTAN)
|
@cp -r OFL.txt FONTLOG.txt $(DIST_CTAN)
|
||||||
@cp README.md $(DIST_CTAN)/README.txt
|
@cp README.md $(DIST_CTAN)/README.txt
|
||||||
@zip -r $(DIST_CTAN).zip $(DIST_CTAN)
|
@zip -r $(DIST_CTAN).zip $(DIST_CTAN)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf $(OTF) $(DIST) $(DIST).zip $(DIST_CTAN) $(DIST_CTAN).zip
|
@rm -rf $(OTF) $(DIST) $(DIST).zip $(DIST_CTAN) $(DIST_CTAN).zip $(NRM)\
|
||||||
|
$(CHK)
|
||||||
|
@ -1,103 +1,98 @@
|
|||||||
STIX Font License
|
Copyright (c) 2001-2010, STI Pub Companies, consisting of the American Institute of Physics, the American Chemical Society, the American Mathematical Society, the American Physical Society, Elsevier, Inc., and The Institute of Electrical and Electronic Engineers, Inc. (www.stixfonts.org), with Reserved Font Name STIX Fonts, STIX Fonts (TM) is a trademark of The Institute of Electrical and Electronics Engineers, Inc.
|
||||||
|
Copyright (c) 1998-2003, MicroPress, Inc. (www.micropress-inc.com), with Reserved Font Name TM Math.
|
||||||
24 May 2010
|
Copyright (c) 1990, Elsevier, Inc.
|
||||||
|
Copyright (c) 2014, 2015, (URW)++ Design & Development.
|
||||||
Copyright (c) 2001-2010 by the STI Pub Companies, consisting of the American
|
Copyright (c) 2009-2019, Khaled Hosny.
|
||||||
Institute of Physics, the American Chemical Society, the American Mathematical
|
Copyright (c) 2019, Daniel Benjamin Miller.
|
||||||
Society, the American Physical Society, Elsevier, Inc., and The Institute of
|
|
||||||
Electrical and Electronic Engineers, Inc. (www.stixfonts.org), with Reserved
|
|
||||||
Font Name STIX Fonts, STIX Fonts (TM) is a trademark of The Institute of
|
|
||||||
Electrical and Electronics Engineers, Inc.
|
|
||||||
|
|
||||||
Portions copyright (c) 1998-2003 by MicroPress, Inc. (www.micropress-inc.com),
|
|
||||||
with Reserved Font Name TM Math. To obtain additional mathematical fonts, please
|
|
||||||
contact MicroPress, Inc., 68-30 Harrow Street, Forest Hills, NY 11375, USA,
|
|
||||||
Phone: (718) 575-1816.
|
|
||||||
|
|
||||||
Portions copyright (c) 1990 by Elsevier, Inc.
|
|
||||||
|
|
||||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
This license is copied below, and is also available with a FAQ at:
|
This license is copied below, and is also available with a FAQ at:
|
||||||
http://scripts.sil.org/OFL
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
|
||||||
|
-----------------------------------------------------------
|
||||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
---------------------------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
|
|
||||||
PREAMBLE
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
The goals of the Open Font License (OFL) are to stimulate worldwide development
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
of collaborative font projects, to support the font creation efforts of academic
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
and linguistic communities, and to provide a free and open framework in which
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
fonts may be shared and improved in partnership with others.
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
The OFL allows the licensed fonts to be used, studied, modified and redistributed
|
however, cannot be released under any other type of license. The
|
||||||
freely as long as they are not sold by themselves. The fonts, including any
|
requirement for fonts to remain under this license does not apply
|
||||||
derivative works, can be bundled, embedded, redistributed and/or sold with any
|
to any document created using the fonts or their derivatives.
|
||||||
software provided that any reserved names are not used by derivative works. The
|
|
||||||
fonts and derivatives, however, cannot be released under any other type of license.
|
|
||||||
The requirement for fonts to remain under this license does not apply to any
|
|
||||||
document created using the fonts or their derivatives.
|
|
||||||
|
|
||||||
DEFINITIONS
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
"Font Software" refers to the set of files released by the Copyright Holder(s) under
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
this license and clearly marked as such. This may include source files, build
|
copyright statement(s).
|
||||||
scripts and documentation.
|
|
||||||
|
|
||||||
"Reserved Font Name" refers to any names specified as such after the copyright
|
|
||||||
statement(s).
|
|
||||||
|
|
||||||
"Original Version" refers to the collection of Font Software components as
|
"Original Version" refers to the collection of Font Software components as
|
||||||
distributed by the Copyright Holder(s).
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
"Modified Version" refers to any derivative made by adding to, deleting, or
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
substituting -- in part or in whole -- any of the components of the Original Version,
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
by changing formats or by porting the Font Software to a new environment.
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
"Author" refers to any designer, engineer, programmer, technical writer or other
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
person who contributed to the Font Software.
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
PERMISSION & CONDITIONS
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of the
|
1) Neither the Font Software nor any of its individual components,
|
||||||
Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell
|
in Original or Modified Versions, may be sold by itself.
|
||||||
modified and unmodified copies of the Font Software, subject to the following
|
|
||||||
conditions:
|
|
||||||
|
|
||||||
1) Neither the Font Software nor any of its individual components, in Original or
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
Modified Versions, may be sold by itself.
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
2) Original or Modified Versions of the Font Software may be bundled, redistributed
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
and/or sold with any software, provided that each copy contains the above copyright
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
notice and this license. These can be included either as stand-alone text files,
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
human-readable headers or in the appropriate machine-readable metadata fields within
|
presented to the users.
|
||||||
text or binary files as long as those fields can be easily viewed by the user.
|
|
||||||
|
|
||||||
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
explicit written permission is granted by the corresponding Copyright Holder. This
|
Software shall not be used to promote, endorse or advertise any
|
||||||
restriction only applies to the primary font name as presented to the users.
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
not be used to promote, endorse or advertise any Modified Version, except to
|
must be distributed entirely under this license, and must not be
|
||||||
acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with
|
distributed under any other license. The requirement for fonts to
|
||||||
their explicit written permission.
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
5) The Font Software, modified or unmodified, in part or in whole, must be distributed
|
|
||||||
entirely under this license, and must not be distributed under any other license. The
|
|
||||||
requirement for fonts to remain under this license does not apply to any document
|
|
||||||
created using the Font Software.
|
|
||||||
|
|
||||||
TERMINATION
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
This license becomes null and void if any of the above conditions are not met.
|
not met.
|
||||||
|
|
||||||
DISCLAIMER
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
|
@ -1,24 +1,22 @@
|
|||||||
|
[![Build Status](https://travis-ci.com/alif-type/xits.svg?branch=master)](https://travis-ci.com/alif-type/xits)
|
||||||
|
|
||||||
The XITS font project
|
The XITS font project
|
||||||
======================
|
======================
|
||||||
|
|
||||||
XITS is a Times-like typeface for mathematical and scientific publishing, based
|
XITS is a Times-like typeface for mathematical and scientific publishing, based
|
||||||
on [STIX fonts][1]. The main mission of XITS is to provide a version of STIX
|
on [STIX fonts][1]. The main mission of XITS is to provide a version of STIX
|
||||||
fonts enriched with the OpenType MATH extension, making it suitable for high
|
fonts enhanced with the OpenType `MATH` table, making it suitable for high
|
||||||
quality mathematic typesetting with OpenType MATH capable layout systems, like
|
quality mathematic typesetting with OpenType math-capable layout systems, like
|
||||||
MS Office 2007 and the new TeX engines XeTeX and LuaTeX.
|
Microsoft Office 2007+, XeTeX and LuaTeX.
|
||||||
|
|
||||||
XITS font is free, open source font, under [Open Font License][2], version 1.1.
|
XITS fonts are distributed under the [Open Font License][2], version 1.1.
|
||||||
|
|
||||||
The current version of XITS is based on version 1.1.0-beta1 of STIX fonts.
|
|
||||||
|
|
||||||
This is work in progress, feedback, bug reports and even patches are welcomed.
|
|
||||||
|
|
||||||
Contributing
|
Contributing
|
||||||
------------
|
------------
|
||||||
|
|
||||||
The preferred way for modifying the fonts is by editing the SFD files under
|
The preferred way for modifying the fonts is by editing the SFD files under
|
||||||
`sources` directory in the [source repository][5], using [FontForge][3]. When
|
`sources` directory in the [source repository][5], using [FontForge][3]. When
|
||||||
submitting patches, please make sure they are as clean as possible, avoiding
|
submitting patches, please run `make normalize` before committing and avoid
|
||||||
any unrelated or unnecessary changes.
|
any unrelated or unnecessary changes.
|
||||||
|
|
||||||
To build the fonts from source you need GNU Make, [FontForge][3] Python module,
|
To build the fonts from source you need GNU Make, [FontForge][3] Python module,
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
lib/jkqtmathtext/resources/xits/requirements.txt
Normal file
1
lib/jkqtmathtext/resources/xits/requirements.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
fonttools[ufo,lxml]==3.44.0
|
@ -1,2 +1,5 @@
|
|||||||
|
include (langsys.fea)
|
||||||
|
include (locl.fea)
|
||||||
include (xits.fea)
|
include (xits.fea)
|
||||||
include (frac.fea)
|
include (frac.fea)
|
||||||
|
include (altonum.fea)
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1 +1,4 @@
|
|||||||
|
include (langsys.fea)
|
||||||
|
include (locl.fea)
|
||||||
include (xits.fea)
|
include (xits.fea)
|
||||||
|
include (altonum.fea)
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1 +1,4 @@
|
|||||||
|
include (langsys.fea)
|
||||||
|
include (locl.fea)
|
||||||
include (xits.fea)
|
include (xits.fea)
|
||||||
|
include (altonum.fea)
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,7 @@
|
|||||||
|
include (langsys.fea)
|
||||||
|
include (locl.fea)
|
||||||
|
include (smallcaps.fea)
|
||||||
include (xits.fea)
|
include (xits.fea)
|
||||||
include (frac.fea)
|
include (frac.fea)
|
||||||
include (numrdnom.fea)
|
include (numrdnom.fea)
|
||||||
|
include (altonum.fea)
|
||||||
|
File diff suppressed because one or more lines are too long
@ -3,7 +3,7 @@ FontName: XITSMath-Bold
|
|||||||
FullName: XITS Math Bold
|
FullName: XITS Math Bold
|
||||||
FamilyName: XITS Math
|
FamilyName: XITS Math
|
||||||
Weight: Bold
|
Weight: Bold
|
||||||
Copyright: Copyright (c) 2001-2011 by the STI Pub Companies, consisting of the American Chemical Society, the American Institute of Physics, the American Mathematical Society, the American Physical Society, Elsevier, Inc., and The Institute of Electrical and Electronic Engineers, Inc. Portions copyright (c) 1998-2003 by MicroPress, Inc. Portions copyright (c) 1990 by Elsevier, Inc. Portions copyright (c) 2009-2012 by Khaled Hosny. All rights reserved.
|
Copyright: Copyright (c) 2001-2011 by the STI Pub Companies, consisting of the American Chemical Society, the American Institute of Physics, the American Mathematical Society, the American Physical Society, Elsevier, Inc., and The Institute of Electrical and Electronic Engineers, Inc. Portions copyright (c) 1998-2003 by MicroPress, Inc. Portions copyright (c) 1990 by Elsevier, Inc. Portions copyright (c) 2014, 2015 by (URW)++ Design & Development. Portions copyright (c) 2009-2019 by Khaled Hosny. Portions copyright (c) by Daniel Benjamin Miller. All rights reserved.
|
||||||
Version: $version
|
Version: $version
|
||||||
ItalicAngle: 0
|
ItalicAngle: 0
|
||||||
UnderlinePosition: -50
|
UnderlinePosition: -50
|
||||||
@ -124,7 +124,7 @@ StdVW 4 [88]
|
|||||||
StemSnapH 31 [29 33 38 43 48 52 57 68 73 78]
|
StemSnapH 31 [29 33 38 43 48 52 57 68 73 78]
|
||||||
StemSnapV 31 [42 48 51 54 62 66 69 73 79 83]
|
StemSnapV 31 [42 48 51 54 62 66 69 73 79 83]
|
||||||
EndPrivate
|
EndPrivate
|
||||||
BeginChars: 1114325 2149
|
BeginChars: 1114325 2153
|
||||||
|
|
||||||
StartChar: space
|
StartChar: space
|
||||||
Encoding: 32 32 0
|
Encoding: 32 32 0
|
||||||
@ -4108,7 +4108,7 @@ Encoding: 236 236 119
|
|||||||
Width: 278
|
Width: 278
|
||||||
GlyphClass: 2
|
GlyphClass: 2
|
||||||
Flags: MW
|
Flags: MW
|
||||||
HStem: 0 20 441 20<14 208 208 208>
|
HStem: 0 20 441 20<15 208 208 208>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
Fore
|
Fore
|
||||||
SplineSet
|
SplineSet
|
||||||
@ -4119,17 +4119,17 @@ SplineSet
|
|||||||
19 693 40 713 66 713 c 0
|
19 693 40 713 66 713 c 0
|
||||||
85 713 104 703 120 685 c 2
|
85 713 104 703 120 685 c 2
|
||||||
257 528 l 1
|
257 528 l 1
|
||||||
256 0 m 1
|
257 0 m 1
|
||||||
16 0 l 1
|
17 0 l 1
|
||||||
16 24 l 1
|
17 24 l 1
|
||||||
62 34 69 44 69 88 c 2
|
63 34 70 44 70 88 c 2
|
||||||
69 374 l 2
|
70 374 l 2
|
||||||
69 419 58 428 14 437 c 1
|
70 419 59 428 15 437 c 1
|
||||||
14 461 l 1
|
15 461 l 1
|
||||||
208 461 l 1
|
209 461 l 1
|
||||||
208 85 l 2
|
209 85 l 2
|
||||||
208 44 221 29 256 24 c 1
|
209 44 222 29 257 24 c 1
|
||||||
256 0 l 1
|
257 0 l 1
|
||||||
EndSplineSet
|
EndSplineSet
|
||||||
EndChar
|
EndChar
|
||||||
|
|
||||||
@ -4168,21 +4168,21 @@ Encoding: 238 238 121
|
|||||||
Width: 278
|
Width: 278
|
||||||
GlyphClass: 2
|
GlyphClass: 2
|
||||||
Flags: MW
|
Flags: MW
|
||||||
HStem: 0 20 441 20<-29 164 164 164>
|
HStem: 0 20 441 20<15 208 208 208>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
Fore
|
Fore
|
||||||
SplineSet
|
SplineSet
|
||||||
212 0 m 1
|
256 0 m 1
|
||||||
-28 0 l 1
|
16 0 l 1
|
||||||
-28 24 l 1
|
16 24 l 1
|
||||||
18 35 25 42 25 88 c 2
|
62 35 69 42 69 88 c 2
|
||||||
25 373 l 2
|
69 373 l 2
|
||||||
25 418 15 428 -29 437 c 1
|
69 418 59 428 15 437 c 1
|
||||||
-29 461 l 1
|
15 461 l 1
|
||||||
164 461 l 1
|
208 461 l 1
|
||||||
164 85 l 2
|
208 85 l 2
|
||||||
164 42 177 29 212 24 c 1
|
208 42 221 29 256 24 c 1
|
||||||
212 0 l 1
|
256 0 l 1
|
||||||
308 528 m 1
|
308 528 m 1
|
||||||
251 528 l 1
|
251 528 l 1
|
||||||
139 626 l 1
|
139 626 l 1
|
||||||
@ -4199,22 +4199,22 @@ Encoding: 239 239 122
|
|||||||
Width: 278
|
Width: 278
|
||||||
GlyphClass: 2
|
GlyphClass: 2
|
||||||
Flags: MW
|
Flags: MW
|
||||||
HStem: 0 20 441 20<-29 164 164 164> 537 129<18.5 53 18.5 53.5 227.5 262.5>
|
HStem: 0 20 441 20<15 208 208 208> 537 129<18.5 53 18.5 53.5 227.5 262.5>
|
||||||
VStem: -29 129<437 618 461 618 584 618 582.5 619> 181 129<584 618 582.5 619.5>
|
VStem: -29 129<437 618 461 618 584 618 582.5 619> 181 129<584 618 582.5 619.5>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
Fore
|
Fore
|
||||||
SplineSet
|
SplineSet
|
||||||
212 0 m 1
|
256 0 m 1
|
||||||
-28 0 l 1
|
16 0 l 1
|
||||||
-28 24 l 1
|
16 24 l 1
|
||||||
18 35 25 42 25 88 c 2
|
62 35 69 42 69 88 c 2
|
||||||
25 373 l 2
|
69 373 l 2
|
||||||
25 418 15 428 -29 437 c 1
|
69 418 59 428 15 437 c 1
|
||||||
-29 461 l 1
|
15 461 l 1
|
||||||
164 461 l 1
|
208 461 l 1
|
||||||
164 85 l 2
|
208 85 l 2
|
||||||
164 42 177 29 212 24 c 1
|
208 42 221 29 256 24 c 1
|
||||||
212 0 l 1
|
256 0 l 1
|
||||||
310 600 m 0
|
310 600 m 0
|
||||||
310 565 281 537 244 537 c 0
|
310 565 281 537 244 537 c 0
|
||||||
209 537 181 566 181 602 c 0
|
209 537 181 566 181 602 c 0
|
||||||
@ -24673,6 +24673,7 @@ Encoding: 8400 8400 716
|
|||||||
Width: 0
|
Width: 0
|
||||||
GlyphClass: 2
|
GlyphClass: 2
|
||||||
Flags: MW
|
Flags: MW
|
||||||
|
TopAccentHorizontal: -228
|
||||||
HStem: 637 78<-293 14 -293 14>
|
HStem: 637 78<-293 14 -293 14>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
Fore
|
Fore
|
||||||
@ -24693,6 +24694,7 @@ Encoding: 8401 8401 717
|
|||||||
Width: 0
|
Width: 0
|
||||||
GlyphClass: 2
|
GlyphClass: 2
|
||||||
Flags: MW
|
Flags: MW
|
||||||
|
TopAccentHorizontal: -228
|
||||||
HStem: 637 78<-470 -163 -163 -148.5 -470 14 -470 -163>
|
HStem: 637 78<-470 -163 -163 -148.5 -470 14 -470 -163>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
Fore
|
Fore
|
||||||
@ -24730,6 +24732,7 @@ Encoding: 8406 8406 719
|
|||||||
Width: 0
|
Width: 0
|
||||||
GlyphClass: 2
|
GlyphClass: 2
|
||||||
Flags: MW
|
Flags: MW
|
||||||
|
TopAccentHorizontal: -258
|
||||||
HStem: 637 78<-340 -16 -326 -16>
|
HStem: 637 78<-340 -16 -326 -16>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
Fore
|
Fore
|
||||||
@ -24754,6 +24757,7 @@ Encoding: 8407 8407 720
|
|||||||
Width: 0
|
Width: 0
|
||||||
GlyphClass: 2
|
GlyphClass: 2
|
||||||
Flags: MW
|
Flags: MW
|
||||||
|
TopAccentHorizontal: -228
|
||||||
HStem: 637 78<-470 -160 -470 -160>
|
HStem: 637 78<-470 -160 -470 -160>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
Fore
|
Fore
|
||||||
@ -24778,6 +24782,7 @@ Encoding: 8411 8411 721
|
|||||||
Width: 0
|
Width: 0
|
||||||
GlyphClass: 2
|
GlyphClass: 2
|
||||||
Flags: MW
|
Flags: MW
|
||||||
|
TopAccentHorizontal: -238
|
||||||
HStem: 537 129<-464.5 -430 -464.5 -429.5 -254.5 -220 -45.5 -10.5>
|
HStem: 537 129<-464.5 -430 -464.5 -429.5 -254.5 -220 -45.5 -10.5>
|
||||||
VStem: -2 129 208 129 418 129
|
VStem: -2 129 208 129 418 129
|
||||||
CounterMasks: 1 70
|
CounterMasks: 1 70
|
||||||
@ -24807,6 +24812,7 @@ Encoding: 8412 8412 722
|
|||||||
Width: 0
|
Width: 0
|
||||||
GlyphClass: 2
|
GlyphClass: 2
|
||||||
Flags: MW
|
Flags: MW
|
||||||
|
TopAccentHorizontal: -248
|
||||||
HStem: 537 129<-579.5 -545 -579.5 -544.5 -369.5 -335 -159.5 -125 49.5 84.5>
|
HStem: 537 129<-579.5 -545 -579.5 -544.5 -369.5 -335 -159.5 -125 49.5 84.5>
|
||||||
VStem: -627 129<584 618 582.5 619> -417 129<584 618 582.5 619> -207 129<584 618 582.5 619> 3 129<584 618 582.5 619.5>
|
VStem: -627 129<584 618 582.5 619> -417 129<584 618 582.5 619> -207 129<584 618 582.5 619> 3 129<584 618 582.5 619.5>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
@ -24863,6 +24869,7 @@ Encoding: 8417 8417 724
|
|||||||
Width: 0
|
Width: 0
|
||||||
GlyphClass: 2
|
GlyphClass: 2
|
||||||
Flags: MW
|
Flags: MW
|
||||||
|
TopAccentHorizontal: -218
|
||||||
HStem: 637 78<-349 -341 -341 -95>
|
HStem: 637 78<-349 -341 -341 -95>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
Fore
|
Fore
|
||||||
@ -24952,6 +24959,7 @@ Encoding: 8423 8423 728
|
|||||||
Width: 0
|
Width: 0
|
||||||
GlyphClass: 2
|
GlyphClass: 2
|
||||||
Flags: MW
|
Flags: MW
|
||||||
|
TopAccentHorizontal: -222
|
||||||
HStem: 672 88<-643 112 -643 200>
|
HStem: 672 88<-643 112 -643 200>
|
||||||
VStem: 112 88<-172 672 672 672>
|
VStem: 112 88<-172 672 672 672>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
@ -25001,6 +25009,7 @@ Encoding: 8425 8425 730
|
|||||||
Width: 0
|
Width: 0
|
||||||
GlyphClass: 2
|
GlyphClass: 2
|
||||||
Flags: MW
|
Flags: MW
|
||||||
|
TopAccentHorizontal: -228
|
||||||
HStem: 639 78<-432 -24 -432 -432>
|
HStem: 639 78<-432 -24 -432 -432>
|
||||||
VStem: -510 78<544 639 544 717> -24 78<544 639 639 639>
|
VStem: -510 78<544 639 544 717> -24 78<544 639 639 639>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
@ -74923,5 +74932,167 @@ SplineSet
|
|||||||
831 -451 l 1
|
831 -451 l 1
|
||||||
EndSplineSet
|
EndSplineSet
|
||||||
EndChar
|
EndChar
|
||||||
|
|
||||||
|
StartChar: Scommaaccent
|
||||||
|
Encoding: 536 536 2149
|
||||||
|
Width: 556
|
||||||
|
VWidth: 0
|
||||||
|
Flags: W
|
||||||
|
LayerCount: 2
|
||||||
|
Fore
|
||||||
|
SplineSet
|
||||||
|
484 474 m 1x20
|
||||||
|
456 474 l 1
|
||||||
|
436 539 420 569 386 604 c 0
|
||||||
|
350 641 308 660 263 660 c 0
|
||||||
|
194 660 153 618 153 561 c 0
|
||||||
|
153 512 176 489 256 447 c 0
|
||||||
|
305 421 353 398 404 370 c 0
|
||||||
|
468 335 513 270 513 194 c 0
|
||||||
|
513 68 413 -19 265 -19 c 0
|
||||||
|
221 -19 184 -12 135 5 c 0
|
||||||
|
113 12 102 15 94 15 c 0
|
||||||
|
78 15 70 7 64 -19 c 1
|
||||||
|
35 -19 l 1
|
||||||
|
35 229 l 1
|
||||||
|
64 229 l 1
|
||||||
|
81 158 95 123 124 86 c 0
|
||||||
|
162 38 210 14 268 14 c 0
|
||||||
|
345 14 394 58 394 127 c 0
|
||||||
|
394 163 371 191 337 215 c 0
|
||||||
|
303 239 258 259 215 280 c 0
|
||||||
|
102 334 44 389 44 490 c 0
|
||||||
|
44 617 127 691 263 691 c 0xc0
|
||||||
|
302 691 334 685 380 668 c 0
|
||||||
|
401 661 413 658 422 658 c 0
|
||||||
|
440 658 447 665 454 692 c 1
|
||||||
|
484 692 l 1
|
||||||
|
484 474 l 1x20
|
||||||
|
199 -414 m 1xa0
|
||||||
|
188 -392 l 1
|
||||||
|
263 -340 297 -298 297 -259 c 0
|
||||||
|
297 -247 289 -238 278 -238 c 0x60
|
||||||
|
271 -238 264 -240 254 -240 c 0
|
||||||
|
211 -240 181 -210 181 -164 c 0
|
||||||
|
181 -112 215 -79 265 -79 c 0
|
||||||
|
328 -79 365 -124 365 -195 c 0
|
||||||
|
365 -281 315 -353 199 -414 c 1xa0
|
||||||
|
EndSplineSet
|
||||||
|
EndChar
|
||||||
|
|
||||||
|
StartChar: scommaaccent
|
||||||
|
Encoding: 537 537 2150
|
||||||
|
Width: 389
|
||||||
|
VWidth: 0
|
||||||
|
Flags: W
|
||||||
|
LayerCount: 2
|
||||||
|
Fore
|
||||||
|
SplineSet
|
||||||
|
340 326 m 1
|
||||||
|
315 326 l 1
|
||||||
|
300 369 289 388 268 408 c 0
|
||||||
|
246 429 220 440 193 440 c 0
|
||||||
|
155 440 127 415 127 382 c 0
|
||||||
|
127 348 155 322 223 294 c 0
|
||||||
|
323 252 361 209 361 138 c 0
|
||||||
|
361 48 298 -14 207 -14 c 0
|
||||||
|
179 -14 128 -3 99 9 c 0
|
||||||
|
89 13 81 15 76 15 c 0
|
||||||
|
67 15 61 8 50 -13 c 1
|
||||||
|
25 -13 l 1
|
||||||
|
25 152 l 1
|
||||||
|
53 152 l 1
|
||||||
|
74 65 120 20 190 20 c 0
|
||||||
|
235 20 265 46 265 85 c 0
|
||||||
|
265 117 238 142 169 172 c 0
|
||||||
|
68 215 27 261 27 327 c 0
|
||||||
|
27 411 93 473 184 473 c 0
|
||||||
|
207 473 230 469 262 458 c 0
|
||||||
|
278 453 287 451 293 451 c 0
|
||||||
|
306 451 312 456 318 471 c 1
|
||||||
|
340 471 l 1
|
||||||
|
340 326 l 1
|
||||||
|
133 -409 m 1xa0
|
||||||
|
122 -387 l 1
|
||||||
|
197 -335 231 -293 231 -254 c 0
|
||||||
|
231 -242 223 -233 212 -233 c 0x60
|
||||||
|
205 -233 198 -235 188 -235 c 0
|
||||||
|
145 -235 115 -205 115 -159 c 0
|
||||||
|
115 -107 149 -74 199 -74 c 0
|
||||||
|
262 -74 299 -119 299 -190 c 0
|
||||||
|
299 -276 249 -348 133 -409 c 1xa0
|
||||||
|
EndSplineSet
|
||||||
|
EndChar
|
||||||
|
|
||||||
|
StartChar: uni021A
|
||||||
|
Encoding: 538 538 2151
|
||||||
|
Width: 667
|
||||||
|
VWidth: 0
|
||||||
|
Flags: W
|
||||||
|
LayerCount: 2
|
||||||
|
Fore
|
||||||
|
SplineSet
|
||||||
|
636 475 m 1
|
||||||
|
607 475 l 1
|
||||||
|
590 594 538 640 415 644 c 1
|
||||||
|
415 117 l 2
|
||||||
|
415 41 426 31 513 25 c 1
|
||||||
|
513 0 l 1
|
||||||
|
156 0 l 1
|
||||||
|
156 25 l 1
|
||||||
|
242 32 253 43 253 117 c 2
|
||||||
|
253 644 l 1
|
||||||
|
129 640 77 594 60 475 c 1
|
||||||
|
31 475 l 1
|
||||||
|
34 676 l 1
|
||||||
|
634 676 l 1
|
||||||
|
636 475 l 1
|
||||||
|
260.5 -395 m 1xa0
|
||||||
|
249.5 -373 l 1
|
||||||
|
324.5 -321 358.5 -279 358.5 -240 c 0
|
||||||
|
358.5 -228 350.5 -219 339.5 -219 c 0x60
|
||||||
|
332.5 -219 325.5 -221 315.5 -221 c 0
|
||||||
|
272.5 -221 242.5 -191 242.5 -145 c 0
|
||||||
|
242.5 -93 276.5 -60 326.5 -60 c 0
|
||||||
|
389.5 -60 426.5 -105 426.5 -176 c 0
|
||||||
|
426.5 -262 376.5 -334 260.5 -395 c 1xa0
|
||||||
|
EndSplineSet
|
||||||
|
EndChar
|
||||||
|
|
||||||
|
StartChar: uni021B
|
||||||
|
Encoding: 539 539 2152
|
||||||
|
Width: 333
|
||||||
|
VWidth: 0
|
||||||
|
Flags: W
|
||||||
|
LayerCount: 2
|
||||||
|
Fore
|
||||||
|
SplineSet
|
||||||
|
307 112 m 1
|
||||||
|
332 101 l 1
|
||||||
|
291 19 251 -12 184 -12 c 0
|
||||||
|
115 -12 72 28 72 95 c 2
|
||||||
|
72 417 l 1
|
||||||
|
19 417 l 1
|
||||||
|
19 444 l 1
|
||||||
|
91 493 128 546 186 630 c 1
|
||||||
|
211 630 l 1
|
||||||
|
211 461 l 1
|
||||||
|
306 461 l 1
|
||||||
|
306 417 l 1
|
||||||
|
211 417 l 1
|
||||||
|
211 119 l 2
|
||||||
|
211 79 222 59 250 59 c 0
|
||||||
|
271 59 287 74 307 112 c 1
|
||||||
|
110 -407 m 1xa0
|
||||||
|
99 -385 l 1
|
||||||
|
174 -333 208 -291 208 -252 c 0
|
||||||
|
208 -240 200 -231 189 -231 c 0x60
|
||||||
|
182 -231 175 -233 165 -233 c 0
|
||||||
|
122 -233 92 -203 92 -157 c 0
|
||||||
|
92 -105 126 -72 176 -72 c 0
|
||||||
|
239 -72 276 -117 276 -188 c 0
|
||||||
|
276 -274 226 -346 110 -407 c 1xa0
|
||||||
|
EndSplineSet
|
||||||
|
EndChar
|
||||||
EndChars
|
EndChars
|
||||||
EndSplineFont
|
EndSplineFont
|
||||||
|
@ -3,7 +3,7 @@ FontName: XITSMath-Regular
|
|||||||
FullName: XITS Math
|
FullName: XITS Math
|
||||||
FamilyName: XITS Math
|
FamilyName: XITS Math
|
||||||
Weight: Regular
|
Weight: Regular
|
||||||
Copyright: Copyright (c) 2001-2011 by the STI Pub Companies, consisting of the American Chemical Society, the American Institute of Physics, the American Mathematical Society, the American Physical Society, Elsevier, Inc., and The Institute of Electrical and Electronic Engineers, Inc. Portions copyright (c) 1998-2003 by MicroPress, Inc. Portions copyright (c) 1990 by Elsevier, Inc. Portions copyright (c) 2009-2012 by Khaled Hosny. All rights reserved.
|
Copyright: Copyright (c) 2001-2011 by the STI Pub Companies, consisting of the American Chemical Society, the American Institute of Physics, the American Mathematical Society, the American Physical Society, Elsevier, Inc., and The Institute of Electrical and Electronic Engineers, Inc. Portions copyright (c) 1998-2003 by MicroPress, Inc. Portions copyright (c) 1990 by Elsevier, Inc. Portions copyright (c) 2014, 2015 by (URW)++ Design & Development. Portions copyright (c) 2009-2019 by Khaled Hosny. Portions copyright (c) by Daniel Benjamin Miller. All rights reserved.
|
||||||
Version: $version
|
Version: $version
|
||||||
ItalicAngle: 0
|
ItalicAngle: 0
|
||||||
UnderlinePosition: -50
|
UnderlinePosition: -50
|
||||||
@ -125,7 +125,7 @@ StdVW 4 [66]
|
|||||||
StemSnapH 31 [23 28 31 34 38 43 50 54 63 66]
|
StemSnapH 31 [23 28 31 34 38 43 50 54 63 66]
|
||||||
StemSnapV 31 [39 43 48 52 56 59 66 73 79 83]
|
StemSnapV 31 [39 43 48 52 56 59 66 73 79 83]
|
||||||
EndPrivate
|
EndPrivate
|
||||||
BeginChars: 1115145 4555
|
BeginChars: 1115145 4559
|
||||||
|
|
||||||
StartChar: .notdef
|
StartChar: .notdef
|
||||||
Encoding: 1114112 -1 0
|
Encoding: 1114112 -1 0
|
||||||
@ -6857,7 +6857,7 @@ Encoding: 236 236 197
|
|||||||
Width: 278
|
Width: 278
|
||||||
Flags: MW
|
Flags: MW
|
||||||
HStem: 0 20 658 20<31 49.5>
|
HStem: 0 20 658 20<31 49.5>
|
||||||
VStem: 85 84<104 105 105 331 331 354.5>
|
VStem: 95 84<104 105 105 331 331 354.5>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
Fore
|
Fore
|
||||||
SplineSet
|
SplineSet
|
||||||
@ -6868,19 +6868,19 @@ SplineSet
|
|||||||
6 667 20 678 42 678 c 0
|
6 667 20 678 42 678 c 0
|
||||||
57 678 68 673 85 655 c 2
|
57 678 68 673 85 655 c 2
|
||||||
230 507 l 1
|
230 507 l 1
|
||||||
243 0 m 1
|
253 0 m 1
|
||||||
6 0 l 1
|
16 0 l 1
|
||||||
6 15 l 1
|
16 15 l 1
|
||||||
75 19 85 28 85 104 c 2
|
85 19 95 28 95 104 c 2
|
||||||
85 331 l 2
|
95 331 l 2
|
||||||
85 378 77 394 52 394 c 0
|
95 378 87 394 62 394 c 0
|
||||||
43 394 28 394 10 389 c 1
|
53 394 38 394 20 389 c 1
|
||||||
10 405 l 1
|
20 405 l 1
|
||||||
164 460 l 1
|
174 460 l 1
|
||||||
169 456 l 1
|
179 456 l 1
|
||||||
169 105 l 2
|
179 105 l 2
|
||||||
169 31 177 20 243 15 c 1
|
179 31 187 20 253 15 c 1
|
||||||
243 0 l 1
|
253 0 l 1
|
||||||
EndSplineSet
|
EndSplineSet
|
||||||
EndChar
|
EndChar
|
||||||
|
|
||||||
@ -6921,7 +6921,7 @@ Encoding: 238 238 199
|
|||||||
Width: 278
|
Width: 278
|
||||||
Flags: MW
|
Flags: MW
|
||||||
HStem: 0 20 654 20<107 169 169 169>
|
HStem: 0 20 654 20<107 169 169 169>
|
||||||
VStem: 62 84<104 105 105 331 331 354.5>
|
VStem: 95 84<104 105 105 331 331 354.5>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
Fore
|
Fore
|
||||||
SplineSet
|
SplineSet
|
||||||
@ -6933,19 +6933,19 @@ SplineSet
|
|||||||
107 674 l 1
|
107 674 l 1
|
||||||
169 674 l 1
|
169 674 l 1
|
||||||
294 507 l 1
|
294 507 l 1
|
||||||
220 0 m 1
|
253 0 m 1
|
||||||
-17 0 l 1
|
16 0 l 1
|
||||||
-17 15 l 1
|
16 15 l 1
|
||||||
52 19 62 28 62 104 c 2
|
85 19 95 28 95 104 c 2
|
||||||
62 331 l 2
|
95 331 l 2
|
||||||
62 378 54 394 29 394 c 0
|
95 378 87 394 62 394 c 0
|
||||||
20 394 5 394 -13 389 c 1
|
53 394 38 394 20 389 c 1
|
||||||
-13 405 l 1
|
20 405 l 1
|
||||||
141 460 l 1
|
174 460 l 1
|
||||||
146 456 l 1
|
179 456 l 1
|
||||||
146 105 l 2
|
179 105 l 2
|
||||||
146 31 154 20 220 15 c 1
|
179 31 187 20 253 15 c 1
|
||||||
220 0 l 1
|
253 0 l 1
|
||||||
EndSplineSet
|
EndSplineSet
|
||||||
EndChar
|
EndChar
|
||||||
|
|
||||||
@ -6954,33 +6954,33 @@ Encoding: 239 239 200
|
|||||||
Width: 278
|
Width: 278
|
||||||
Flags: MW
|
Flags: MW
|
||||||
HStem: 0 20 523 99<25.5 52 224.5 251>
|
HStem: 0 20 523 99<25.5 52 224.5 251>
|
||||||
VStem: -10 99<559 585.5 558.5 586.5> 69 84<104 105 105 331 331 354.5> 189 99<559 585.5 558.5 586.5>
|
VStem: -10 99<559 585.5 558.5 586.5> 95 84<104 105 105 331 331 354.5> 189 99<559 585.5 558.5 586.5>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
Fore
|
Fore
|
||||||
SplineSet
|
SplineSet
|
||||||
288 572 m 0xe8
|
288 572 m 0
|
||||||
288 545 265 523 237 523 c 0
|
288 545 265 523 237 523 c 0
|
||||||
210 523 189 545 189 573 c 0
|
210 523 189 545 189 573 c 0
|
||||||
189 600 211 622 238 622 c 0
|
189 600 211 622 238 622 c 0
|
||||||
265 622 288 599 288 572 c 0xe8
|
265 622 288 599 288 572 c 0
|
||||||
89 572 m 0
|
89 572 m 0
|
||||||
89 545 66 523 38 523 c 0
|
89 545 66 523 38 523 c 0
|
||||||
11 523 -10 545 -10 573 c 0
|
11 523 -10 545 -10 573 c 0
|
||||||
-10 600 12 622 39 622 c 0
|
-10 600 12 622 39 622 c 0
|
||||||
66 622 89 599 89 572 c 0
|
66 622 89 599 89 572 c 0
|
||||||
227 0 m 1xd0
|
253 0 m 1
|
||||||
-10 0 l 1
|
16 0 l 1
|
||||||
-10 15 l 1xe0
|
16 15 l 1
|
||||||
59 19 69 28 69 104 c 2
|
85 19 95 28 95 104 c 2
|
||||||
69 331 l 2
|
95 331 l 2
|
||||||
69 378 61 394 36 394 c 0
|
95 378 87 394 62 394 c 0
|
||||||
27 394 12 394 -6 389 c 1
|
53 394 38 394 20 389 c 1
|
||||||
-6 405 l 1
|
20 405 l 1
|
||||||
148 460 l 1
|
174 460 l 1
|
||||||
153 456 l 1
|
179 456 l 1
|
||||||
153 105 l 2
|
179 105 l 2
|
||||||
153 31 161 20 227 15 c 1
|
179 31 187 20 253 15 c 1
|
||||||
227 0 l 1xd0
|
253 0 l 1
|
||||||
EndSplineSet
|
EndSplineSet
|
||||||
EndChar
|
EndChar
|
||||||
|
|
||||||
@ -57739,14 +57739,14 @@ StartChar: uni27CC
|
|||||||
Encoding: 10188 10188 1664
|
Encoding: 10188 10188 1664
|
||||||
Width: 325
|
Width: 325
|
||||||
Flags: MW
|
Flags: MW
|
||||||
HStem: 752 54<89 325 89 89>
|
HStem: 740 66<89 325 89 89>
|
||||||
VStem: 153 84<255.5 402.5>
|
VStem: 153 84<255.5 402.5>
|
||||||
LayerCount: 2
|
LayerCount: 2
|
||||||
Fore
|
Fore
|
||||||
SplineSet
|
SplineSet
|
||||||
325 752 m 1
|
345 740 m 1
|
||||||
89 752 l 1
|
89 740 l 1
|
||||||
209 602 237 506 237 314 c 0
|
209 590 237 506 237 314 c 0
|
||||||
237 197 220 42 160 -60 c 0
|
237 197 220 42 160 -60 c 0
|
||||||
128 -115 85 -164 44 -213 c 1
|
128 -115 85 -164 44 -213 c 1
|
||||||
20 -193 l 1
|
20 -193 l 1
|
||||||
@ -57754,8 +57754,8 @@ SplineSet
|
|||||||
145 56 153 201 153 306 c 0
|
145 56 153 201 153 306 c 0
|
||||||
153 499 137 627 20 787 c 1
|
153 499 137 627 20 787 c 1
|
||||||
20 806 l 1
|
20 806 l 1
|
||||||
325 806 l 1
|
345 806 l 1
|
||||||
325 752 l 1
|
345 740 l 1
|
||||||
EndSplineSet
|
EndSplineSet
|
||||||
EndChar
|
EndChar
|
||||||
|
|
||||||
@ -155932,5 +155932,177 @@ SplineSet
|
|||||||
439 234 369 145 294 22 c 0
|
439 234 369 145 294 22 c 0
|
||||||
EndSplineSet
|
EndSplineSet
|
||||||
EndChar
|
EndChar
|
||||||
|
|
||||||
|
StartChar: Scommaaccent
|
||||||
|
Encoding: 536 536 4555
|
||||||
|
Width: 556
|
||||||
|
VWidth: 0
|
||||||
|
Flags: W
|
||||||
|
HStem: -14 36<266 306 223.5 345> 0 20<114.5 127.5> 635 41<227 265.5 195.5 288> 642 20
|
||||||
|
VStem: 71 86<506 555.5>
|
||||||
|
LayerCount: 2
|
||||||
|
Fore
|
||||||
|
SplineSet
|
||||||
|
244.5 -317 m 1
|
||||||
|
235.5 -298 l 1
|
||||||
|
301.5 -256 317.5 -211 317.5 -192 c 0
|
||||||
|
317.5 -183 310.5 -178 303.5 -178 c 0
|
||||||
|
297.5 -178 290.5 -182 279.5 -182 c 0
|
||||||
|
253.5 -182 217.5 -172 217.5 -132 c 0
|
||||||
|
217.5 -89 250.5 -74 275.5 -74 c 0
|
||||||
|
298.5 -74 356.5 -87 356.5 -170 c 0
|
||||||
|
356.5 -241 274.5 -307 244.5 -317 c 1
|
||||||
|
447 676 m 1
|
||||||
|
469 463 l 1
|
||||||
|
444 463 l 1
|
||||||
|
432 507 421 533 403 557 c 0
|
||||||
|
368 602 318 635 258 635 c 0
|
||||||
|
196 635 157 595 157 540 c 0
|
||||||
|
157 472 231 430 336 369 c 0
|
||||||
|
442 307 491 249 491 173 c 0
|
||||||
|
491 61 403 -14 287 -14 c 0
|
||||||
|
245 -14 206 -7 169 9 c 0
|
||||||
|
150 17 133 20 122 20 c 0
|
||||||
|
107 20 94 8 94 -13 c 1
|
||||||
|
72 -13 l 1
|
||||||
|
43 199 l 1
|
||||||
|
65 199 l 1
|
||||||
|
111 78 176 22 271 22 c 0
|
||||||
|
341 22 390 68 390 134 c 0
|
||||||
|
390 169 380 192 361 213 c 0
|
||||||
|
326 251 257 295 193 329 c 0
|
||||||
|
103 377 71 439 71 501 c 0
|
||||||
|
71 610 146 676 245 676 c 0
|
||||||
|
286 676 312 670 350 654 c 0
|
||||||
|
368 646 384 642 394 642 c 0
|
||||||
|
411 642 422 654 426 676 c 1
|
||||||
|
447 676 l 1
|
||||||
|
EndSplineSet
|
||||||
|
EndChar
|
||||||
|
|
||||||
|
StartChar: scommaaccent
|
||||||
|
Encoding: 537 537 4556
|
||||||
|
Width: 389
|
||||||
|
VWidth: 0
|
||||||
|
Flags: W
|
||||||
|
HStem: -10 22<197.5 220.5 160.5 246> 437 22<166.5 201 148 218>
|
||||||
|
VStem: 51 62<358 375.5> 278 70<81.5 101.5>
|
||||||
|
LayerCount: 2
|
||||||
|
Fore
|
||||||
|
SplineSet
|
||||||
|
165.5 -313 m 1
|
||||||
|
156.5 -294 l 1
|
||||||
|
222.5 -252 238.5 -207 238.5 -188 c 0
|
||||||
|
238.5 -179 231.5 -174 224.5 -174 c 0
|
||||||
|
218.5 -174 211.5 -178 200.5 -178 c 0
|
||||||
|
174.5 -178 138.5 -168 138.5 -128 c 0
|
||||||
|
138.5 -85 171.5 -70 196.5 -70 c 0
|
||||||
|
219.5 -70 277.5 -83 277.5 -166 c 0
|
||||||
|
277.5 -237 195.5 -303 165.5 -313 c 1
|
||||||
|
113 369 m 0
|
||||||
|
113 347 128 318 156 301 c 2
|
||||||
|
260 238 l 2
|
||||||
|
324 199 348 172 348 115 c 0
|
||||||
|
348 48 284 -10 208 -10 c 0
|
||||||
|
187 -10 158 -9 135 -1 c 0
|
||||||
|
111 7 100 8 89 8 c 0
|
||||||
|
77 8 71 6 65 -4 c 1
|
||||||
|
52 -4 l 1
|
||||||
|
52 153 l 1
|
||||||
|
68 153 l 1
|
||||||
|
89 56 126 12 195 12 c 0
|
||||||
|
246 12 278 45 278 86 c 0
|
||||||
|
278 117 258 143 225 161 c 2
|
||||||
|
171 191 l 2
|
||||||
|
88 237 51 285 51 336 c 0
|
||||||
|
51 415 107 459 189 459 c 0
|
||||||
|
213 459 235 458 256 448 c 0
|
||||||
|
267 443 277 440 284 440 c 0
|
||||||
|
288 440 292 441 300 450 c 1
|
||||||
|
311 450 l 1
|
||||||
|
316 314 l 1
|
||||||
|
301 314 l 1
|
||||||
|
278 404 248 437 188 437 c 0
|
||||||
|
145 437 113 416 113 369 c 0
|
||||||
|
EndSplineSet
|
||||||
|
EndChar
|
||||||
|
|
||||||
|
StartChar: uni021A
|
||||||
|
Encoding: 538 538 4557
|
||||||
|
Width: 611
|
||||||
|
VWidth: 0
|
||||||
|
Flags: W
|
||||||
|
HStem: 0 20 620 42<141 194 194 254 356 415 356 356>
|
||||||
|
LayerCount: 2
|
||||||
|
Fore
|
||||||
|
SplineSet
|
||||||
|
263.5 -303 m 1
|
||||||
|
254.5 -284 l 1
|
||||||
|
320.5 -242 336.5 -197 336.5 -178 c 0
|
||||||
|
336.5 -169 329.5 -164 322.5 -164 c 0
|
||||||
|
316.5 -164 309.5 -168 298.5 -168 c 0
|
||||||
|
272.5 -168 236.5 -158 236.5 -118 c 0
|
||||||
|
236.5 -75 269.5 -60 294.5 -60 c 0
|
||||||
|
317.5 -60 375.5 -73 375.5 -156 c 0
|
||||||
|
375.5 -227 293.5 -293 263.5 -303 c 1
|
||||||
|
586 662 m 1
|
||||||
|
593 492 l 1
|
||||||
|
569 492 l 1
|
||||||
|
547 602 521 620 415 620 c 2
|
||||||
|
356 620 l 1
|
||||||
|
356 111 l 2
|
||||||
|
356 35 370 23 452 19 c 1
|
||||||
|
452 0 l 1
|
||||||
|
160 0 l 1
|
||||||
|
160 19 l 1
|
||||||
|
243 24 254 35 254 123 c 2
|
||||||
|
254 620 l 1
|
||||||
|
194 620 l 2
|
||||||
|
88 620 61 602 41 492 c 1
|
||||||
|
17 492 l 1
|
||||||
|
24 662 l 1
|
||||||
|
586 662 l 1
|
||||||
|
EndSplineSet
|
||||||
|
EndChar
|
||||||
|
|
||||||
|
StartChar: uni021B
|
||||||
|
Encoding: 539 539 4558
|
||||||
|
Width: 278
|
||||||
|
VWidth: 0
|
||||||
|
Flags: W
|
||||||
|
HStem: -10 52<129 217> 418 32<154 255 154 255>
|
||||||
|
VStem: 70 84<117 132 132 418>
|
||||||
|
LayerCount: 2
|
||||||
|
Fore
|
||||||
|
SplineSet
|
||||||
|
115.5 -313 m 1
|
||||||
|
106.5 -294 l 1
|
||||||
|
172.5 -252 188.5 -207 188.5 -188 c 0
|
||||||
|
188.5 -179 181.5 -174 174.5 -174 c 0
|
||||||
|
168.5 -174 161.5 -178 150.5 -178 c 0
|
||||||
|
124.5 -178 88.5 -168 88.5 -128 c 0
|
||||||
|
88.5 -85 121.5 -70 146.5 -70 c 0
|
||||||
|
169.5 -70 227.5 -83 227.5 -166 c 0
|
||||||
|
227.5 -237 145.5 -303 115.5 -313 c 1
|
||||||
|
206 42 m 0
|
||||||
|
228 42 244 51 266 77 c 1
|
||||||
|
279 66 l 1
|
||||||
|
246 14 208 -10 158 -10 c 0
|
||||||
|
100 -10 70 33 70 117 c 2
|
||||||
|
70 418 l 1
|
||||||
|
17 418 l 2
|
||||||
|
14 420 13 422 13 425 c 0
|
||||||
|
13 431 19 437 30 444 c 0
|
||||||
|
56 459 89 496 127 551 c 0
|
||||||
|
133 560 141 569 147 579 c 1
|
||||||
|
152 579 154 576 154 566 c 2
|
||||||
|
154 450 l 1
|
||||||
|
255 450 l 1
|
||||||
|
255 418 l 1
|
||||||
|
154 418 l 1
|
||||||
|
154 132 l 2
|
||||||
|
154 68 169 42 206 42 c 0
|
||||||
|
EndSplineSet
|
||||||
|
EndChar
|
||||||
EndChars
|
EndChars
|
||||||
EndSplineFont
|
EndSplineFont
|
||||||
|
13
lib/jkqtmathtext/resources/xits/sources/altonum.fea
Normal file
13
lib/jkqtmathtext/resources/xits/sources/altonum.fea
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
feature ss11 {
|
||||||
|
sub zero.onum by zero.onum.ss11;
|
||||||
|
sub one.onum by one.onum.ss11;
|
||||||
|
sub two.onum by two.onum.ss11;
|
||||||
|
sub three.onum by three.onum.ss11;
|
||||||
|
sub four.onum by four.onum.ss11;
|
||||||
|
sub five.onum by five.onum.ss11;
|
||||||
|
sub six.onum by six.onum.ss11;
|
||||||
|
sub seven.onum by seven.onum.ss11;
|
||||||
|
sub eight.onum by eight.onum.ss11;
|
||||||
|
sub nine.onum by nine.onum.ss11;
|
||||||
|
} ss11;
|
||||||
|
|
5
lib/jkqtmathtext/resources/xits/sources/langsys.fea
Normal file
5
lib/jkqtmathtext/resources/xits/sources/langsys.fea
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
languagesystem DFLT dflt;
|
||||||
|
languagesystem latn dflt;
|
||||||
|
languagesystem latn TRK;
|
||||||
|
languagesystem cyrl dflt;
|
||||||
|
languagesystem grek dflt;
|
5
lib/jkqtmathtext/resources/xits/sources/locl.fea
Normal file
5
lib/jkqtmathtext/resources/xits/sources/locl.fea
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
feature locl {
|
||||||
|
script latn;
|
||||||
|
language TRK exclude_dflt;
|
||||||
|
sub i by i.TRK;
|
||||||
|
} locl;
|
@ -9,6 +9,26 @@ feature numr {
|
|||||||
sub seven by seven.numr;
|
sub seven by seven.numr;
|
||||||
sub eight by eight.numr;
|
sub eight by eight.numr;
|
||||||
sub nine by nine.numr;
|
sub nine by nine.numr;
|
||||||
|
sub zero.onum by zero.numr;
|
||||||
|
sub one.onum by one.numr;
|
||||||
|
sub two.onum by two.numr;
|
||||||
|
sub three.onum by three.numr;
|
||||||
|
sub four.onum by four.numr;
|
||||||
|
sub five.onum by five.numr;
|
||||||
|
sub six.onum by six.numr;
|
||||||
|
sub seven.onum by seven.numr;
|
||||||
|
sub eight.onum by eight.numr;
|
||||||
|
sub nine.onum by nine.numr;
|
||||||
|
sub zero.onum.ss11 by zero.numr;
|
||||||
|
sub one.onum.ss11 by one.numr;
|
||||||
|
sub two.onum.ss11 by two.numr;
|
||||||
|
sub three.onum.ss11 by three.numr;
|
||||||
|
sub four.onum.ss11 by four.numr;
|
||||||
|
sub five.onum.ss11 by five.numr;
|
||||||
|
sub six.onum.ss11 by six.numr;
|
||||||
|
sub seven.onum.ss11 by seven.numr;
|
||||||
|
sub eight.onum.ss11 by eight.numr;
|
||||||
|
sub nine.onum.ss11 by nine.numr;
|
||||||
} numr;
|
} numr;
|
||||||
|
|
||||||
feature dnom {
|
feature dnom {
|
||||||
@ -22,4 +42,90 @@ feature dnom {
|
|||||||
sub seven by seven.dnom;
|
sub seven by seven.dnom;
|
||||||
sub eight by eight.dnom;
|
sub eight by eight.dnom;
|
||||||
sub nine by nine.dnom;
|
sub nine by nine.dnom;
|
||||||
|
sub zero.onum by zero.dnom;
|
||||||
|
sub one.onum by one.dnom;
|
||||||
|
sub two.onum by two.dnom;
|
||||||
|
sub three.onum by three.dnom;
|
||||||
|
sub four.onum by four.dnom;
|
||||||
|
sub five.onum by five.dnom;
|
||||||
|
sub six.onum by six.dnom;
|
||||||
|
sub seven.onum by seven.dnom;
|
||||||
|
sub eight.onum by eight.dnom;
|
||||||
|
sub nine.onum by nine.dnom;
|
||||||
|
sub zero.onum.ss11 by zero.dnom;
|
||||||
|
sub one.onum.ss11 by one.dnom;
|
||||||
|
sub two.onum.ss11 by two.dnom;
|
||||||
|
sub three.onum.ss11 by three.dnom;
|
||||||
|
sub four.onum.ss11 by four.dnom;
|
||||||
|
sub five.onum.ss11 by five.dnom;
|
||||||
|
sub six.onum.ss11 by six.dnom;
|
||||||
|
sub seven.onum.ss11 by seven.dnom;
|
||||||
|
sub eight.onum.ss11 by eight.dnom;
|
||||||
|
sub nine.onum.ss11 by nine.dnom;
|
||||||
} dnom;
|
} dnom;
|
||||||
|
|
||||||
|
feature sups {
|
||||||
|
sub zero by zero.sups;
|
||||||
|
sub one by one.sups;
|
||||||
|
sub two by two.sups;
|
||||||
|
sub three by three.sups;
|
||||||
|
sub four by four.sups;
|
||||||
|
sub five by five.sups;
|
||||||
|
sub six by six.sups;
|
||||||
|
sub seven by seven.sups;
|
||||||
|
sub eight by eight.sups;
|
||||||
|
sub nine by nine.sups;
|
||||||
|
sub zero.onum by zero.sups;
|
||||||
|
sub one.onum by one.sups;
|
||||||
|
sub two.onum by two.sups;
|
||||||
|
sub three.onum by three.sups;
|
||||||
|
sub four.onum by four.sups;
|
||||||
|
sub five.onum by five.sups;
|
||||||
|
sub six.onum by six.sups;
|
||||||
|
sub seven.onum by seven.sups;
|
||||||
|
sub eight.onum by eight.sups;
|
||||||
|
sub nine.onum by nine.sups;
|
||||||
|
sub zero.onum.ss11 by zero.sups;
|
||||||
|
sub one.onum.ss11 by one.sups;
|
||||||
|
sub two.onum.ss11 by two.sups;
|
||||||
|
sub three.onum.ss11 by three.sups;
|
||||||
|
sub four.onum.ss11 by four.sups;
|
||||||
|
sub five.onum.ss11 by five.sups;
|
||||||
|
sub six.onum.ss11 by six.sups;
|
||||||
|
sub seven.onum.ss11 by seven.sups;
|
||||||
|
sub eight.onum.ss11 by eight.sups;
|
||||||
|
sub nine.onum.ss11 by nine.sups;
|
||||||
|
} sups;
|
||||||
|
|
||||||
|
feature sinf {
|
||||||
|
sub zero by zero.sinf;
|
||||||
|
sub one by one.sinf;
|
||||||
|
sub two by two.sinf;
|
||||||
|
sub three by three.sinf;
|
||||||
|
sub four by four.sinf;
|
||||||
|
sub five by five.sinf;
|
||||||
|
sub six by six.sinf;
|
||||||
|
sub seven by seven.sinf;
|
||||||
|
sub eight by eight.sinf;
|
||||||
|
sub nine by nine.sinf;
|
||||||
|
sub zero.onum by zero.sinf;
|
||||||
|
sub one.onum by one.sinf;
|
||||||
|
sub two.onum by two.sinf;
|
||||||
|
sub three.onum by three.sinf;
|
||||||
|
sub four.onum by four.sinf;
|
||||||
|
sub five.onum by five.sinf;
|
||||||
|
sub six.onum by six.sinf;
|
||||||
|
sub seven.onum by seven.sinf;
|
||||||
|
sub eight.onum by eight.sinf;
|
||||||
|
sub nine.onum by nine.sinf;
|
||||||
|
sub zero.onum.ss11 by zero.sinf;
|
||||||
|
sub one.onum.ss11 by one.sinf;
|
||||||
|
sub two.onum.ss11 by two.sinf;
|
||||||
|
sub three.onum.ss11 by three.sinf;
|
||||||
|
sub four.onum.ss11 by four.sinf;
|
||||||
|
sub five.onum.ss11 by five.sinf;
|
||||||
|
sub six.onum.ss11 by six.sinf;
|
||||||
|
sub seven.onum.ss11 by seven.sinf;
|
||||||
|
sub eight.onum.ss11 by eight.sinf;
|
||||||
|
sub nine.onum.ss11 by nine.sinf;
|
||||||
|
} sinf;
|
||||||
|
279
lib/jkqtmathtext/resources/xits/sources/smallcaps.fea
Normal file
279
lib/jkqtmathtext/resources/xits/sources/smallcaps.fea
Normal file
@ -0,0 +1,279 @@
|
|||||||
|
feature c2sc {
|
||||||
|
sub exclam by exclam.sc;
|
||||||
|
sub dollar by dollar.sc;
|
||||||
|
sub Euro by Euro.sc;
|
||||||
|
sub ampersand by ampersand.sc;
|
||||||
|
sub question by question.sc;
|
||||||
|
sub exclamdown by exclamdown.sc;
|
||||||
|
sub questiondown by questiondown.sc;
|
||||||
|
sub A by a.sc;
|
||||||
|
sub B by b.sc;
|
||||||
|
sub C by c.sc;
|
||||||
|
sub D by d.sc;
|
||||||
|
sub E by e.sc;
|
||||||
|
sub F by f.sc;
|
||||||
|
sub G by g.sc;
|
||||||
|
sub H by h.sc;
|
||||||
|
sub I by i.sc;
|
||||||
|
sub J by j.sc;
|
||||||
|
sub K by k.sc;
|
||||||
|
sub L by l.sc;
|
||||||
|
sub M by m.sc;
|
||||||
|
sub N by n.sc;
|
||||||
|
sub O by o.sc;
|
||||||
|
sub P by p.sc;
|
||||||
|
sub Q by q.sc;
|
||||||
|
sub R by r.sc;
|
||||||
|
sub S by s.sc;
|
||||||
|
sub T by t.sc;
|
||||||
|
sub U by u.sc;
|
||||||
|
sub V by v.sc;
|
||||||
|
sub W by w.sc;
|
||||||
|
sub X by x.sc;
|
||||||
|
sub Y by y.sc;
|
||||||
|
sub Z by z.sc;
|
||||||
|
sub Agrave by agrave.sc;
|
||||||
|
sub Aacute by aacute.sc;
|
||||||
|
sub Acircumflex by acircumflex.sc;
|
||||||
|
sub Atilde by atilde.sc;
|
||||||
|
sub Adieresis by adieresis.sc;
|
||||||
|
sub Aring by aring.sc;
|
||||||
|
sub Ccedilla by ccedilla.sc;
|
||||||
|
sub Egrave by egrave.sc;
|
||||||
|
sub Eacute by eacute.sc;
|
||||||
|
sub Ecircumflex by ecircumflex.sc;
|
||||||
|
sub Edieresis by edieresis.sc;
|
||||||
|
sub Igrave by igrave.sc;
|
||||||
|
sub Iacute by iacute.sc;
|
||||||
|
sub Icircumflex by icircumflex.sc;
|
||||||
|
sub Idieresis by idieresis.sc;
|
||||||
|
sub Eth by eth.sc;
|
||||||
|
sub Ntilde by ntilde.sc;
|
||||||
|
sub Ograve by ograve.sc;
|
||||||
|
sub Oacute by oacute.sc;
|
||||||
|
sub Ocircumflex by ocircumflex.sc;
|
||||||
|
sub Otilde by otilde.sc;
|
||||||
|
sub Odieresis by odieresis.sc;
|
||||||
|
sub Oslash by oslash.sc;
|
||||||
|
sub Ugrave by ugrave.sc;
|
||||||
|
sub Uacute by uacute.sc;
|
||||||
|
sub Ucircumflex by ucircumflex.sc;
|
||||||
|
sub Udieresis by udieresis.sc;
|
||||||
|
sub Yacute by yacute.sc;
|
||||||
|
sub Thorn by thorn.sc;
|
||||||
|
sub uni0100 by uni0101.sc;
|
||||||
|
sub uni0102 by uni0103.sc;
|
||||||
|
sub uni0104 by uni0105.sc;
|
||||||
|
sub uni0106 by uni0107.sc;
|
||||||
|
sub uni0108 by uni0109.sc;
|
||||||
|
sub uni010A by uni010B.sc;
|
||||||
|
sub uni010C by uni010D.sc;
|
||||||
|
sub uni010E by uni010F.sc;
|
||||||
|
sub uni0110 by uni0111.sc;
|
||||||
|
sub uni0112 by uni0113.sc;
|
||||||
|
sub uni0114 by uni0115.sc;
|
||||||
|
sub uni0116 by uni0117.sc;
|
||||||
|
sub uni0118 by uni0119.sc;
|
||||||
|
sub uni011A by uni011B.sc;
|
||||||
|
sub uni011C by uni011D.sc;
|
||||||
|
sub uni011E by uni011F.sc;
|
||||||
|
sub uni0120 by uni0121.sc;
|
||||||
|
sub uni0122 by uni0123.sc;
|
||||||
|
sub uni0124 by uni0125.sc;
|
||||||
|
sub uni0126 by uni0127.sc;
|
||||||
|
sub uni0128 by uni0129.sc;
|
||||||
|
sub uni012A by uni012B.sc;
|
||||||
|
sub uni012C by uni012D.sc;
|
||||||
|
sub uni012E by uni012F.sc;
|
||||||
|
sub uni0130 by i.TRK.sc;
|
||||||
|
sub uni0132 by uni0133.sc;
|
||||||
|
sub uni0134 by uni0135.sc;
|
||||||
|
sub uni0136 by uni0137.sc;
|
||||||
|
sub uni0139 by uni013A.sc;
|
||||||
|
sub uni013B by uni013C.sc;
|
||||||
|
sub uni013D by uni013E.sc;
|
||||||
|
sub uni013F by uni0140.sc;
|
||||||
|
sub Lslash by lslash.sc;
|
||||||
|
sub uni0143 by uni0144.sc;
|
||||||
|
sub uni0145 by uni0146.sc;
|
||||||
|
sub uni0147 by uni0148.sc;
|
||||||
|
sub uni014C by uni014D.sc;
|
||||||
|
sub uni0150 by uni0151.sc;
|
||||||
|
sub uni0154 by uni0155.sc;
|
||||||
|
sub uni0156 by uni0157.sc;
|
||||||
|
sub uni0158 by uni0159.sc;
|
||||||
|
sub uni015A by uni015B.sc;
|
||||||
|
sub uni015C by uni015D.sc;
|
||||||
|
sub uni015E by uni015F.sc;
|
||||||
|
sub Scaron by scaron.sc;
|
||||||
|
sub uni0162 by uni0163.sc;
|
||||||
|
sub uni0164 by uni0165.sc;
|
||||||
|
sub uni0166 by uni0167.sc;
|
||||||
|
sub uni0168 by uni0169.sc;
|
||||||
|
sub uni016A by uni016B.sc;
|
||||||
|
sub uni016C by uni016D.sc;
|
||||||
|
sub uni016E by uni016F.sc;
|
||||||
|
sub uni0170 by uni0171.sc;
|
||||||
|
sub uni0172 by uni0173.sc;
|
||||||
|
sub uni0174 by uni0175.sc;
|
||||||
|
sub uni0176 by uni0177.sc;
|
||||||
|
sub Ydieresis by ydieresis.sc;
|
||||||
|
sub uni0179 by uni017A.sc;
|
||||||
|
sub uni017B by uni017C.sc;
|
||||||
|
sub Zcaron by uni017E.sc;
|
||||||
|
sub uni01FA by uni01FB.sc;
|
||||||
|
sub uni01FC by uni01FD.sc;
|
||||||
|
sub uni01FE by uni01FF.sc;
|
||||||
|
sub Scommaaccent by scommaaccent.sc;
|
||||||
|
sub uni021A by uni021B.sc;
|
||||||
|
sub uni203C by uni203C.sc;
|
||||||
|
sub uni2047 by uni2047.sc;
|
||||||
|
sub uni214B by uni214B.sc;
|
||||||
|
sub uni1E80 by uni1E81.sc;
|
||||||
|
sub uni1E82 by uni1E83.sc;
|
||||||
|
sub uni1E84 by uni1E85.sc;
|
||||||
|
sub uni1EF2 by uni1EF3.sc;
|
||||||
|
} c2sc;
|
||||||
|
|
||||||
|
feature smcp {
|
||||||
|
sub exclam by exclam.sc;
|
||||||
|
sub dollar by dollar.sc;
|
||||||
|
sub Euro by Euro.sc;
|
||||||
|
sub ampersand by ampersand.sc;
|
||||||
|
sub question by question.sc;
|
||||||
|
sub a by a.sc;
|
||||||
|
sub b by b.sc;
|
||||||
|
sub c by c.sc;
|
||||||
|
sub d by d.sc;
|
||||||
|
sub e by e.sc;
|
||||||
|
sub f by f.sc;
|
||||||
|
sub g by g.sc;
|
||||||
|
sub h by h.sc;
|
||||||
|
sub i by i.sc;
|
||||||
|
sub i.TRK by i.TRK.sc;
|
||||||
|
sub j by j.sc;
|
||||||
|
sub k by k.sc;
|
||||||
|
sub l by l.sc;
|
||||||
|
sub m by m.sc;
|
||||||
|
sub n by n.sc;
|
||||||
|
sub o by o.sc;
|
||||||
|
sub p by p.sc;
|
||||||
|
sub q by q.sc;
|
||||||
|
sub r by r.sc;
|
||||||
|
sub s by s.sc;
|
||||||
|
sub t by t.sc;
|
||||||
|
sub u by u.sc;
|
||||||
|
sub v by v.sc;
|
||||||
|
sub w by w.sc;
|
||||||
|
sub x by x.sc;
|
||||||
|
sub y by y.sc;
|
||||||
|
sub z by z.sc;
|
||||||
|
sub exclamdown by exclamdown.sc;
|
||||||
|
sub questiondown by questiondown.sc;
|
||||||
|
sub germandbls by germandbls.sc;
|
||||||
|
sub agrave by agrave.sc;
|
||||||
|
sub aacute by aacute.sc;
|
||||||
|
sub acircumflex by acircumflex.sc;
|
||||||
|
sub atilde by atilde.sc;
|
||||||
|
sub adieresis by adieresis.sc;
|
||||||
|
sub aring by aring.sc;
|
||||||
|
sub ae by ae.sc;
|
||||||
|
sub ccedilla by ccedilla.sc;
|
||||||
|
sub egrave by egrave.sc;
|
||||||
|
sub eacute by eacute.sc;
|
||||||
|
sub ecircumflex by ecircumflex.sc;
|
||||||
|
sub edieresis by edieresis.sc;
|
||||||
|
sub igrave by igrave.sc;
|
||||||
|
sub iacute by iacute.sc;
|
||||||
|
sub icircumflex by icircumflex.sc;
|
||||||
|
sub idieresis by idieresis.sc;
|
||||||
|
sub eth by eth.sc;
|
||||||
|
sub ntilde by ntilde.sc;
|
||||||
|
sub ograve by ograve.sc;
|
||||||
|
sub oacute by oacute.sc;
|
||||||
|
sub ocircumflex by ocircumflex.sc;
|
||||||
|
sub otilde by otilde.sc;
|
||||||
|
sub odieresis by odieresis.sc;
|
||||||
|
sub oslash by oslash.sc;
|
||||||
|
sub ugrave by ugrave.sc;
|
||||||
|
sub uacute by uacute.sc;
|
||||||
|
sub ucircumflex by ucircumflex.sc;
|
||||||
|
sub udieresis by udieresis.sc;
|
||||||
|
sub yacute by yacute.sc;
|
||||||
|
sub thorn by thorn.sc;
|
||||||
|
sub ydieresis by ydieresis.sc;
|
||||||
|
sub uni0101 by uni0101.sc;
|
||||||
|
sub uni0103 by uni0103.sc;
|
||||||
|
sub uni0105 by uni0105.sc;
|
||||||
|
sub uni0107 by uni0107.sc;
|
||||||
|
sub uni0109 by uni0109.sc;
|
||||||
|
sub uni010B by uni010B.sc;
|
||||||
|
sub uni010D by uni010D.sc;
|
||||||
|
sub uni010F by uni010F.sc;
|
||||||
|
sub uni0111 by uni0111.sc;
|
||||||
|
sub uni0113 by uni0113.sc;
|
||||||
|
sub uni0115 by uni0115.sc;
|
||||||
|
sub uni0117 by uni0117.sc;
|
||||||
|
sub uni0119 by uni0119.sc;
|
||||||
|
sub uni011B by uni011B.sc;
|
||||||
|
sub uni011D by uni011D.sc;
|
||||||
|
sub uni011F by uni011F.sc;
|
||||||
|
sub uni0121 by uni0121.sc;
|
||||||
|
sub uni0123 by uni0123.sc;
|
||||||
|
sub uni0125 by uni0125.sc;
|
||||||
|
sub uni0127 by uni0127.sc;
|
||||||
|
sub uni0129 by uni0129.sc;
|
||||||
|
sub uni012B by uni012B.sc;
|
||||||
|
sub uni012D by uni012D.sc;
|
||||||
|
sub uni012F by uni012F.sc;
|
||||||
|
sub dotlessi by dotlessi.sc;
|
||||||
|
sub uni0133 by uni0133.sc;
|
||||||
|
sub uni0135 by uni0135.sc;
|
||||||
|
sub uni0137 by uni0137.sc;
|
||||||
|
sub uni013A by uni013A.sc;
|
||||||
|
sub uni013C by uni013C.sc;
|
||||||
|
sub uni013E by uni013E.sc;
|
||||||
|
sub uni0140 by uni0140.sc;
|
||||||
|
sub lslash by lslash.sc;
|
||||||
|
sub uni0144 by uni0144.sc;
|
||||||
|
sub uni0146 by uni0146.sc;
|
||||||
|
sub uni0148 by uni0148.sc;
|
||||||
|
sub uni0149 by uni0149.sc;
|
||||||
|
sub uni014D by uni014D.sc;
|
||||||
|
sub uni0151 by uni0151.sc;
|
||||||
|
sub oe by oe.sc;
|
||||||
|
sub uni0155 by uni0155.sc;
|
||||||
|
sub uni0157 by uni0157.sc;
|
||||||
|
sub uni0159 by uni0159.sc;
|
||||||
|
sub uni015B by uni015B.sc;
|
||||||
|
sub uni015D by uni015D.sc;
|
||||||
|
sub uni015F by uni015F.sc;
|
||||||
|
sub scaron by scaron.sc;
|
||||||
|
sub uni0163 by uni0163.sc;
|
||||||
|
sub uni0165 by uni0165.sc;
|
||||||
|
sub uni0167 by uni0167.sc;
|
||||||
|
sub uni0169 by uni0169.sc;
|
||||||
|
sub uni016B by uni016B.sc;
|
||||||
|
sub uni016D by uni016D.sc;
|
||||||
|
sub uni016F by uni016F.sc;
|
||||||
|
sub uni0171 by uni0171.sc;
|
||||||
|
sub uni0173 by uni0173.sc;
|
||||||
|
sub uni0175 by uni0175.sc;
|
||||||
|
sub uni0177 by uni0177.sc;
|
||||||
|
sub uni017A by uni017A.sc;
|
||||||
|
sub uni017C by uni017C.sc;
|
||||||
|
sub zcaron by uni017E.sc;
|
||||||
|
sub uni01F0 by uni01F0.sc;
|
||||||
|
sub uni01FB by uni01FB.sc;
|
||||||
|
sub uni01FD by uni01FD.sc;
|
||||||
|
sub uni01FF by uni01FF.sc;
|
||||||
|
sub uni203C by uni203C.sc;
|
||||||
|
sub uni2047 by uni2047.sc;
|
||||||
|
sub uni214B by uni214B.sc;
|
||||||
|
sub scommaaccent by scommaaccent.sc;
|
||||||
|
sub uni021B by uni021B.sc;
|
||||||
|
sub uni1E81 by uni1E81.sc;
|
||||||
|
sub uni1E83 by uni1E83.sc;
|
||||||
|
sub uni1E85 by uni1E85.sc;
|
||||||
|
sub uni1EF3 by uni1EF3.sc;
|
||||||
|
} smcp;
|
@ -1,7 +1,15 @@
|
|||||||
languagesystem DFLT dflt;
|
feature sups {
|
||||||
languagesystem latn dflt;
|
sub zero by zero.sups;
|
||||||
languagesystem cyrl dflt;
|
sub one by one.sups;
|
||||||
languagesystem grek dflt;
|
sub two by two.sups;
|
||||||
|
sub three by three.sups;
|
||||||
|
sub four by four.sups;
|
||||||
|
sub five by five.sups;
|
||||||
|
sub six by six.sups;
|
||||||
|
sub seven by seven.sups;
|
||||||
|
sub eight by eight.sups;
|
||||||
|
sub nine by nine.sups;
|
||||||
|
} sups;
|
||||||
|
|
||||||
feature onum {
|
feature onum {
|
||||||
sub zero by zero.onum;
|
sub zero by zero.onum;
|
||||||
@ -23,6 +31,7 @@ feature liga {
|
|||||||
sub f f i by ffi;
|
sub f f i by ffi;
|
||||||
sub f f l by ffl;
|
sub f f l by ffl;
|
||||||
sub f j by f_j;
|
sub f j by f_j;
|
||||||
|
sub f f j by f_f_j;
|
||||||
} liga;
|
} liga;
|
||||||
|
|
||||||
feature liga {
|
feature liga {
|
||||||
@ -31,9 +40,3 @@ feature liga {
|
|||||||
sub I J by uni0132;
|
sub I J by uni0132;
|
||||||
sub i j by uni0133;
|
sub i j by uni0133;
|
||||||
} liga;
|
} liga;
|
||||||
|
|
||||||
feature locl {
|
|
||||||
script latn;
|
|
||||||
language TRK exclude_dflt;
|
|
||||||
sub i by i.TRK;
|
|
||||||
} locl;
|
|
||||||
|
234
lib/jkqtmathtext/resources/xits/tools/sfdnormalize.py
Normal file
234
lib/jkqtmathtext/resources/xits/tools/sfdnormalize.py
Normal file
@ -0,0 +1,234 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
# SFD normalizer (discards GUI information from SFD files)
|
||||||
|
# (c) 2004, 2005 Stepan Roh (PUBLIC DOMAIN)
|
||||||
|
# (c) 2009 Alexey Kryukov
|
||||||
|
# (c) 2018 Khaled Hosny
|
||||||
|
# (c) 2018 Skef Iterum
|
||||||
|
#
|
||||||
|
# usage: ./sfdnormalize.py sfd_file(s)
|
||||||
|
# will rewrites files in place
|
||||||
|
|
||||||
|
# changes done:
|
||||||
|
# SplineFontDB - fix version number on 3.0
|
||||||
|
# WinInfo - discarded
|
||||||
|
# DisplaySize - discarded
|
||||||
|
# AntiAlias - discarded
|
||||||
|
# FitToEm - discarded
|
||||||
|
# Compacted - discarded
|
||||||
|
# GenTags - discarded
|
||||||
|
# Flags - discarded O (open), H (changed since last hinting - often irrelevant)
|
||||||
|
# Refer - changed S (selected) to N (not selected)
|
||||||
|
# Fore, Back, SplineSet, Grid
|
||||||
|
# - all points have 4 masked out from flags (selected)
|
||||||
|
# ModificationTime - discarded
|
||||||
|
# Validated - discarded
|
||||||
|
# Empty glyph positions dropped
|
||||||
|
# Hinting dropped
|
||||||
|
|
||||||
|
# !!! Always review changes done by this utility !!!
|
||||||
|
|
||||||
|
from __future__ import print_function
|
||||||
|
|
||||||
|
from collections import OrderedDict
|
||||||
|
|
||||||
|
import sys, re
|
||||||
|
|
||||||
|
fealines_tok = '__X_FEALINES_X__'
|
||||||
|
|
||||||
|
FONT_RE = re.compile(r"^SplineFontDB:\s(\d+\.?\d*)")
|
||||||
|
DROP_RE = re.compile(r"^(WinInfo|DisplaySize|AntiAlias|FitToEm|Compacted|GenTags|ModificationTime|DupEnc)")
|
||||||
|
SPLINESET_RE = re.compile(r"^(Fore|Back|SplineSet|Grid)\s*$")
|
||||||
|
STARTCHAR_RE = re.compile(r"^StartChar:\s*(\S+)\s*$")
|
||||||
|
ENCODING_RE = re.compile(r"^Encoding:\s*(\d+)\s+(\-?\d+)\s*(\d*)\s*$")
|
||||||
|
BITMAPFONT_RE = re.compile(r"^(BitmapFont:\s+\d+\s+)(\d+)(\s+\d+\s+\d+\s+\d+)")
|
||||||
|
BDFCHAR_RE = re.compile(r"^BDFChar:\s*(\d+)(\s+.*)$")
|
||||||
|
EMPTY_FLAGS_RE = re.compile(r"^Flags:\s*$")
|
||||||
|
DROP_FLAGS_RE = re.compile(r"^(Flags:.*?)[HO](.*)$")
|
||||||
|
SELECTED_POINT_RE = re.compile(r"(\s+[mcl]+?\s)(\d+)(\s*)$")
|
||||||
|
SELECTED_REF_RE = re.compile(r"(-?\d+\s+)S(\s+-?\d+)")
|
||||||
|
OTFFEATNAME_RE = re.compile(r"OtfFeatName:\s*'(....)'\s*(\d+)\s*(.*)$")
|
||||||
|
FEASUBPOS_RE = re.compile(r"^(Position|PairPos|LCarets|Ligature|Substitution|MultipleSubs|AlternateSubs)2?:")
|
||||||
|
|
||||||
|
fealine_order = {'Position': 1, 'PairPos': 2, 'LCarets': 3, 'Ligature': 4,
|
||||||
|
'Substitution': 5, 'MultipleSubs': 6, 'AlternateSubs': 7 }
|
||||||
|
|
||||||
|
# The following class is used to emulate variable assignment in
|
||||||
|
# conditions: while testing if a pattern corresponds to a specific
|
||||||
|
# regular expression we also preserve the 'match' object for future use.
|
||||||
|
class RegexpProcessor:
|
||||||
|
def test(self, cp, string):
|
||||||
|
self.m = cp.search(string)
|
||||||
|
return not(self.m is None)
|
||||||
|
|
||||||
|
def match(self):
|
||||||
|
return self.m
|
||||||
|
|
||||||
|
def clear_selected(m):
|
||||||
|
pt = int(m.group(2)) & ~4;
|
||||||
|
return m.group(1) + str(pt) + m.group(3)
|
||||||
|
|
||||||
|
def process_sfd_file(sfdname, outname):
|
||||||
|
fp = open(sfdname, 'rt')
|
||||||
|
out = open(outname, 'wt')
|
||||||
|
fl = fp.readline()
|
||||||
|
proc = RegexpProcessor()
|
||||||
|
|
||||||
|
if proc.test(FONT_RE, fl) == False:
|
||||||
|
print("%s is not a valid spline font database" % sfdname)
|
||||||
|
return
|
||||||
|
|
||||||
|
out.write("SplineFontDB: 3.0\n")
|
||||||
|
|
||||||
|
curglyph = ''
|
||||||
|
cur_gid = 0
|
||||||
|
in_spline_set = False
|
||||||
|
max_dec_enc = 0
|
||||||
|
max_unicode = 0
|
||||||
|
new_gid = 0
|
||||||
|
in_chars = False
|
||||||
|
in_bdf = False
|
||||||
|
bmp_header = ()
|
||||||
|
bdf = OrderedDict()
|
||||||
|
glyphs = OrderedDict()
|
||||||
|
feat_names = {}
|
||||||
|
|
||||||
|
fl = fp.readline()
|
||||||
|
while fl:
|
||||||
|
if proc.test(DROP_RE, fl):
|
||||||
|
fl = fp.readline()
|
||||||
|
continue
|
||||||
|
|
||||||
|
elif in_chars:
|
||||||
|
# Cleanup glyph flags
|
||||||
|
fl = DROP_FLAGS_RE.sub(r"\1\2", fl)
|
||||||
|
fl = DROP_FLAGS_RE.sub(r"\1\2", fl)
|
||||||
|
|
||||||
|
# If we have removed all previously specified glyph flags,
|
||||||
|
# then don't output the "Flags" line for this glyph
|
||||||
|
if proc.test(EMPTY_FLAGS_RE, fl):
|
||||||
|
fl = fp.readline()
|
||||||
|
continue
|
||||||
|
|
||||||
|
if proc.test(SPLINESET_RE, fl):
|
||||||
|
in_spline_set = True;
|
||||||
|
|
||||||
|
elif fl.startswith("EndSplineSet"):
|
||||||
|
in_spline_set = False;
|
||||||
|
|
||||||
|
elif (in_spline_set):
|
||||||
|
# Deselect selected points
|
||||||
|
fl = SELECTED_POINT_RE.sub(clear_selected, fl)
|
||||||
|
|
||||||
|
if fl.startswith("BeginChars:"):
|
||||||
|
in_chars = True;
|
||||||
|
|
||||||
|
elif fl.startswith("EndChars"):
|
||||||
|
in_chars = False;
|
||||||
|
|
||||||
|
out.write("BeginChars: %s %s\n" % (max_dec_enc + 1, len(glyphs)))
|
||||||
|
|
||||||
|
for glyph in glyphs.values():
|
||||||
|
out.write("\n")
|
||||||
|
out.write("StartChar: %s\n" % glyph['name'])
|
||||||
|
out.write("Encoding: %s %s %s\n" % (glyph["dec_enc"], glyph['unicode'], glyph["gid"]))
|
||||||
|
|
||||||
|
for gl in glyph['lines']:
|
||||||
|
if gl.startswith("Refer: "):
|
||||||
|
# deselect selected references
|
||||||
|
gl = SELECTED_REF_RE.sub(r"\1N\2", gl)
|
||||||
|
elif gl.endswith(" [ddx={} ddy={} ddh={} ddv={}]\n"):
|
||||||
|
gl = gl.replace(" [ddx={} ddy={} ddh={} ddv={}]", "")
|
||||||
|
elif gl == fealines_tok:
|
||||||
|
for (flt, fll) in sorted(glyph['fealines']):
|
||||||
|
out.write(fll)
|
||||||
|
continue
|
||||||
|
elif gl.startswith("Validated:"):
|
||||||
|
continue
|
||||||
|
out.write(gl)
|
||||||
|
out.write("EndChar\n")
|
||||||
|
|
||||||
|
out.write("EndChars\n")
|
||||||
|
|
||||||
|
elif proc.test(STARTCHAR_RE, fl):
|
||||||
|
curglyph = proc.match().group(1)
|
||||||
|
glyph = { 'name' : curglyph, 'lines' : [] , 'fealines': [] }
|
||||||
|
|
||||||
|
while curglyph in glyphs:
|
||||||
|
curglyph = curglyph + '#'
|
||||||
|
|
||||||
|
glyphs[curglyph] = glyph
|
||||||
|
|
||||||
|
elif proc.test(ENCODING_RE, fl):
|
||||||
|
dec_enc = int(proc.match().group(1))
|
||||||
|
unicode_enc = int(proc.match().group(2))
|
||||||
|
gid = int(proc.match().group(3))
|
||||||
|
|
||||||
|
max_dec_enc = max(max_dec_enc, dec_enc)
|
||||||
|
max_unicode = max(max_unicode, unicode_enc)
|
||||||
|
|
||||||
|
glyphs[curglyph]['dec_enc'] = dec_enc;
|
||||||
|
glyphs[curglyph]['unicode'] = unicode_enc;
|
||||||
|
glyphs[curglyph]['gid'] = gid;
|
||||||
|
|
||||||
|
elif proc.test(FEASUBPOS_RE, fl):
|
||||||
|
fea_type = proc.match().group(1)
|
||||||
|
if len(glyphs[curglyph]['fealines']) == 0:
|
||||||
|
glyphs[curglyph]['lines'].append(fealines_tok)
|
||||||
|
glyphs[curglyph]['fealines'].append((fealine_order.get(fea_type, 0), fl))
|
||||||
|
|
||||||
|
elif fl.startswith("EndChar"):
|
||||||
|
curglyph = '';
|
||||||
|
|
||||||
|
elif proc.test(BITMAPFONT_RE, fl):
|
||||||
|
in_bdf = True;
|
||||||
|
bdf_header = (proc.match().group(1), str(len(glyphs)), proc.match().group(3))
|
||||||
|
|
||||||
|
elif fl.startswith("EndBitmapFont"):
|
||||||
|
out.write(''.join(bdf_header) + "\n")
|
||||||
|
max_bdf = int(bdf_header[1])
|
||||||
|
for gid in range(0, max_bdf):
|
||||||
|
if gid in bdf:
|
||||||
|
for bdfl in bdf[gid]['lines']:
|
||||||
|
out.write(bdfl)
|
||||||
|
|
||||||
|
out.write("EndBitmapFont\n")
|
||||||
|
in_bdf = False;
|
||||||
|
bdf = {}
|
||||||
|
bdf_header = ()
|
||||||
|
|
||||||
|
elif proc.test(BDFCHAR_RE, fl):
|
||||||
|
cur_gid = int(proc.match().group(1))
|
||||||
|
bdf_char = { 'gid' : cur_gid, 'lines' : [] }
|
||||||
|
bdf_char['lines'].append("BDFChar: " + str(cur_gid) + proc.match().group(2) + "\n")
|
||||||
|
bdf[cur_gid] = bdf_char
|
||||||
|
|
||||||
|
elif proc.test(OTFFEATNAME_RE, fl):
|
||||||
|
while proc.test(OTFFEATNAME_RE, fl):
|
||||||
|
tag, lang, name = proc.match().groups()
|
||||||
|
feat_names[(tag, lang)] = name
|
||||||
|
fl = fp.readline()
|
||||||
|
for feat in sorted(feat_names):
|
||||||
|
out.write("OtfFeatName: '%s' %s %s\n" % (feat[0], feat[1], feat_names[feat]))
|
||||||
|
continue
|
||||||
|
|
||||||
|
else:
|
||||||
|
if not in_chars and not in_bdf:
|
||||||
|
out.write(fl);
|
||||||
|
elif in_chars and curglyph != '':
|
||||||
|
glyphs[curglyph]['lines'].append(fl)
|
||||||
|
elif in_bdf:
|
||||||
|
bdf[cur_gid]['lines'].append(fl)
|
||||||
|
|
||||||
|
fl = fp.readline()
|
||||||
|
|
||||||
|
fp.close()
|
||||||
|
out.close()
|
||||||
|
|
||||||
|
# Program entry point
|
||||||
|
argc = len(sys.argv)
|
||||||
|
if argc > 2:
|
||||||
|
process_sfd_file(sys.argv[1], sys.argv[2])
|
||||||
|
else:
|
||||||
|
print("Usage: sfdnormalize.py input_file.sfd output_file.sfd")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user