10958 Commits

Author SHA1 Message Date
Cosimo Lupo
05dc231072
Create SECURITY.md 2023-10-03 11:47:25 +01:00
Cosimo Lupo
f95105b669
Bump version: 4.43.0 → 4.43.1.dev0 2023-09-29 11:26:16 +01:00
Cosimo Lupo
145460e77f
Release 4.43.0 2023-09-29 11:26:15 +01:00
Cosimo Lupo
64f3fd83d9
Update changelog [skip ci] 2023-09-29 11:21:57 +01:00
Cosimo Lupo
7aea49e88c
Merge pull request #3283 from hugovk/main
Add support for Python 3.12
2023-09-29 10:41:56 +01:00
Hugo van Kemenade
4470c4401d Bump requirements.txt to support Python 3.12 2023-09-29 10:57:05 +03:00
Hugo van Kemenade
0c87cbad6e Bump scipy for Python 3.12 support 2023-09-29 10:33:59 +03:00
Hugo van Kemenade
eda6fa5cfb Add support for Python 3.12 2023-09-29 10:33:59 +03:00
dependabot[bot]
0e033b0e5c Bump reportlab from 3.6.12 to 3.6.13 in /Doc
Bumps [reportlab](http://www.reportlab.com/) from 3.6.12 to 3.6.13.

---
updated-dependencies:
- dependency-name: reportlab
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-28 16:44:41 -06:00
Behdad Esfahbod
60126435df [iup] Work around cython bug
Fixes https://github.com/fonttools/fonttools/issues/3282

Ref https://github.com/cython/cython/issues/3928
2023-09-28 16:39:03 -06:00
Behdad Esfahbod
b14268a23c [iup] Remove copy/pasta 2023-09-28 12:30:10 -06:00
Behdad Esfahbod
0a3360e527 [varLib.avar] New module to compile avar from .designspace file
Fixes https://github.com/fonttools/fonttools/issues/3275
2023-09-22 10:09:18 -06:00
Cosimo Lupo
532a771b98 fix minor typo [skip ci] 2023-09-15 16:58:17 +02:00
Cosimo Lupo
9f61271dc1 subset: parse OT-SVG with resolve_entities=False
to guard against XXE attacks as recommended in https://codeql.github.com/codeql-query-help/python/py-xxe/
2023-09-15 16:50:38 +02:00
Behdad Esfahbod
74240afc35 Revert "[varLib] Fix comment"
This reverts commit a54e45a6eafe6006b24b654c6933dd15bdbd436d.
2023-09-15 07:53:09 -06:00
Behdad Esfahbod
964685ae44 [avarPlanner] A couple more minor changes to main() 2023-09-15 07:48:00 -06:00
Behdad Esfahbod
ebbe869367 [avarPlanner] Move a couple lines around 2023-09-15 07:44:27 -06:00
Behdad Esfahbod
a54e45a6ea [varLib] Fix comment 2023-09-15 07:40:29 -06:00
Cosimo Lupo
1ef5569959
CI: install latest cibuildwheel
fork no longer needed, as patch was fixed upstream
2023-09-08 12:20:42 +01:00
Cosimo Lupo
9b1dae4765
CI: also build wheels for Python 3.12 2023-09-08 12:17:57 +01:00
Cosimo Lupo
02784f3806
Merge pull request #3268 from qxliu76/bug_fix
fix the order of prune_unused_regions
2023-09-05 19:20:39 +01:00
Qunxin Liu
a51b3c9d68 fix the order of prune_unused_regions, should be after vardata optimization 2023-09-05 10:44:29 -07:00
Cosimo Lupo
886d3b36ca
Bump version: 4.42.1 → 4.42.2.dev0 2023-08-20 13:58:29 +01:00
Cosimo Lupo
95e1579b3e
Release 4.42.1 2023-08-20 13:58:25 +01:00
Cosimo Lupo
880d7b3f9d
black 2023-08-20 11:59:40 +01:00
Cosimo Lupo
fbad03c267
Update changelog [skip ci] 2023-08-20 11:58:44 +01:00
Cosimo Lupo
457f11c29b
Fix AttributeError: 'OffsetToWriter' object has no attribute 'repeatIndex'
Fixes #3260
2023-08-20 11:47:54 +01:00
Cosimo Lupo
dd783ff95e
Merge pull request #3253 from fonttools/name-warning
[ttLib] Fix warning when calling addMultilingualName() with "ar" name
2023-08-14 09:25:27 +01:00
Khaled Hosny
ae31d05605 [ttLib] Fix warning when calling addMultilingualName() with "ar" name
I get warning from _makeMacName() because it does not have a TTFont, but
the font is there, just not passed from addMultilingualName() ->
findMultilingualName() -> _makeMacName().
2023-08-13 14:21:32 +03:00
Simon Cozens
57fb47de3a
Allow for merging of NULL anchors (#3248)
* A failing test for #3247

* Fix up NULL entry/exit records on merge, fixes #3247
2023-08-07 17:12:12 +01:00
Cosimo Lupo
a8d5d45b39
Merge pull request #3241 from fonttools/better-packer
[otBase/packer] Allow sharing tables reached by different offset sizes
2023-08-04 16:06:15 +01:00
Cosimo Lupo
d2fd4dfb24
C_O_L_R_test: add test for paint pointed to by both 3- and 4-byte offsets 2023-08-04 11:45:20 +01:00
Just van Rossum
7d6d0575de
Merge pull request #3240 from fonttools/issue3238
[t1Lib] Fix several Type 1 issues
2023-08-04 09:57:37 +02:00
Just van Rossum
b00c50b502 Remove false Python 2 remark 2023-08-04 07:37:59 +02:00
Behdad Esfahbod
4ccbcf3eb3 [COLR] Fix thinko 2023-08-03 17:56:38 -06:00
Behdad Esfahbod
286e6466cd [otBase/packer] Remove offsetSize from OTTableWriter 2023-08-03 11:17:41 -06:00
Behdad Esfahbod
2b629e51c2 [otBase/packer] Allow sharing tables reached by different offset sizes
This makes us match hb-subset now.

Fixes https://github.com/fonttools/fonttools/issues/3236
2023-08-03 11:10:16 -06:00
Just van Rossum
2808d995b2 Fix several issues exposed by the fonts posted in #3238
- fix when /Private follows /CharStrings instead of vv
- fix expected ND and PD values
- handle the case where lenIV is not 4 (writing)
- write /Subrs properly, not just the "standard 5"
2023-08-03 16:39:10 +02:00
Cosimo Lupo
ca1af8c990
Bump version: 4.42.0 → 4.42.1.dev0 2023-08-02 17:44:45 +01:00
Cosimo Lupo
5b48e9e477
Release 4.42.0 2023-08-02 17:44:44 +01:00
Cosimo Lupo
c4c0666d01
Update NEWS.rst [skip ci] 2023-08-02 17:44:09 +01:00
Cosimo Lupo
764cc79a95
Merge pull request #3235 from fonttools/varlib-sparse-vhmtx
varLib: use sentinel to mark glyph metrics as sparse
2023-08-02 16:46:34 +01:00
Cosimo Lupo
b73969b2ff
ignore lsb, just use 0xFFFF for sparse advance 2023-08-02 15:54:34 +01:00
Cosimo Lupo
48ae9cbf1c
use 0 for sidebearing sparse metrics sentinel
font sources only allow to specify advances, the sidebearings are computed. Makes more sense for the sparse metrics to have 0 for the sidebearings as the glyph that's meant to be 'sparse' is most likely empty with no outlines
2023-08-02 15:12:26 +01:00
Cosimo Lupo
ecfc5eeeb7
varLib: use sentinel to mark glyph metrics as sparse
as discussed in https://github.com/googlefonts/ufo2ft/issues/501
2023-08-02 14:54:47 +01:00
Cosimo Lupo
ac9421d60c
Merge pull request #3234 from fonttools/sparse-cff2
Sparse cff2
2023-08-02 14:38:26 +01:00
Cosimo Lupo
c9963fd4cd
minor comment 2023-08-02 14:06:35 +01:00
Cosimo Lupo
653bccdb02
varLib_test: add test for variable CFF2 with empty glyph in sparse master
Three masters, Regular and Bold have glyphs .notdef, a, e; Medium only has .notdef (but empty, no contours) and e.
2023-08-02 14:01:01 +01:00
Behdad Esfahbod
839e76b84d [varLib/cff] Allow sparse masters
Fixes https://github.com/fonttools/fonttools/issues/3233
2023-08-01 11:26:54 -06:00
Behdad Esfahbod
91731f7d2a [avarPlanner] Add more sizes 2023-07-26 12:49:23 -06:00