How to define GDEF


#1

How to define GDEF in Glyphsapp?


#2

GDEF is controlled by the glyph name and glyph info as set forth in the glyph data. You can override in a specific .glyphs file by choosing Edit > Info for Selection in font view.


#3

table GDEF {
GlyphClassDef ,# Base
, # Liga
[knmAA knmI knmII knmU knmUU knmvR knmvRR knmvL knmvLL knmE knmEE knmAI knmO knmOO knmAU knLengthmark knAIlengthmark knCandrabindu knVirama knNukta knmvR.following knmvRR.following knAIlengthmark.following knRAc2_mvR knRAc2_mvRR knRAc2_Lengthmark knRAc2_AIlengthmark], # Mark
;
} GDEF;

I am failing to understand what defines this above table.

Is it Category or Sub-Category?
all glyphs with “Mark” Category is not in the above table.
what defines the Glyphs as a “BASE”?
Category “Letter” or Sub-Category “Letter”?
Same thing with ligature?


#4

Combining marks go in there. Perhaps it also needs to appear in mark/mkmk, i.e. needs to contain anchors. The ones you have in the GDEF Mark definition probably do, right?


#5

marks need to be category = Mark and subCategory = Nonspacing or Spacing Combining. Base are all glyphs that are not Marks and Ligatures and have anchors.


#6

All marks are not listed in GDEF
I am not seeing a pattern, how some are selected and some are ignored!

Should I rename all the glyphs to Glyphsapp convention?


#7

Did you verify their glyph info (Cmd-Opt-I)?


#8

Yes.


#9

Can you send me the font?


#10

I had a look at the file. Most marks were set to subcategory ‘Spacing’. But what you need is ‘Spacing Combining’:

34