Behdad Esfahbod
65bc6b7cb0
[designspaceLib/avar2] Remove Windows hack in tests
2023-06-01 12:12:34 -06:00
Behdad Esfahbod
ddf16c9130
[designspaceLib/avar2] Apply review comments
2023-06-01 11:54:43 -06:00
Cosimo Lupo
3b62811b63
have dropImpliedOnCurvePoints return the set of point indices useful for testing
2023-06-01 18:21:59 +01:00
Cosimo Lupo
e19871981d
add docstring to dropImpliedOnCurvePoints function
2023-06-01 16:49:30 +01:00
Cosimo Lupo
b7f4e9b83e
move dropImpliedOnCurvePoints function to glyf table module
...
so it can be used by client code on multiple glyf Glyph objects regardles of TTGlyphPen
2023-06-01 16:49:29 +01:00
Cosimo Lupo
a73abc6b87
make drop_implied_oncurves work with multiple interpolatable glyphs
2023-06-01 16:49:29 +01:00
Cosimo Lupo
02a063685f
Merge pull request #3145 from fonttools/ttglyphpen-ignore-empty
...
TTGlyphPen: do not error with empty contours, simply ignore them
2023-05-31 13:48:14 +01:00
Cosimo Lupo
3bbc19abb1
TTGlyphPen: do not error with empty contours, simply ignore them
...
Fixes https://github.com/googlefonts/fontmake/issues/1001
2023-05-31 11:58:14 +01:00
Behdad Esfahbod
77c00719ba
[designspaceLib/avar2] Add split test
2023-05-30 23:39:19 -06:00
Behdad Esfahbod
ca642e89c4
[designspaceLib/avar2] First stab at splitting mappings
2023-05-30 23:03:33 -06:00
Behdad Esfahbod
ce0a32d1a4
[varLib.builder] Fixup
2023-05-30 22:46:47 -06:00
Behdad Esfahbod
a8f9fa98ec
[designspaceLib/docs] varLib spelling
2023-05-30 22:36:00 -06:00
Behdad Esfahbod
2740f98c9e
[designspaceLib/avar2] More docs
2023-05-30 22:32:18 -06:00
Behdad Esfahbod
1b7c0bf19b
[designspaceLib/avar2] Adjust version to 5.1 when writing mappings
2023-05-30 22:23:42 -06:00
Behdad Esfahbod
d513e563ff
[designspaceLib/avar2] Add XML docs
2023-05-30 22:16:46 -06:00
Behdad Esfahbod
0184c91ce8
[designspaceLib/test] Fix Windows bot failure
2023-05-30 13:51:43 -06:00
Behdad Esfahbod
a99a75e8a6
[varLib/avar2] Use buildDeltaSetIndexMap()
...
Also change buildDeltaSetIndexMap() to move the identity
optimization there. Update the only other callsite (COLRv2).
2023-05-30 13:30:36 -06:00
Behdad Esfahbod
a08acf41f8
[varLib/avar2] Omit identity VarIdx map
2023-05-30 13:22:12 -06:00
Behdad Esfahbod
d915f08e76
[varLib/avar2] Don't require base master to be specified explicitly
...
We can deduce it as empty mapping.
2023-05-30 13:13:49 -06:00
Behdad Esfahbod
ff7f49a94c
[varLib/avar2] Add compile test
2023-05-30 13:13:49 -06:00
Behdad Esfahbod
aabb26ed69
[designspaceLib/avar2] Add roundtrip test
2023-05-30 12:21:42 -06:00
Behdad Esfahbod
246d539e29
[designspaceLib/avar2] Warn if input location missing for an output axis
...
https://github.com/fonttools/fonttools/pull/3123#issuecomment-1568852694
2023-05-30 12:10:15 -06:00
Behdad Esfahbod
588cbc982d
[designspaceLib/avar2] Rename variables
2023-05-30 11:55:48 -06:00
Khaled Hosny
a43f824af9
[feaLib] Support variable ligature caret position
...
Allow variable scaler in ligature caret position and build
CaretValueFormat3 with DeviceTable. Does not support non-variable device
table, but can be added if someone really really wants it.
2023-05-30 20:21:21 +03:00
Cosimo Lupo
0bf84f9c7b
Merge pull request #3129 from fonttools/privData_bytes
...
privData needs to padded with bytes not str
2023-05-30 12:10:30 +01:00
Cosimo Lupo
b94c1288ee
Merge pull request #3140 from fonttools/solver-fix
...
[instancer-solver] Fix a bug
2023-05-30 11:30:51 +01:00
خالد حسني (Khaled Hosny)
aaf8f5e78c
Merge pull request #3137 from fonttools/dependabot/github_actions/pypa/gh-action-pypi-publish-1.8.6
...
Bump pypa/gh-action-pypi-publish from 1.4.2 to 1.8.6
2023-05-30 03:05:08 +03:00
خالد حسني (Khaled Hosny)
4c8eaba5ed
Merge pull request #3138 from fonttools/dependabot/github_actions/docker/setup-qemu-action-2.1.0
...
Bump docker/setup-qemu-action from 1.2.0 to 2.1.0
2023-05-30 03:04:51 +03:00
خالد حسني (Khaled Hosny)
0a78c67f31
Merge pull request #3136 from fonttools/dependabot/github_actions/actions/download-artifact-3
...
Bump actions/download-artifact from 2 to 3
2023-05-30 03:04:23 +03:00
خالد حسني (Khaled Hosny)
8fd6698434
Merge pull request #3135 from fonttools/dependabot/github_actions/actions/upload-artifact-3
...
Bump actions/upload-artifact from 2 to 3
2023-05-30 03:04:01 +03:00
Behdad Esfahbod
3ba7e6d706
[instancer-solver] Fix a bug
...
Fixes https://github.com/fonttools/fonttools/issues/3139
2023-05-29 17:39:02 -06:00
dependabot[bot]
6ba2b9832e
Bump docker/setup-qemu-action from 1.2.0 to 2.1.0
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1.2.0 to 2.1.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1.2.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 19:58:50 +00:00
dependabot[bot]
0a2a94cfa8
Bump pypa/gh-action-pypi-publish from 1.4.2 to 1.8.6
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.4.2 to 1.8.6.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.4.2...v1.8.6 )
---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 19:58:45 +00:00
dependabot[bot]
f5f488045a
Bump actions/download-artifact from 2 to 3
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 19:58:40 +00:00
dependabot[bot]
7c4cb86a3b
Bump actions/upload-artifact from 2 to 3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 19:58:35 +00:00
Behdad Esfahbod
e587942b68
[designspaceLib/avar2] Add tests
2023-05-28 17:35:10 -06:00
Behdad Esfahbod
90e8595ef0
[designspaceLib/avar2] Document
2023-05-28 16:58:30 -06:00
Behdad Esfahbod
ae2305196a
[designspaceLib/avar2] Store axis name, not tag, in <dimension>
2023-05-28 15:14:25 -06:00
Behdad Esfahbod
3a809dbbf3
[designspaceLib/avar2] Write out <mappings> element
2023-05-28 15:14:25 -06:00
Behdad Esfahbod
50b1fb3f01
[designspaceLib/avar2] Rename elements to <mappings><mapping>
2023-05-28 15:14:25 -06:00
Behdad Esfahbod
f27e843276
[designspaceLib/avar2] Flesh out AxisMapping API
2023-05-28 15:14:25 -06:00
Behdad Esfahbod
0b57567c14
[designspaceLib/avar2] Add AxisMappingDescriptor
2023-05-28 15:14:25 -06:00
Behdad Esfahbod
be9dacad74
[designspaceLib/avar2] Rename mapping to axisMappings
2023-05-28 15:14:25 -06:00
Behdad Esfahbod
5785fdeec3
[avar2] Emit the difference of input vs output
2023-05-28 15:14:25 -06:00
Behdad Esfahbod
b9e03b165b
[avar2] Rewrite loop
2023-05-28 15:14:25 -06:00
Behdad Esfahbod
50fc8218b3
[designspace/varLib] Hack to read avar2 mapping and build avar2 table
...
This just uses list of list of dictionaries. Should use proper objects.
https://github.com/fonttools/fonttools/issues/3049
https://github.com/harfbuzz/boring-expansion-spec/blob/main/avar2-in-designspace.md
2023-05-28 15:14:25 -06:00
David Corbett
b8dcb85161
[otlLib] Fix error message in MarkBasePosBuilder
2023-05-28 20:29:49 +02:00
Ben Kiel
fb74c16d47
Ran black on code
2023-05-28 08:28:28 -05:00
Ben Kiel
c30f4e5074
fix lint error
2023-05-28 08:19:54 -05:00
Ben Kiel
bdc3afc468
Add in a test for writing private data
2023-05-28 08:12:11 -05:00