question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

varLib "IUP" delta optimization as an optional feature instead of on by default

See original GitHub issue

Some variable font implementations seem to have problems drawing glyphs that have “IUP” delta optimizations.

Currently, _add_gvar() sets the optimize option to be True as a default, but the API for disabling optimization could be easier to get to if the option was available as an argument of the build() method as well.

https://github.com/fonttools/fonttools/blob/3fbc4688eb5ef1057c58ae8bc12a1ba0b59b12d5/Lib/fontTools/varLib/__init__.py#L656

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
anthrotypecommented, Nov 15, 2017

I’m going ahead and set optimize=False by default for now until Adobe apps will ship a fix. I will also add a -O (or --optimize) option to fontTools varLib console script so that “advanced” users can optionally turn it on with their interpolatable ttfs.

If anybody prefers a different solution, please speak up now.

1reaction
jenskutilekcommented, Oct 25, 2017

Yes, I sent a bug report with a demo font.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Test case for Adobe Illustrator CC 2018 #42 - GitHub
I think it is because of the IUP mechanism, but I'm not sure if ... varLib "IUP" delta optimization as an optional feature...
Read more >
Auto optimize on Databricks
Auto optimize is an optional set of features that automatically compact small files during individual writes to a Delta table.
Read more >
Optimizations - Delta Lake Documentation
Delta Lake provides optimizations that accelerate data lake operations. Optimize performance with file management. To improve query speed, Delta Lake supports ...
Read more >
instancer — fontTools Documentation - Read the Docs
The module exports an instantiateVariableFont function and CLI that allow to create full instances (i.e. static fonts) from variable fonts, as well as...
Read more >
fonttools [python-library] - Occam :: Details
This command will install fonttools, as well as the optional dependencies that ... [xmlWriter] Default to "\n" for newlinestr instead of platform-specific ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found