7421 Commits

Author SHA1 Message Date
Cosimo Lupo
8d25dbcc30
Merge pull request #1857 from anthrotype/add-required-empty-gvar
[varLib] revert to always build gvar, even if empty
2020-03-13 15:38:54 +00:00
Cosimo Lupo
2516a42a88
[varLib] revert to always build gvar, even if empty
turns out gvar is required by OT spec for VF with TrueType outlines:
see https://github.com/fonttools/fonttools/issues/1855#issuecomment-598769956
2020-03-13 15:29:38 +00:00
Cosimo Lupo
42dcfddfb9
appveyor: test 3.8; don't test 3.6 anymore (already tested on Linux) 2020-03-12 18:33:11 +00:00
Cosimo Lupo
f66425997f
Enable testing on Python 3.8 2020-03-12 18:31:41 +00:00
Cosimo Lupo
e1bd27ed98
Merge pull request #1849 from fonttools/pyup-scheduled-update-2020-03-09
Scheduled weekly dependency update for week 10
2020-03-12 18:23:48 +00:00
Cosimo Lupo
f238bb4340
Bump version: 4.4.2 → 4.4.3.dev0 2020-03-12 14:18:21 +00:00
Cosimo Lupo
b6dbfa4f5c
Release 4.4.2 2020-03-12 14:18:20 +00:00
Cosimo Lupo
23b1ab25d8
Update changelog [skip ci] 2020-03-12 14:17:54 +00:00
Cosimo Lupo
59bcc0e897
Merge pull request #1852 from schriftgestalt/master
remove unused variable
2020-03-12 14:11:05 +00:00
Cosimo Lupo
47a201c03c
Merge pull request #1850 from simoncozens/explain-lookupflags
Annotate LookupFlag ttx dump
2020-03-12 13:58:39 +00:00
schriftgestalt
a0f39128d4 remove unused variable 2020-03-12 13:46:42 +01:00
Simon Cozens
681ca4ae0c Test the flags, not the value
Avoids an empty comment when reserved values are used.
2020-03-12 11:51:36 +00:00
Simon Cozens
8fac69b0ea Also output mark attachment class 2020-03-11 13:59:05 +00:00
Simon Cozens
d6d21e067d Someone wrote more tests while I wasn't looking 2020-03-10 21:48:45 +00:00
Simon Cozens
ab075a9957 Annotate LookupFlag ttx dump 2020-03-10 21:42:28 +00:00
pyup-bot
1c538f2ed7 Update lxml from 4.4.1 to 4.5.0 2020-03-09 15:30:11 +00:00
pyup-bot
fc5bb99e26 Update scipy from 1.3.1 to 1.4.1 2020-03-09 15:30:10 +00:00
Nikolaus Waxweiler
eb6b4b596c
Merge pull request #1842 from fonttools/fealib-include-error-msg
Add a proper message to IncludedFeaNotFound
2020-02-27 23:27:24 +00:00
Nikolaus Waxweiler
36c64087a8 Add a proper message to IncludedFeaNotFound
Also, minor f-string refactor.
2020-02-27 18:13:45 +00:00
Cosimo Lupo
5025035f9e .travis.yml: try to remove 'exclude: python3.6' 2020-02-26 22:53:13 +00:00
Cosimo Lupo
31f7ce108e .travis.yml: use python3.6 as default python 2020-02-26 22:43:21 +00:00
Cosimo Lupo
181dc1dbfc Revert "Update and rename .travis.yml to Update .travis.yml"
This reverts commit 328d4cdb5313a13a951253664f834522c3f9cc44.

Sorry, I was trying to commit a change from Github mobile UI on my phone
and messed up.
2020-02-26 22:41:42 +00:00
Cosimo Lupo
328d4cdb53
Update and rename .travis.yml to Update .travis.yml 2020-02-26 22:39:40 +00:00
Cosimo Lupo
19ba958325
Bump version: 4.4.1 → 4.4.2.dev0 2020-02-26 18:32:01 +00:00
Cosimo Lupo
569fa2dbc4
Release 4.4.1 2020-02-26 18:32:00 +00:00
Cosimo Lupo
f22efa5111
Update changelog [skip ci] 2020-02-26 18:31:55 +00:00
Cosimo Lupo
0d53cfbb99
woff2_test: add test with CBDT/CBLC font without glyf/loca tables 2020-02-26 18:24:53 +00:00
Cosimo Lupo
be147e965d
woff2: don't attempt to normalize glyf/loca if missing (e.g. CBDT/CBLC fonts like NotoColorEmoji.ttf) 2020-02-26 18:14:31 +00:00
Cosimo Lupo
f20736690d
Merge pull request #1839 from ChristofKaufmann/fix-date-parsing-localization
Use non-localized date parsing to fix #1838
2020-02-25 20:05:26 +00:00
Christof Kaufmann
edbfe95f45 Add test for non-localized date parsing 2020-02-25 20:36:02 +01:00
Christof Kaufmann
1a6cb48ea0 Use non-localized date parsing to fix #1838 2020-02-25 11:59:31 +01:00
Khaled Hosny
51bff6cf6a
Merge pull request #1836 from khaledhosny/fontbuilder-varlib-cff
fontBuilder: Allow varLib to use fresh CFF table
2020-02-22 14:30:45 +02:00
Khaled Hosny
323d0c85d1 fontBuilder: Allow varLib to use fresh CFF table
Make sure the CFF table generated by fontBuilder can be used by varLib
without having to compile and decompile the table first. This was
breaking in converting the CFF table to CFF2 due to some unset
attributes.
2020-02-22 13:51:45 +02:00
Cosimo Lupo
ee213a28f7
Bump version: 4.4.0 → 4.4.1.dev0 2020-02-18 15:25:12 +00:00
Cosimo Lupo
996f2ac1a5
Release 4.4.0 2020-02-18 15:25:11 +00:00
Cosimo Lupo
76d125b3e2
Update changelog [skip ci] 2020-02-18 15:24:14 +00:00
Cosimo Lupo
909be35e57
Merge pull request #1826 from anthrotype/colorLib
colorLib: add buildCOLR and buildCPAL
2020-02-18 15:11:41 +00:00
Cosimo Lupo
d9250ddcf5
fontBuilder: allow to build v1 from setupCPAL method 2020-02-17 18:35:15 +00:00
Cosimo Lupo
a0a4901a5e
colorLib_test: add tests for buildCPAL v1 2020-02-17 18:28:24 +00:00
Cosimo Lupo
bb46604ec2
colorLib: allow to build CPAL version=1 2020-02-17 18:25:45 +00:00
Cosimo Lupo
f60bcc2c5a
[CPAL] the absence of a color palette label nameID is 0xFFFF, not 0 2020-02-17 17:03:37 +00:00
Cosimo Lupo
7a2f68a317
colorLib: add type annotations 2020-02-17 12:11:53 +00:00
Cosimo Lupo
acfae6721b
add tests for buildCORL and buildCPAL 2020-02-17 12:11:53 +00:00
Cosimo Lupo
f8b9887f85
fontBuilder: add setupCOLR and setupCPAL methods 2020-02-17 12:11:52 +00:00
Cosimo Lupo
191a036f26
colorLib: add buildCOLR and buildCPAL 2020-02-17 12:11:51 +00:00
Cosimo Lupo
3826fc7d60
Merge pull request #1831 from anthrotype/scaled-component-anchor-pts
[glyf] fix getCoordinates for composite glyphs that use anchor points
2020-02-17 11:20:40 +00:00
Cosimo Lupo
8423e01a18
ufoLib: don't crash if UFO2 has openTypeHheaCaretOffset=0.0
validators are picky so give them integers when they want integers
2020-02-15 13:25:45 +00:00
Cosimo Lupo
183792c747
_g_l_y_f_test: add tests for Glyph.getCoordinates and GlyphComponent.to/fromXML 2020-02-13 18:08:38 +00:00
Cosimo Lupo
7c023c42af
[glyf] if comp uses anchors compute firstPt-secondPt offset after applying transform
Fixes https://github.com/fonttools/fonttools/issues/1556

When a component uses firstPt/secondPt reference anchor points instead of XY offsets,
and the component also has a transform, fonttools is incorrectly computing its bounding box.
This is because we are computing the translation offset between firstPt and secondPt before
applying the 2x2 scale/rotation/shear transform. By the time we do the translation, the
offset is now incorrect.

We need to compute the translation offset after we have applied the 2x2 transform.
2020-02-13 18:07:57 +00:00
Cosimo Lupo
d8d824011a
Merge pull request #1830 from anthrotype/scaled-comp-bbox
[ttGlyphPen] quantize component.transform to F2Dot14 to normalize bbox
2020-02-13 15:37:45 +00:00