Comments (6)
Thanks for the report!
I don't recall the approach here off the top of my head but I attempted to RE ttfautohint -d
and may well have missed some parts of the dehinting approach. Do you know how ttfa -d handles it?
from dehinter.
It appears that ttfautohint -d
modifies the GASP table to match what your code does. However, I suspect that this not because it is making an intelligent decision about what is best for an unhinted font, and instead because it always sets the GASP table when tthautohint runs.
In the ttfautohint
code, I found:
The font's `gasp`
* table is set up to always use grayscale rendering with grid-fitting
* for standard hinting, and symmetric grid-fitting and symmetric
* smoothing for horizontal subpixel hinting (ClearType).
I could not find any references anywhere to GASP table modifications in relation to dehinting.
In a discussion that I had with Mike Duggan a year or so ago, "when not hinting, we want the GASP set to use full ysmoothing and no hinting." Given that, I think that you probably only want bit 2 and 4, thus disabling any gridfit.
from dehinter.
Agree! Let's do the right thing. Interested in submitting a PR?
from dehinter.
Done!
from dehinter.
Ty! I'll update the CI tests and get this merged. Much appreciated!!
from dehinter.
changes merged to the master branch and will be released in dehinter v2.0.0
from dehinter.
Related Issues (10)
- Initial Update
- Add optional support for keeping individual unmodified tables HOT 2
- Remove VDMX table HOT 2
- Convert to Py3.6 support only HOT 3
- Add type hint annotations and static type checking
- Dependabot couldn't authenticate with https://pypi.python.org/simple/ HOT 1
- Difference to pyftsubset? HOT 3
- Remove `cvar` HOT 1
- maxp.maxZones == 0 causes ots warning HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dehinter.