10828 Commits

Author SHA1 Message Date
Cosimo Lupo
29409c40fb
Merge pull request #3208 from fonttools/dependabot/github_actions/pypa/gh-action-pypi-publish-1.8.8
Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.8
2023-07-24 09:41:51 +01:00
Cosimo Lupo
60b5ad3137
Merge pull request #3160 from fonttools/dependabot/github_actions/docker/setup-qemu-action-2.2.0
Bump docker/setup-qemu-action from 2.1.0 to 2.2.0
2023-07-24 09:41:20 +01:00
Cosimo Lupo
1aa75620b2
Merge pull request #3174 from fonttools/dependabot/github_actions/actions/setup-python-4
Bump actions/setup-python from 2 to 4
2023-07-24 09:40:59 +01:00
Cosimo Lupo
cc37c97b1b
Merge pull request #3173 from fonttools/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2023-07-24 09:40:51 +01:00
Cosimo Lupo
f60683300d
Merge pull request #3199 from fonttools/dependabot/pip/scipy-1.10.0
Bump scipy from 1.9.3 to 1.10.0
2023-07-24 09:40:28 +01:00
Cosimo Lupo
b1ac5aa581
Bump version: 4.41.1 → 4.41.2.dev0 2023-07-21 17:27:00 +01:00
Cosimo Lupo
06b9c911cb
Release 4.41.1 2023-07-21 17:26:59 +01:00
Cosimo Lupo
6b173b15e7
Update NEWS.rst [skip ci] 2023-07-21 17:26:36 +01:00
Cosimo Lupo
bc5f6e1e32
Merge pull request #3216 from fonttools/document-instance-labels
Document instance labelling
2023-07-21 11:40:10 +01:00
Behdad Esfahbod
530e409416 [name] Speed up NameRecordVisitor
Don't visit large tables without any name records.
2023-07-20 10:16:04 -06:00
Behdad Esfahbod
d27cc3abf8 Revert "Merge pull request #3214 from fonttools/subset-speed-regression"
This reverts commit f7965ba0086ebad9e3fa103935dc2edf41ffe780, reversing
changes made to 31319a7ef218237eea7cd6713ec29032a5cdd752.
2023-07-20 10:16:04 -06:00
Cosimo Lupo
f7965ba008
Merge pull request #3214 from fonttools/subset-speed-regression
[subset] Revert use of NameVisitor to fix speed regression
2023-07-20 15:34:32 +01:00
Nikolaus Waxweiler
896ac28f99 Document instance labelling 2023-07-20 15:18:36 +01:00
Behdad Esfahbod
31319a7ef2
Merge pull request #3212 from fonttools/instancer-null-conditionset
[instancer] Allow null ConditionSet
2023-07-20 07:56:29 -06:00
Cosimo Lupo
2dcdb17e90
instancer_test: add test for null ConditionSet offset 2023-07-20 11:15:32 +01:00
Cosimo Lupo
687e23cf3f
[NameVisitor] remove logging, caller can log if they wish 2023-07-20 10:27:30 +01:00
Cosimo Lupo
f0d601a5f2
[subset] Revert use of NameVisitor in subsetter which may be causing speed regression
Intended to fix #3213

Revert "Implement Cosimo feedback"

This reverts commit cfede76fd93012a79457232d79884b3c885bf81b.

Revert "remove redundant CPAL name removal code"

This reverts commit b5639410abe9b57d9764639839621d9f1995c873.

Revert "convert name table _prune_pre_subset to prune_post_subset"

This reverts commit 0a6e8bf1c308c843fbbf65e06e4eb5734aa941a2.

Revert "Use NameRecordVisitor in subsetter"

This reverts commit edf8891fba54015c5d37a6397b7b95f14dfe5662.
2023-07-20 10:26:28 +01:00
Behdad Esfahbod
3f46e67e8b [statisticsPen] Report font-wide slant 2023-07-19 20:03:38 -06:00
Behdad Esfahbod
b0cf3e1ebe [instancer] Allow null ConditionSet
Fixes https://github.com/fonttools/fonttools/issues/3211
2023-07-19 19:55:42 -06:00
Behdad Esfahbod
8707a1da58 [statisticsPen] Report font glyph-average weight/width 2023-07-19 19:55:32 -06:00
Just van Rossum
159cc0c04e
Merge pull request #3210 from StudioProcess/created-date-regression
Fix wrong created date in fontBuilder
2023-07-18 17:27:26 +02:00
Martin Grödl
534cb53b4a Fix regression
Bug introduced in a421f9045a (diff-c01f84c2ac99ae2b60f071d4a38ff88c2653d27f19e62e11bef3dc7fe7f68925R352)
2023-07-18 16:58:21 +02:00
Behdad Esfahbod
b14a29c353 [varLib.merger] Support sparse CursivePos
Part of https://github.com/fonttools/fonttools/issues/3168
2023-07-18 07:14:25 -06:00
dependabot[bot]
68237fc974
Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.8
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.6 to 1.8.8.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.6...v1.8.8)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 19:11:33 +00:00
Cosimo Lupo
56731a9f14
Merge pull request #3204 from daltonmaag/fix-unicodedata-typing
Fix typing of script_horizontal_direction()
2023-07-13 15:30:00 +01:00
Harry Dalton
9bfb72b055 Fix typing of script_horizontal_direction()
Without explicit annotation, some type checkers infer that the type of
the 'default' argument can only be type[KeyError]. This was the case
in unicodedata_test.py, where pyright disallowed "LTR". This commit adds
annotations to avoid this, fixing the issue in the test (and external
code dependent on the API).

