Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interpolation issues #9

Closed
vv-monsalve opened this issue Sep 12, 2023 · 2 comments
Closed

Interpolation issues #9

vv-monsalve opened this issue Sep 12, 2023 · 2 comments

Comments

@vv-monsalve
Copy link
Collaborator

The following reported for the latest colored font KalniaColorVF.ttf in the paintcompiler-test folder at commit 7f36f26

WARN: Detect any interpolation issues in the font. (com.google.fonts/check/interpolation_issues)

When creating a variable font, the designer must make sure that corresponding paths have the same start points across masters, as well as that corresponding component shapes are placed in the same order within a glyph across masters. If this is not done, the glyph will not interpolate correctly.

Here we check for the presence of potential interpolation errors using the fontTools.varLib.interpolatable module.

  • WARN Interpolation issues were found in the font: - Contour 0 start point differs in glyph 'percent.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour order differs in glyph 'uni25CC': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] in <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370>, [15, 2, 4, 1, 6, 3, 8, 5, 10, 7, 12, 9, 14, 11, 0, 13] in <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>.

    • Contour 2 start point differs in glyph 'sterling.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 4 start point differs in glyph 'perthousand.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 6 start point differs in glyph 'perthousand.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 7 start point differs in glyph 'perthousand.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 1 start point differs in glyph 'percent' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 3 start point differs in glyph 'percent' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 4 start point differs in glyph 'percent' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 1 start point differs in glyph 'tilde' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 1 start point differs in glyph 'percent.color0' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 3 start point differs in glyph 'percent.color0' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 3 start point differs in glyph 'uni1E9E' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c280>

    • Contour 1 start point differs in glyph 'uni1E9E' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 3 start point differs in glyph 'uni1E9E' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 1 start point differs in glyph 'uni1E9E' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5eaa0>

    • Contour 1 start point differs in glyph 'c.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 4 start point differs in glyph 'cent.color0' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 2 start point differs in glyph 'section.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 3 start point differs in glyph 'section.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 2 start point differs in glyph 'section.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5eaa0>

    • Contour 3 start point differs in glyph 'section.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5eaa0>

    • Contour 0 start point differs in glyph 'tilde.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 2 start point differs in glyph 'uni1E9E.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c280>

    • Contour 0 start point differs in glyph 'uni1E9E.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 2 start point differs in glyph 'uni1E9E.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 0 start point differs in glyph 'uni1E9E.color1' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5eaa0>

    • Contour order differs in glyph 'uni25CC.color0': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] in <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370>, [15, 2, 4, 1, 6, 3, 8, 5, 10, 7, 12, 9, 14, 11, 0, 13] in <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>.

    • Contour 4 start point differs in glyph 'perthousand.color0' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 6 start point differs in glyph 'perthousand.color0' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 7 start point differs in glyph 'perthousand.color0' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 4 start point differs in glyph 'section' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 5 start point differs in glyph 'section' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 4 start point differs in glyph 'section' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5eaa0>

    • Contour 5 start point differs in glyph 'section' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5eaa0>

    • Contour order differs in glyph 'paragraph': [0, 1, 2, 3] in <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370>, [0, 2, 1, 3] in <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>.

    • Contour 6 start point differs in glyph 'perthousand' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 8 start point differs in glyph 'perthousand' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 9 start point differs in glyph 'perthousand' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 0 start point differs in glyph 'breve.color0' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 0 start point differs in glyph 'breve.color0' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5eaa0>

    • Contour 4 start point differs in glyph 'sterling' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 4 start point differs in glyph 'cent' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0>

    • Contour 2 start point differs in glyph 'c' between location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5f370> and location <fontTools.ttLib.ttGlyphSet._TTGlyphSetGlyf object at 0x108d5c4f0> [code: interpolation-issues]

@vv-monsalve
Copy link
Collaborator Author

Hi @fridamedrano, after pulling the latest source file at commit b4893a0, some interpolation issues were reported for the compiled font.

Please look over all the cases listed in the pdf report. The glyphs Section, 8 and fk ligature are showing some kinks and outlines issues.

KalniaGlaze-2.pdf

Section

Screen Shot 2024-06-05 at 12 02 43 Screen Shot 2024-06-05 at 12 03 17 Screen Shot 2024-06-05 at 12 11 34 Screen Shot 2024-06-05 at 12 11 46

8

Screen Shot 2024-06-05 at 12 04 21 Screen Shot 2024-06-05 at 12 04 39 Screen Shot 2024-06-05 at 12 12 10

fk

Screen Shot 2024-06-05 at 12 07 38

@vv-monsalve vv-monsalve reopened this Jun 5, 2024
@fridamedrano
Copy link
Owner

fixes in the repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants