Multiple diacritics

guifa
9.Mar.2008 5.53pm
guifa's picture

Maybe this is just a FontForge thing but figured I’d ask here just to check.

Shuold one be able to have two anchors of the same class in one glyph? One being designated the mark anchor and the other the base glyph anchor?

The reason I ask is that I’d like to specify how different accents build on one another, but at the moment with my font I get odd mixed results on being able to place two+ accents. Either they pile up as if the other weren’t there, or they stack up ignoring the anchors that I had placed, or they stack properly but the base glyph disappears. (this last one sounds like a bug in the Cocoa text engine).

However, fontforge doesn’t seem to like the ida of two anchors, one to position an accent, and another to position any accents that would be piled on it. Am I going about this the wrong way?



Michel Boyer
9.Mar.2008 7.12pm
Michel Boyer's picture

Look at the butlast paragraph of the Fontforge Documentation on Anchor points and classes: to put a diacritic on top of another, you use an mkmk tag. If you browse the GPOS mkmk lookups of the Dejavusans font, you’ll see nicely stacked diacritics.


guifa
9.Mar.2008 7.59pm
guifa's picture

Thanks Michel. This is what I get scanning more than reading the manual.

«El futuro es una línea tan fina que apenas nos damos cuenta de pintarla nosotros mismos». (La Luz Oscura, por Javier Guerrero)