Some of the other functions in this file have the same semantics and
suffer from the same type error, and so this fix could also be extended
to them as usage requires.
2023-07-13 13:53:36 +01:00
Harry Dalton
d61cad65fc Remove some of the str conversions that are redundant in Python 3 2023-07-13 13:50:55 +01:00
Cosimo Lupo
fac5b47060
Bump version: 4.41.0 → 4.41.1.dev0 2023-07-12 19:27:22 +01:00
Cosimo Lupo
66fbd09186
Release 4.41.0 2023-07-12 19:27:21 +01:00
Cosimo Lupo
ba703e5bc5
Update NEWS.rst [skip ci] 2023-07-12 19:26:53 +01:00
Cosimo Lupo
8846b57304
Merge pull request #3201 from NightFurySL2001/patch-1
Convert panoseDefault to namespace object
2023-07-12 19:24:16 +01:00
Cosimo Lupo
c9d965b581
Merge pull request #3185 from m4rc1e/clean-nametable
Remove redundant name table records
2023-07-12 19:12:15 +01:00
Behdad Esfahbod
fb56e7b7c9
Merge pull request #3179 from fonttools/L4-fixes
L4 fixes
2023-07-11 10:47:59 -04:00
Behdad Esfahbod
0893ba93f8 [instancer/L4] Address review comments 2023-07-11 08:46:46 -06:00
Cosimo Lupo
5ac1e5bc1a
Merge pull request #3202 from fonttools/cff-latin1-strings
CFF: use latin1 so we can roundtrip non-ASCII in {Full,Font,Family}Name
2023-07-10 19:39:06 +01:00
Cosimo Lupo
a8bd0ef1b0
CFF: use latin1 so we can roundtrip non-ascii in FullName|FontName|FamilyName
Fixes #2898

use Latin1Converter for all name strings, and not just for Notice and Copyright. Then at least we can round-trip binary=>TTF=>binary, even if the TTX will not show the intended string.

Given that any non-ASCII in FullName can be considered broken, this at least this would let us round-trip without error.
2023-07-10 18:12:49 +01:00
Marc Foley
cfede76fd9 Implement Cosimo feedback 2023-07-10 15:01:40 +01:00
Marc Foley
3bd6eefb65 rm Snippets/clean-nametable.py 2023-07-10 14:41:01 +01:00
NightFurySL2001
e97aab69eb
Fix test bug 2023-07-08 00:10:12 +08:00
David Corbett
4660b8c359 Return three-byte operands from encodeIntCFF 2023-07-07 12:01:15 -04:00
NightFurySL2001
20236624e1
Add panose test for fontbuilder 2023-07-07 23:34:02 +08:00
NFSL2001
be44c92cfa
Update Lib/fontTools/ttLib/tables/O_S_2f_2.py
Co-authored-by: Cosimo Lupo <cosimo@anthrotype.com>
2023-07-07 23:12:44 +08:00
NightFurySL2001
ef8e15a08c
Use Panose class 2023-07-07 22:09:58 +08:00
NightFurySL2001
ef95a58c3c
Convert panoseDefault to namespace object 2023-07-07 21:36:40 +08:00
dependabot[bot]
d2194d2056
Bump scipy from 1.9.3 to 1.10.0
Bumps [scipy](https://github.com/scipy/scipy) from 1.9.3 to 1.10.0.
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](https://github.com/scipy/scipy/compare/v1.9.3...v1.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 23:32:45 +00:00
Behdad Esfahbod
3235454fcd [designspace] Mark <source name="..."> as optional
Fixes https://github.com/fonttools/fonttools/issues/3193
2023-06-29 12:33:05 -04:00
Marc Foley
b5639410ab remove redundant CPAL name removal code 2023-06-28 17:18:12 +01:00
Marc Foley
0a6e8bf1c3 convert name table _prune_pre_subset to prune_post_subset 2023-06-28 17:02:34 +01:00
Behdad Esfahbod
46086cdb66 [interpolatable] Add --glyphs 2023-06-27 16:59:05 -06:00
Behdad Esfahbod
09464e5825 Comment 2023-06-27 09:53:37 -06:00