Behdad Esfahbod
da0c5be0e8
[varLib.avarPlanner] Allow specifying frequencies on the cmdline
2023-07-23 15:42:52 -06:00
Behdad Esfahbod
b860194235
[varLib.avarPlanner] Internal variable rename
2023-07-23 14:55:24 -06:00
Behdad Esfahbod
ac7753c338
[varLib.avarPlanner] Add --design-units
2023-07-23 13:53:26 -06:00
Behdad Esfahbod
1ce57444bb
[varLib.avarPlanner] Handle fonts without wght axis
2023-07-23 13:08:40 -06:00
Behdad Esfahbod
4021f4fc4e
[varLib.avarPlanner] Add --pins
2023-07-23 12:26:40 -06:00
Behdad Esfahbod
9cde7c53fe
[varLib.avarPlanner] Support not saving any font
2023-07-23 11:37:14 -06:00
Behdad Esfahbod
d5a0a9756b
[varLib.avarPlanner] Add -o,--output-file
2023-07-23 11:31:14 -06:00
Behdad Esfahbod
97fec8d6d4
[varLib.avarPlanner] Use glyphSetFunc argument
2023-07-23 11:17:01 -06:00
Behdad Esfahbod
8355b58e85
[varLib.avarPlanner] Use space-separate lists instead of comma
2023-07-23 11:12:26 -06:00
Behdad Esfahbod
700f69a559
[varLib.avarPlanner] Add --glyphs
2023-07-23 10:40:02 -06:00
Behdad Esfahbod
deb472c47f
[varLib.avarPlanner] Add --weights
2023-07-23 10:29:59 -06:00
Behdad Esfahbod
758fbb7d74
[varLib.avarPlanner] Add --samples
2023-07-23 10:27:19 -06:00
Behdad Esfahbod
ffc1cd4801
[varLib.avarPlanner] Add __all__
2023-07-23 10:23:39 -06:00
Behdad Esfahbod
3ad51d6339
[varLib.avarPlanner] Add addEmptyAvar
2023-07-23 10:19:35 -06:00
Behdad Esfahbod
6f7102021a
[varLib.avarPlanner] Demote a couple messages to debug
2023-07-23 10:16:10 -06:00
Behdad Esfahbod
385dc84b1e
[varLib.avarPlanner] Remove slntAxis for now
...
Will add back when implementing slant planning.
2023-07-23 10:08:09 -06:00
Behdad Esfahbod
43df0ae0a1
[varLib.avarPlanner] Fix creation of new avar table
2023-07-23 10:06:51 -06:00
Behdad Esfahbod
1a36440d3d
[varLib.avarPlanner] A couple of error messages
2023-07-23 10:04:28 -06:00
Behdad Esfahbod
3662efc1e9
[varLib.avarPlanner] Write out designspace snippet
2023-07-23 09:53:20 -06:00
Behdad Esfahbod
5c1c192dac
[varLib.avarPlanner] Add assertion
2023-07-23 09:45:58 -06:00
Behdad Esfahbod
023da81731
[varLib.avarPlanner] Add --plot
2023-07-23 09:44:07 -06:00
Behdad Esfahbod
a95c084355
[varLib.avarPlanner] Use proper logging
2023-07-23 09:30:54 -06:00
Behdad Esfahbod
3efd204a06
[varLib.avarPlanner] Comment out plotting
2023-07-23 09:18:44 -06:00
Behdad Esfahbod
805f459f56
[varLib.avarPlanner] Actually remove old avar
2023-07-23 09:01:42 -06:00
Behdad Esfahbod
ef91a236d2
Black
2023-07-22 23:13:36 -06:00
Behdad Esfahbod
e8caaf9955
[varLib.avarPlanner] Delete old avar before calculations
...
Ouch!
2023-07-22 23:07:48 -06:00
Behdad Esfahbod
2253722dfb
[varLib.avarPlanner] Increase target widths
2023-07-22 22:32:10 -06:00
Behdad Esfahbod
a9fbeda24b
[varLib.avarPlanner] Add library support for glyph frequencies
...
No cmdline support yet.
2023-07-22 22:04:18 -06:00
Behdad Esfahbod
7d05b896e6
[varLib.avarPlanner] Better blackness calculation
...
Consider glyph width.
2023-07-22 22:01:03 -06:00
Behdad Esfahbod
8557e535eb
[varLib] Add avarPlanner
2023-07-22 21:59:01 -06: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
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