Cosimo Lupo
28b685c9c0
bump unicodedata2 requirement >= 12.1.0
2019-10-17 12:15:31 +01:00
Nikolaus Waxweiler
f939d2dc31
Merge pull request #1743 from fonttools/remove-some-py2-vestiges
...
Remove some Python 2 vestiges, deprecate using non-builtin types in plistlib
2019-10-14 11:18:50 +01:00
Nikolaus Waxweiler
6b9eefcf48
Warn if use_builtin_types is False
2019-10-14 11:04:52 +01:00
Nikolaus Waxweiler
6da6a2c377
Fix typo
2019-10-12 13:49:36 +01:00
Nikolaus Waxweiler
94c3aff991
Remove redundant object subclassing
2019-10-12 13:44:03 +01:00
Nikolaus Waxweiler
b54e11c1a5
Remove conditional to use built-in types by default
2019-10-12 13:40:48 +01:00
Nikolaus Waxweiler
c67a2e5ff0
Remove more legacy imports
2019-10-12 13:26:59 +01:00
Nikolaus Waxweiler
2acb1de6c9
Remove unicode
import
2019-10-12 13:22:31 +01:00
Nikolaus Waxweiler
fb07ab1d8f
Remove PY2-era re.ASCII reference
2019-10-12 12:24:16 +01:00
Nikolaus Waxweiler
641058ead2
Remove PY2 conditional and unicode
import
2019-10-12 12:20:22 +01:00
Nikolaus Waxweiler
b0afdc273e
Remove singledispatch import conditional
2019-10-12 12:20:06 +01:00
Nikolaus Waxweiler
969df8303b
Remove some Python 2 era import gaming
2019-10-11 22:36:33 +01:00
Nikolaus Waxweiler
cea5abd676
Merge pull request #1742 from fonttools/name-handle-duplicate-name-records-different-string-types
...
[name] Handle duplicate name records with different `string` types
2019-10-11 18:53:45 +02:00
Nikolaus Waxweiler
e4f7495f32
[name] Be less cautious about getting data for NameRecord comparisons
2019-10-11 17:39:56 +01:00
Nikolaus Waxweiler
2e82438d93
[name] Handle duplicate name records with different string
types
2019-10-11 14:24:03 +01:00
Cosimo Lupo
5f2eaf12cf
Merge pull request #1740 from anthrotype/fixed-to-float-str
...
don't round in fixedToFloat, unless we're dumping floats to XML
2019-10-09 18:10:13 +01:00
Cosimo Lupo
7433ac786a
graphite: round 16.16F 'version' to shortest decimal float on decompile
...
we could alternatively decode these version fields as a long integer like we do elsewhere
for similar table versions, but I am not sure whether external code relies on them being
like they are now (i.e. compact decimal float).
https://github.com/fonttools/fonttools/issues/944
2019-10-08 13:40:07 +01:00
Cosimo Lupo
2eeba71d5f
fix cvar, gvar and instancer tests to compare floats as almost-equality
2019-10-08 13:40:07 +01:00
Cosimo Lupo
a7e368d00f
otConverters: use floatToFixedToStr/strToFixedToFloat in Fixed/F2Dot14 toXML/fromXML
2019-10-08 13:40:06 +01:00
Cosimo Lupo
eb5a2ceb8d
_t_r_a_k: use floatToFixedToStr and strToFixedToFloat in TrackTableEntry toXML/fromXML
2019-10-08 13:40:06 +01:00
Cosimo Lupo
c60512de0e
_g_l_y_f: use floatToFixedToStr and strToFixedToFloat in GlyphComponent toXML/fromXML
2019-10-08 13:40:06 +01:00
Cosimo Lupo
8791caf3b8
_a_v_a_r: use floatToFixedToStr and strToFixedToFloat in toXML/fromXML methods
2019-10-08 13:40:05 +01:00
Cosimo Lupo
d66c92fbe0
_f_v_a_r: use floatToFixedToStr and strToFixedToFloat in Axis and NamedInstance
2019-10-08 13:40:05 +01:00
Cosimo Lupo
b50c10af7a
TupleVariation_test: test toXML and fromXML with float axis supports
2019-10-08 13:40:05 +01:00
Cosimo Lupo
79d654eaf2
TupleVariation: use floatToFixedToStr and strToFixedToFloat in toXML/fromXML methods
2019-10-08 13:40:04 +01:00
Cosimo Lupo
8500dfca71
psCharStrings_test: test load/dump fixed point numbers
2019-10-08 13:40:04 +01:00
Cosimo Lupo
86793f2617
psCharStrings: use floatToFixedToStr and strToFixedToFloat in T2CharString.toXML and fromXML
...
Also, toXML signature must contain ttFont=None keyword argument, like
the rest of toXML methods elsewhere.
2019-10-08 13:40:03 +01:00
Cosimo Lupo
3521094ca9
_h_e_a_d: use floatToFixedToStr and strToFixedToFloat for fontRevision
2019-10-08 13:40:03 +01:00
Cosimo Lupo
6fd31d47ec
fixedTools: use simple divison in fixedToFloat; add floatToFixedToStr, strToFixedToFloat, etc.
...
Fixes #737
2019-10-08 13:40:03 +01:00
Khaled Hosny
be152b4725
Merge pull request #1733 from khaledhosny/fealib-ligature-caret
...
[feaLib] Fix handing of duplicate LigatureCaret
2019-10-01 11:39:39 +02:00
Khaled Hosny
b99ae0d469
[feaLib] Fix handing of duplicate LigatureCaret
...
The spec has been updated for a while to allow only one rule per glyph,
and makeotf uses the first and ignores the rest.
See https://github.com/adobe-type-tools/afdko/issues/95 , and
https://github.com/adobe-type-tools/afdko/issues/155
2019-09-26 16:44:46 +02:00
Cosimo Lupo
7ed5c78dc1
Bump version: 4.0.2 → 4.0.3.dev0
2019-09-26 12:08:15 +01:00
Cosimo Lupo
3e3d8811db
Release 4.0.2
2019-09-26 12:08:14 +01:00
Cosimo Lupo
fca6d491cb
setup.py: bump2version 0.5.11 moved main() into cli submodule
2019-09-26 12:08:05 +01:00
Cosimo Lupo
90be43b879
Update changelog [skip ci]
2019-09-26 12:04:40 +01:00
Cosimo Lupo
c4deb6caab
Merge pull request #1728 from silnrsi/bugfix3
...
py3 fixup Silf corner case where script is actually used
2019-09-26 11:59:15 +01:00
Khaled Hosny
84acd87b6b
Merge pull request #1732 from khaledhosny/voltlib-process-marks
...
[voltLib] Handle ALL and NONE in PROCESS_MARKS
2019-09-26 12:56:00 +02:00
Khaled Hosny
91cb76554d
[voltLib] Handle ALL and NONE in PROCESS_MARKS
...
Both were treated as group names, as NONE was not checked at all and
code for ALL was never reached.
2019-09-25 13:03:52 +02:00
Khaled Hosny
af42fc24b7
[merge] Handle duplicate glyph names better
...
Instead of appending font index to all glyph names and still potentially
have duplicates, use similar code like we use and “post” and “CFF”
tables to handle duplicate glyph names.
2019-09-19 09:51:08 +02:00
Martin Hosken
7129501e0d
py3 fixup Silf corner case where script is actually used
2019-09-18 09:22:55 +07:00
Nikolaus Waxweiler
7cb8e01eda
Merge pull request #1718 from fonttools/ufoLib-py36-cleanup
...
ufoLib: Clean up some legacy code
2019-09-17 17:13:51 +01:00
Nikolaus Waxweiler
473cf5e0c6
userNameToFileName: add str annotation for userName
2019-09-14 22:26:48 +01:00
Nikolaus Waxweiler
cf2fd0671b
Assume layer and glyph names are always str
2019-09-14 22:11:20 +01:00
Nikolaus Waxweiler
d36204bf32
Make the original testRemoveDefaultLayer test run
2019-09-14 21:59:39 +01:00
Nikolaus Waxweiler
562052bb86
Don't allow byte layer names
2019-09-14 21:55:46 +01:00
Nikolaus Waxweiler
dcb1fb67ce
Remove stale comment
2019-09-14 20:41:17 +01:00
Nikolaus Waxweiler
20b1e06100
Remove integerTypes, it's just an int now
2019-09-13 18:53:10 +01:00
Nikolaus Waxweiler
9825553e06
Use !r in-string formatter syntax instead of repr(value)
2019-09-13 18:45:19 +01:00
Nikolaus Waxweiler
b51a2b616e
Minor: revert docstring change
2019-09-13 18:28:08 +01:00
Nikolaus Waxweiler
51c8a7a3e1
Remove some unused imports
2019-09-13 18:27:05 +01:00