~silnrsi/smith/+git/fonttools-master:mutator-charstring-rounding

Last commit made on 2024-04-13
Get this branch:
git clone -b mutator-charstring-rounding https://git.launchpad.net/~silnrsi/smith/+git/fonttools-master

Branch merges

Branch information

Name:
mutator-charstring-rounding
Repository:
lp:~silnrsi/smith/+git/fonttools-master

Recent commits

5a347b7... by Khaled Hosny <email address hidden>

[varLib.mutator] Improve CharString rounding

Since CharString point coordinates are relative, rounding each point
independently can accumulate rounding errors causing to the last point
to not match the first one, which leads to rendering artifacts.

This is a hack to round the absolute point coordinates, but using pens
to convert the relative coordinates to absolute ones and back.

This is a hack since it drops hinting operators, and it can’t preserve
the original operators, in addition to being slower.

There is probably a more clever way to doing this.

8caf16c... by Khaled Hosny <email address hidden>

[varLib.mutator] Add failing test for CFF2 rounding errors

Because CharString commands are relative, rounding point coordinates can
result in accumulating round errors causing the last point in the
contour to not match the first point, leaning to rendering artifacts.

This test demonstrates this.

705acc9... by BehdadEsfahbod

Merge pull request #3473 from fonttools/avar2-modules

[avar2] Implement avar2 support in ttGlyphSet.

fbe4765... by Khaled Hosny <email address hidden>

Bump version: 4.51.0 → 4.51.1.dev0

a1a5af2... by Khaled Hosny <email address hidden>

Release 4.51.0

348088c... by Khaled Hosny <email address hidden>

Update NEWS.rst

ed092f2... by BehdadEsfahbod

[avar] Raise exception instead of assert

ff4100f... by BehdadEsfahbod

Remove unused import

2f80d6a... by BehdadEsfahbod

[interpolatable] Remove obsolete comment

Well, it won't be true anymore when varc-table branch merges.

6a2a204... by BehdadEsfahbod

[interpolatable] Support avar2 in the .ttf codepath