More documentation on default anchor positions (GlyphData.xml)

and the new syntax is:
Possible keys:

  • maxY
  • minY
  • maxX
  • minX
  • centerX
  • centerY
  • width

and the metrics keys:

  • baseline
  • x-height

each can have a math operator like +10 or /2.5
Combine on for X and Y and separate them by ;

And now it will first apply the default positioning and then apply the extra keys. So you only need to specify what you like to change.

example:

  • bottom@maxX at baseline but moved to the right.
  • ogonek@baseline;maxX at baseline, to the right.
  • ogonek@baseline+5;maxX-10
  • ogonek@baseline+5;width*0.7
8 Likes