I am creating multiple compound glyphs with components. When I create a component from selected glyph, it carries the glyph metrics(width, LSB, RSB) from the base letter. After I insert the component into a compound glyph, If I change the metrics in component, then the component repositions itself in compound glyph. From my reading in manual, I am required to “lock the component”. With the component locked, If I change the LSB of the component, the component repositions in the compound glyph.
But I am very hesitant now to use components. So, below are my queries.
Components metrics, is it best to set the LSB, RSB to zero?
I have disabled the automatic alignment in “other setttings”. All components added into compound glyph are aligning to RSB of the compound glyph, even if change the order of the components by “Make first”. Is this normal?
is Lock component and LSB = zero, a safe method to retain the position of the component in the compound or should I decompose?
Any additional information or tips or caution around components would be appreciated.
If you can, using anchors and automatic alignment is the best way. Other than that, don’t change the LSB. For a glyph like the dot I set the side bearings to ‘20’ and leave it like that. Of course, if you use ‘Component from Selection’ you need to reposition the dot after you set the spacing.
The anchors are ignored when you prefix the anchor name with any non letter. So if you use “#dot” and “_#dot”, then the anchors will not exported. You can use anything that is not a letter, even emoji if you like.
I have anchor #dot-letter in compound and _#dot-letter in component.
Also enabled “automatic alignment” but component is align to LSB in compound letter not to the anchor.
Not sure what you mean. Which anchors, and inside which glyph? Usually, the first component determines the metrics (auto-alignment), and all subsequent components depend on the base component through anchors inside the original glyphs.