Comments (5)
While @readroberts is the one to provide a definitive answer, as a user of makeotf, I would claim that the 'kern' feature as provided in the features file excerpt should raise a syntax error because the expectation is that a single integer value follow a pair of glyph names, not a four-element array of X and Y placement and advance values. In other words, the font shouldn't have successfully compiled in the first place.
from afdko.
An array of four kern values is frequently seen in RTL scripts, where both advance width and x-position are modified, here is an example:
pos arAlefMadda arTeh <-80 0 -80 0>;
RTL kerning is usually wrapped into its own lookup:
feature kern {
lookup LATIN_KERNING {
include (kern_latin.fea)
} LATIN_KERNING;
lookup ARABIC_KERNING {
lookupflag RightToLeft IgnoreMarks;
include (kern_arabic.fea)
} ARABIC_KERNING;
} kern;
I don’t think mixing the both kerning styles in the same lookup yields the desired result.
Also – it is very uncommon to do a baseline- and y-adjustment for a Latin pair, is that what you are trying to achieve?
from afdko.
Thank you, @frankrolf, for the clarification and education.
from afdko.
I imagine that this is an uninitialized variable bug. I suspect that once format B has been used, it is used for subsequent records, even if those use format A. The three values that are not specified are then random. I will look at this.
from afdko.
Fixed in makeotfexe
from afdko.
Related Issues (20)
- 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
- [makeinstancesufo] allow public.skipExportGlyphs in instances HOT 1
- support newer antlr4? HOT 7
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.