11538 Commits

Author SHA1 Message Date
pyup-bot
026324b908 Update reportlab from 4.0.9 to 4.1.0 2024-02-12 15:51:03 +00:00
خالد حسني (Khaled Hosny)
534ceed9db
Merge pull request #3438 from fonttools/pyup-scheduled-update-2024-02-05
Scheduled weekly dependency update for week 05
2024-02-06 15:54:33 +02:00
Khaled Hosny
cf08265cd5 Black 2024-02-06 15:47:35 +02:00
خالد حسني (Khaled Hosny)
216923c3b1
Merge pull request #3440 from fonttools/dependabot/github_actions/codecov/codecov-action-4
Bump codecov/codecov-action from 3 to 4
2024-02-06 15:41:31 +02:00
Cosimo Lupo
2189c2334d
Bump version: 4.48.1 → 4.48.2.dev0 2024-02-06 13:41:07 +00:00
Cosimo Lupo
9c9e8f5f13
Release 4.48.1 2024-02-06 13:41:06 +00:00
Cosimo Lupo
6755f3ee5c
Update changelog 2024-02-06 13:41:02 +00:00
Cosimo Lupo
8e7a4ebb45
[ci] ensure artifact names are unique
the last deploy failed with https://github.com/fonttools/fonttools/actions/runs/7799843107
2024-02-06 13:39:22 +00:00
Cosimo Lupo
2c92d41e1c
Bump version: 4.48.0 → 4.48.1.dev0 2024-02-06 12:42:25 +00:00
Cosimo Lupo
f519011558
Release 4.48.0 2024-02-06 12:42:24 +00:00
Cosimo Lupo
22ce099233
Update changelog [skip ci] 2024-02-06 12:41:12 +00:00
Cosimo Lupo
3975ce6339
avoid calling getCompiledSize_ twice 2024-02-06 12:25:00 +00:00
Behdad Esfahbod
4d3d8c5aba [designspace] Update test to exercise multiple <mappings> 2024-02-05 16:10:58 -07:00
dependabot[bot]
df4c956948
Bump codecov/codecov-action from 3 to 4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 19:06:13 +00:00
Cosimo Lupo
96054e8152
[otlLib] choose most compact contextual lookup format (#3439)
* [otlLib] chose most compact contextual lookup format

Fixes https://github.com/fonttools/fonttools/issues/2934
2024-02-05 16:59:29 +00:00
Behdad Esfahbod
1e989abec4 [designspaceLib] Add "description" to <mappings> and <mapping>
Fixes https://github.com/fonttools/fonttools/issues/3435
2024-02-05 09:58:51 -07:00
Behdad Esfahbod
1418b4c916 [designspaceLib] Add a roundtripping __main__
Works as a normalizer as well.
2024-02-05 09:58:51 -07:00
pyup-bot
ed1ffafe44 Update glyphslib from 6.6.0 to 6.6.3 2024-02-05 15:51:05 +00:00
pyup-bot
bf88ee764d Update uharfbuzz from 0.37.3 to 0.39.0 2024-02-05 15:51:05 +00:00
pyup-bot
4483ee1696 Update ufo2ft from 2.33.4 to 3.0.0 2024-02-05 15:51:05 +00:00
pyup-bot
b6eaebcbe8 Update scipy from 1.11.4 to 1.12.0 2024-02-05 15:51:04 +00:00
pyup-bot
4d01281ecf Update black from 23.12.0 to 24.1.1 2024-02-05 15:51:04 +00:00
pyup-bot
d29147938e Update reportlab from 4.0.8 to 4.0.9 2024-02-05 15:51:03 +00:00
Behdad Esfahbod
0572f78718 [svgPathPen] Add --glyphs 2024-01-30 13:45:25 -08:00
Behdad Esfahbod
16991a8cd2 [varLib] Remove unused code 2024-01-26 12:20:34 -08:00
Thatchapon Unprasert
447c9e1887
Support sbix Glyphs with graphicType "flip" (#3433)
* Support sbix Glyphs with graphicType = "flip"

Since iOS 17.4 beta, Apple introduced the "flip" graphic type for the sbix glyphs to reference the another glyph to be flipped by their render engine. Their use case is for directional emojis.

Example emoji: https://emojipedia.org/woman_walking_facing_right#technical

This is the example of the output XML after this PR:

```
<glyph graphicType="flip" name="u1F3C3.0.M.u27A1" originOffsetX="0" originOffsetY="0">
    <ref glyphname="u1F3C3.0.M" />
</glyph>
```

Before, it was just `<hexdata>` with some data in it.
2024-01-26 11:09:44 +00:00
Cosimo Lupo
330b3b71e1
Merge pull request #3431 from fonttools/doc-typo 2024-01-26 09:26:04 +00:00
Qunxin Liu
3e548ff29c fix bug in instancer iup optimization
pass in correct value to tolerance
2024-01-25 16:18:24 -08:00
Khaled Hosny
992eb5dc3c Doc: Fix xml example of public.fontInfo
String values were using <integer> tag.
2024-01-25 20:42:47 +02:00
Cosimo Lupo
3bdcbe9269
Merge pull request #3430 from fonttools/fealib-aalt-order 2024-01-25 15:15:08 +00:00
Cosimo Lupo
6ff7d00e06
[feaLib] fix ordering of alternates in aalt lookups
Fixes https://github.com/fonttools/fonttools/issues/2937
2024-01-25 13:25:41 +00:00
Cosimo Lupo
a1cb14d3ec
Merge pull request #3429 from fonttools/fealib-liga-order
[feaLib] keep declaration order of ligatures within ligature set
2024-01-24 17:30:51 +00:00
Cosimo Lupo
796f677225
restore original spec5d1.fea example and modify expected ttx instead 2024-01-24 16:41:34 +00:00
Cosimo Lupo
957b5fb45a
don't sort product of liga components to keep declaration order
technically we are tweaking the original example from the spec but it keeps the spirit, so that the product of glyph classes produces the same representation in the font as if the sequences were manually enumerated (while keeping the declaration order)
2024-01-24 12:59:00 +00:00
Cosimo Lupo
f96b2128a1
[feaLib] keep declaration order of ligatures within ligature set
Fixes #3428
2024-01-24 12:59:00 +00:00
Jens Kutilek
7cdac78423
Add transformRoundFunc parameter to RoundingPens (#3426)
* Add optional transformRoundFunc to RoundingPen and RoundingPointPen
* Add tests
* Add doc about comparing UFO to TTF glyphs
* Use floatToFixedToFloat for example with rounding
2024-01-23 18:59:09 +01:00
خالد حسني (Khaled Hosny)
306f40a2ae
Merge pull request #3424 from fonttools/feaLib-name-length
feaLib: Drop glyph and class names length limit
2024-01-22 16:54:50 +02:00
Khaled Hosny
2616ab959c feaLib: Drop glyph and class names length limit
These were implemented to follow FEA spec, but makeotf does not seem to
have a name length limit any more (or it has a very large one, I tested
a 600-character name and it was accepted).

Fixes https://github.com/googlefonts/ufo2ft/issues/588
See also https://github.com/googlefonts/ufo2ft/pull/811#discussion_r1461667058
2024-01-22 16:38:54 +02:00
Cosimo Lupo
679a5c0c25
Merge pull request #3420 from fonttools/bump-lxml
don't restrict lxml<5, and run tests with latest 5.1.0
2024-01-15 18:19:29 +00:00
Cosimo Lupo
b8b1bc4341
path_test: fix parsing xml declaration
the latest lxml.etree.fromstring complains with syntax error when the xml declaration contain 'standalone' but does not contain encoding, apparently the xml declaration attributes have predefined order
2024-01-15 17:21:17 +00:00
Cosimo Lupo
a17f3d460a
don't restrict lxml<5, and run tests with latest 5.1.0
Fixes https://github.com/fonttools/fonttools/issues/3418
2024-01-15 16:17:22 +00:00
Cosimo Lupo
7572a67146
Merge pull request #3415 from fonttools/fix-upload-artifacts
[CI] adapt to new upload/download-artifact changes
2024-01-15 15:47:49 +00:00
Behdad Esfahbod
bf37f57211 [README] Replace "Un*x" with "Unix-like"
Fixes https://github.com/fonttools/fonttools/issues/3416
2024-01-13 12:34:27 -07:00
Cosimo Lupo
a211ac9794
[CI] adapt to new upload/download-artifact changes
https://github.com/actions/upload-artifact?tab=readme-ov-file#breaking-changes

> Due to how Artifacts are created in this new version, it is no longer possible to upload to the same named Artifact multiple times. You must either split the uploads into multiple Artifacts with different names, or only upload once. Otherwise you will encounter an error.

This caused the PyPI upload job to fail earlier. Hopefully this should fix it.
2024-01-11 12:08:38 +00:00
Cosimo Lupo
182b77773d
Reapply "Bump actions/upload-artifact from 3 to 4"
This reverts commit a778cbe200b03414a238807c999472c353ebfb9e.
2024-01-11 12:00:56 +00:00
Cosimo Lupo
6f1980aae3
Reapply "Bump actions/download-artifact from 3 to 4"
This reverts commit 004a52618507cb271ebbc0794aecf04f8e354db5.
2024-01-11 12:00:48 +00:00
Cosimo Lupo
701b06f3c6
[varLib]: do not log when there are no OTL tables to be merged 2024-01-11 12:00:08 +00:00
Khaled Hosny
6f5a2d0b34 Bump version: 4.47.2 → 4.47.3.dev0 2024-01-11 12:40:30 +02:00
Khaled Hosny
c97d60907d Release 4.47.2 2024-01-11 12:40:30 +02:00
Khaled Hosny
5b1e12206b [NEWS] Update 2024-01-11 12:39:19 +02:00