Editing Composite Glyphs

Composite glyphs consist of several glyph components. Every glyph component refers to another simple or composite glyph. Glyph Editor allows to change component references, add, delete and transform glyph components. In this section we present description of these features.
NOTE: In this version, the work with composite glyphs is supported for TrueType fonts only. For any other fonts they are presented as decomposed.

  • Viewing composite glyphs
  • First of all it should be mentioned that composite glyphs differ from simple ones in the editor. You won't see separate lines or curves. Every component is filled with light gray. For a selected component the smallest rectangle enclosing the component is also drawn, its center and corner points being marked with a cross and squares respectively:



    In Properties window you see the glyph ID of the selected component:



  • Changing component reference
  • To change the component reference open Properties window and set glyph ID of the desired component:



    NOTE: Not all glyph IDs are valid: values causing cross-reference are not accepted.
  • Adding and deleting components
  • To add or delete component use context menu:





  • Transforming components
  • There are four types of component transformations in Glyph Editor. To choose a certain type of transformation use the appropriate "Glyph Editor" menu items or toolbar buttons or double click at the component rectangle corner point. You can perform the following modifications to any component:
    Scaling.
    To scale the component select one of the corner points of its rectangle and drag it - the component dimensions will change according to the mouse position:



    Rotating.
    To rotate the component select one of the corner points of its rectangle and drag it - the component will change its angle according to the mouse position:



    Horizontal shearing.
    To shear the component horizontally select one of the corner points of its rectangle and drag it - the component will be stretched horizontally according to the mouse position:



    Vertical shearing.
    To shear the component vertically select one of the corner points of its rectangle and drag it - the component will be stretched vertically according to the mouse position:



  • Decomposing composite glyphs
  • To decompose the composite glyph (make it simple) press (Decompose) button in the toolbar or select "Decompose" from "Glyph Editor" menu:



    The composite glyph is converted to a simple one: