Comments (9)
@tntypography can clarify, but my understanding is that there was no overflow happening in the kerning alone. The overflow only occurred when more lookups (the mark
and mkmk
) where added to the GPOS table.
from afdko.
@miguelsousa that is correct. I suppose my grasp for what actually happens in an overflow is not sufficient to understand what was going on with my fonts. All I know is that reducing the size of the kern feature prevented the overflow happening in mark and mkmk features.
from afdko.
reducing the size of the kern feature prevented the overflow happening in mark and mkmk features.
Right; I'm suggesting that when an overflow happens in mark and mkmk features, the error message should mention that overflows can be caused 'upstream,' so reducing the size of other features (eg the kern feature) can resolve overflows.
from afdko.
Got it. I'd rephrase the suggestion to when an overflow happens, look upstream to see if there are any lookups of another feature; if so, suggest trying to reduce those.
from afdko.
Either of those would have helped me. is there any documentation of when an overflow can happen? I am not aware of anything like that.
from afdko.
@tntypography overflows are implicit in the OpenType spec. Whenever the tool has e.g. 36K of data to put in a field that is limited to a maximum of 32K, an overflow message happens and the font is not built (because if it were built it would be invalid according to the spec).
from afdko.
from afdko.
Thanks Miguel, that helps a little. Now I'll just need to learn to translate kerning pairs & classes into kb... ;)
from afdko.
In #631 improvements were made to all overflow-related messaging coming from makeotfexe
. The messages still do not provide any guidance on how to resolve the problems, but that's as good as we can make them for now.
from afdko.
Related Issues (20)
- [otfstemhist] cannot specify glyphs via external glyph list
- [otfstemhist] -h reports unrelated options, wrong tool name HOT 1
- Unify format of external glyph names files across AFDKO tools
- [otfautohint/otfstemhist] Add tests
- use TTX tools to compile a otf file HOT 10
- [spot] alternate metrics ignored in class kern proof
- [otfautohint] (minor) outdated tool names
- [otfautohint] points “optimized away” in flex-like scenario (print only) HOT 15
- [tx] Crashing without error when using -decid option in -t1 mode
- Reordering of ligature substitution rules is considered harmful HOT 10
- [otfautohint] Mishinting of glyph? HOT 7
- [otfautohint] Consider adding flag to selectively skip overlap processing for some glyphs
- [makeotf] silently fails when GOADB has unexpected data
- [makeinstancesufo] & [checkoutlinesufo] multiprocessing vs progress bar, output improvement
- building fails on manjaro HOT 2
- [makeotf] substitution without target item does not fail HOT 8
- Pytest Error Encountered During AFDKO Compilation on Arch Linux HOT 6
- [checkoutlinesufo] XMLSyntaxError reading fontinfo.plist of temp UFO font HOT 3
- [makeotf] -r reports all unhinted glyphs individually HOT 1
- [buildmasterotfs] incompatible sources produced 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 afdko.