11510 Commits

Author SHA1 Message Date
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
Khaled Hosny
004a526185 Revert "Bump actions/download-artifact from 3 to 4"
This reverts commit f7384c3f4f1ce71838d063b4424efef09eed4b1b.
2024-01-11 12:36:55 +02:00
Khaled Hosny
a778cbe200 Revert "Bump actions/upload-artifact from 3 to 4"
This reverts commit ee33c6dd8c94e5dacf68049c2493172fcb8c9384.
2024-01-11 12:35:11 +02:00
Khaled Hosny
492db147a3 [NEWS] Fix reStructuredText syntax 2024-01-11 12:32:32 +02:00
Khaled Hosny
ad7ee2fc68 Bump version: 4.47.1 → 4.47.2.dev0 2024-01-11 12:16:32 +02:00
Khaled Hosny
7d5fca3eb5 Release 4.47.1 2024-01-11 12:16:27 +02:00
Khaled Hosny
093f580281 [NEWS] Update 2024-01-11 12:12:51 +02:00
خالد حسني (Khaled Hosny)
1c25210360
[featureVars] Re-use FeatureVariationRecord's when possible
If a FeatureVariationRecord with the same ConditionTable exists re-use
it and append FeatureTableSubstitutionRecord’s.

Without this, in the following feature code only the first lookup will
be applied since there will be two FeatureVariationRecord with the same
ConditionTable, so the first will be matched and the other will be
skipped:

    conditionset test {
        wght 600 1000;
        wdth 150 200;
    } test;

    variation ccmp test {
        sub e by a;
    } ccmp;

    variation rlig test {
        sub b by c;
    } rlig;

With this change only one FeatureVariationRecord will be created with
two FeatureTableSubstitutionRecord’s.
2024-01-10 19:06:26 +02:00
خالد حسني (Khaled Hosny)
e3cde46e69
Merge pull request #3389 from fonttools/dependabot/github_actions/actions/setup-python-5
Bump actions/setup-python from 4 to 5
2024-01-09 18:24:31 +02:00
خالد حسني (Khaled Hosny)
d208a051f1
Merge pull request #3399 from fonttools/dependabot/github_actions/actions/upload-artifact-4
Bump actions/upload-artifact from 3 to 4
2024-01-09 18:24:17 +02:00
خالد حسني (Khaled Hosny)
4619f4d01b
Merge pull request #3398 from fonttools/dependabot/github_actions/actions/download-artifact-4
Bump actions/download-artifact from 3 to 4
2024-01-09 18:24:02 +02:00
Cosimo Lupo
6388cfd6ea
Merge pull request #3406 from fonttools/stat-addname-ttfont
[otlLib] Pass ttFont to name.addName in buildStatTable
2024-01-09 16:15:45 +00:00
Behdad Esfahbod
1722dabd84
Merge pull request #3408 from miloush/main
Merge tool improvements
2024-01-08 10:02:16 -07:00
Jan Kučera
549ce732bf [merge] linter fixes 2024-01-08 16:12:26 +00:00
Jan Kučera
b034d5611f [merge] usage help 2024-01-08 15:07:02 +00:00
Jan Kučera
0d1c8b98b6 [merge] --import-file 2024-01-07 18:37:52 +00:00
Jan Kučera
08ae1dfe7f [merge] print merging keys when verbose 2024-01-07 18:00:23 +00:00
Jan Kučera
42c24a4735 [merge] args help 2024-01-07 17:12:53 +00:00
Jan Kučera
d975087ca2 [merge] --input-file 2024-01-07 16:40:05 +00:00
Jan Kučera
8df24b1b1f [merge] --output-file to Options 2024-01-07 15:59:33 +00:00
Khaled Hosny
c65dba41bb [otlLib] Pass ttFont to name.addName in buildStatTable
Avoids ltag warning similar to:
ae31d056051a28c39bc60fa2b827bc14efcef287
2024-01-07 14:37:53 +02:00
Behdad Esfahbod
62d54b03d3 [interpolatable] Remove unused code 2024-01-04 09:30:33 -07:00
Behdad Esfahbod
348774af36 [interpolatable] Disable overweight again
It mostly produces false-positives still.
2024-01-03 16:23:17 -07:00
Behdad Esfahbod
03c0d78489 [interpolatable] Enable overweight test
Very conservative.
2024-01-03 15:56:52 -07:00
dependabot[bot]
ee33c6dd8c
Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
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-12-18 19:34:27 +00:00
dependabot[bot]
f7384c3f4f
Bump actions/download-artifact from 3 to 4
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

---
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-12-18 19:34:22 +00:00
Cosimo Lupo
2dc887c894
Bump version: 4.47.0 → 4.47.1.dev0 2023-12-18 18:13:40 +00:00
Cosimo Lupo
0ad281cdfd
Release 4.47.0 2023-12-18 18:13:39 +00:00
Cosimo Lupo
2599527584
[NEWS] Update [skip ci] 2023-12-18 18:13:04 +00:00