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
Nikolaus Waxweiler
54dc6b2dcc
Minor: adjust docstring
2019-09-13 18:27:05 +01:00
Nikolaus Waxweiler
0f5b6e2e83
Reduce use of py23
2019-09-13 18:27:05 +01:00
Nikolaus Waxweiler
14bb52a616
Upgrade Tests/ufoLib to Python 3.6+ syntax
2019-09-13 18:27:05 +01:00
Nikolaus Waxweiler
66dec63231
Trim now redundant code in ufoLib.utils
2019-09-13 18:27:05 +01:00
Nikolaus Waxweiler
bc344380e8
Upgrade syntax to Python 3.6+
2019-09-13 18:27:05 +01:00
Cosimo Lupo
ca08a6f737
rename 'googlei18n' -> 'googlefonts'
2019-09-13 15:35:35 +02:00
Cosimo Lupo
6ab03d41d8
README: rename 'googlei18n' -> 'googlefonts'
2019-09-13 15:06:49 +02:00
Cosimo Lupo
4ef608f5bf
tox: always download latest pip, setuptools and wheel in venvs
2019-09-13 15:06:10 +02:00
Cosimo Lupo
5299188df6
Merge pull request #185 from anthrotype/output-implied-closing-line
...
cu2qu/ufo: must use PointToSegmentPen with outputImpliedClosingLine=True
2019-09-13 14:34:07 +02:00
Cosimo Lupo
855166c518
cu2qu/ufo: must use PointToSegmentPen with outputImpliedClosingLine=True
...
When collecting a glyph's segments, we can't simply call the glyphs' draw
method with the GetSegmentsPen, but we must initialize the
PointToSegmentPen explicitly with outputImpliedClosingLine=True.
By default PointToSegmentPen does not outputImpliedClosingLine -- unless
last and first point on closed contour are duplicated.
Because we are converting multiple glyphs at the same time, we want to
make sure the _get_segments function returns the same number of segments,
whether or not the last and first point overlap.
Fixes https://github.com/googlefonts/fontmake/issues/572
Also see: https://github.com/fonttools/fonttools/pull/1720
2019-09-13 13:14:03 +02:00
Khaled Hosny
7aa18f3cd8
4.x series is no longer upcoming [ci skip]
2019-09-11 22:39:21 +02:00
Cosimo Lupo
9e6f8945b6
Bump version: 4.0.1 → 4.0.2.dev0
2019-09-11 15:22:45 +02:00
Cosimo Lupo
807d21406b
Release 4.0.1
2019-09-11 15:22:44 +02:00
Cosimo Lupo
ad410c16f1
Update changelog [skip ci]
2019-09-11 15:17:21 +02:00
Cosimo Lupo
e9c7a5227a
_n_a_m_e_test: more tests for removeNames
2019-09-11 15:01:46 +02:00
Cosimo Lupo
7dd510b3b8
Merge pull request #1719 from m4rc1e/name-remove
...
[name] add removeName method to table__n_a_m_e
2019-09-11 14:53:11 +02:00
Marc Foley
4e316cae57
[name] add removeNames method to table__n_a_m_e
2019-09-11 11:56:09 +01:00
Cosimo Lupo
f2915e7480
Merge pull request #1706 from dscorbett/splitMultipleSubst
...
Fix MultipleSubst subtable overflows
2019-09-11 09:53:13 +02:00
David Corbett
47c671b1e0
Test splitMultipleSubst
2019-09-10 13:17:40 -04:00
Cosimo Lupo
246e52be70
susbet: minor
2019-09-10 16:52:56 +02:00
Cosimo Lupo
644d7e3b9a
Merge pull request #1698 from khaledhosny/subset-ebdt-fix
...
[subset] Prune empty strikes in EBDT data
2019-09-10 16:45:29 +02:00
Cosimo Lupo
7c2adacec5
_h_h_e_a_test: add tests for hhea.descender, alias of 'descent'
2019-09-10 16:27:22 +02:00
Cosimo Lupo
272a156fc3
Merge pull request #1715 from simoncozens/hhea-aliases
...
[ttLib] Add aliases for renamed entries in hhea table
2019-09-10 16:24:13 +02:00
Cosimo Lupo
4e9fa7a44c
Merge pull request #1708 from madig/name-toStr-equal-toUnicode
...
name: Remove now unnecessary Python 2 code path
2019-09-10 16:22:54 +02:00
Cosimo Lupo
9938efbef5
Merge pull request #1712 from chrissimpkins/refactor-array-tofromstring
...
Refactor deprecated array tostring/fromstring methods to tobytes/frombytes
2019-09-10 16:22:04 +02:00
Cosimo Lupo
73f45ffd47
Merge pull request #1717 from fonttools/pyup-scheduled-update-2019-09-09
...
Scheduled weekly dependency update for week 36
2019-09-10 16:19:45 +02:00
Cosimo Lupo
b75cf069cc
Merge pull request #1720 from anthrotype/point-to-segment-pen-overlapping-pts
...
PointToSegmentPen: preserve duplicate last point
2019-09-10 16:17:31 +02:00