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
Behdad Esfahbod
7fce344404
[avarPlanner] Use interpolateLog for opsz
...
That's correct because weight is also exponential.
2023-07-26 10:31:08 -06:00
Cosimo Lupo
04b3140552
Merge pull request #3225 from cmyr/designspace-doc-tweak
...
[designspace] Clarify in docs that <lib> is plist
2023-07-25 10:32:53 +01:00
Behdad Esfahbod
6c1ce349e5
[avarPlanner] More docstrings
2023-07-24 16:59:27 -06:00
Behdad Esfahbod
3eeb13bded
[avarPlanner] Docstring planAxis()
2023-07-24 16:51:44 -06:00
Behdad Esfahbod
9b3747a30a
[avarPlanner] Minor shuffle argument order
2023-07-24 16:42:49 -06:00
Behdad Esfahbod
93b46ac1a3
[avarPlanner] Refactor more code
2023-07-24 15:56:44 -06:00
Behdad Esfahbod
f874873407
[avarPlanner] black
2023-07-24 15:13:34 -06:00
Behdad Esfahbod
340f90c7c7
[avarPlanner] Info message
2023-07-24 15:00:00 -06:00
Behdad Esfahbod
da5e6eb090
[avarPlanner] Docstring
2023-07-24 14:58:14 -06:00
Behdad Esfahbod
5d9f30230c
[avarPlanner] Fix copy/pasta
2023-07-24 14:56:27 -06:00
Behdad Esfahbod
dd30dd0c88
[avarPlanner] Refactor common code
2023-07-24 14:54:34 -06:00
Behdad Esfahbod
c95a0f916f
[avarPlanner] Move code around
...
Towards more refactoring.
2023-07-24 14:22:35 -06:00
Behdad Esfahbod
ca7267330b
[avarPlanner] Fix slant planning
2023-07-24 14:18:22 -06:00
Behdad Esfahbod
b2682d5935
[avarPlanner] Fix opsz planning
2023-07-24 14:06:44 -06:00
Colin Rofls
48f5f3f2b7
[designspace] Clarify in docs that <lib> is plist
2023-07-24 16:05:19 -04:00
Behdad Esfahbod
9ec69d27d5
[avarPlanner] Fix opsz
2023-07-24 13:16:44 -06:00
Behdad Esfahbod
0751e3d31f
[avarPlanner] Plan optical-size axis
2023-07-24 13:11:51 -06:00
Behdad Esfahbod
ad6c5eb89c
black
2023-07-24 13:01:57 -06:00
Behdad Esfahbod
7c6455f35d
[avarPlanner] Simplify axis limits
2023-07-24 13:00:03 -06:00
Behdad Esfahbod
20585ac05b
[statisticsPen] Add -q,--quiet
2023-07-24 12:53:15 -06:00
Behdad Esfahbod
050370764a
[statisticsPen,svgPathPen] Add -y for face-index
2023-07-24 12:48:57 -06:00
Behdad Esfahbod
2ef075050a
[statisticsPen] Add --variations
2023-07-24 12:42:53 -06:00
Behdad Esfahbod
ab2aac58d5
[statisticsPen] Report slant in angles too
2023-07-24 12:35:04 -06:00
Behdad Esfahbod
133f907cbc
[statisticsPen] Report perceptual weight/slant average
2023-07-24 12:32:06 -06:00
Behdad Esfahbod
ff5f81e670
[help] Better formatting
2023-07-24 12:23:20 -06:00
Behdad Esfahbod
4b7d7359a5
[varLib.avarPlanner] Better docstring
2023-07-24 11:54:40 -06:00
Behdad Esfahbod
9c52b7bfd5
[qu2cu] Add docstring to main()
...
Such that it shows up in `fonttools --help`.
2023-07-24 11:53:40 -06:00
Behdad Esfahbod
f812fccbdb
[varLib.avarPlanner] Add docstring to main()
...
It now shows up in `fonttools --help`.
2023-07-24 11:50:52 -06:00
Behdad Esfahbod
b9dfd4473c
Merge pull request #3223 from fonttools/avarPlanner
...
[varLib] Add avarPlanner
2023-07-24 11:49:50 -06:00
Behdad Esfahbod
0054a2e928
[varLib.avarPlanner] Add a couple more weights
2023-07-24 11:34:04 -06:00
Behdad Esfahbod
cd6382be6e
[varLib.avarPlanner] More warning messages
2023-07-24 11:33:16 -06:00
Behdad Esfahbod
9b30c63c56
[varLib.avarPlanner] Plan weight/width/slant in that order
2023-07-24 11:08:27 -06:00
Behdad Esfahbod
aadfc9390e
[varLib.avarPlanner] Turn a couple of log.info messages into debug
2023-07-24 10:04:22 -06:00
Behdad Esfahbod
0c27f22384
[varLib.avarPlanner] Format
2023-07-24 09:52:52 -06:00
Behdad Esfahbod
222319359b
[varLib.avarPlanner] Calculate slant axis average perceptually
2023-07-24 08:53:23 -06:00
Behdad Esfahbod
b06dec0e94
[varLib.avarPlanner] Add one-line docstrings
2023-07-24 08:48:49 -06:00
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