SOLVED Is there a way to "keep metrics" in digraphs composed via Glyph Construction?



  • I am hoping to include digraph glyphs such as DŽ in my Glyph Construction recipes.

    (Entries below from Adobe Latin 5)

    01C4	DŽ	uni01C4	LATIN CAPITAL LETTER DZ WITH CARON
    01C5	Dž	uni01C5	LATIN CAPITAL LETTER D WITH SMALL LETTER Z WITH CARON
    01C6	dž	uni01C6	LATIN SMALL LETTER DZ WITH CARON
    

    However, if I use a simple recipe like uni01C4 = D + Zcaron, the two components simply overlap.

    7e90a221-44f3-4996-abfe-71bd773fe850-image.png

    I see the syntax for glyph width in the GC README, but even with that, or with that plus the matrix transformation, I can't quite achieve the result I'm hoping for – it requires knowledge of the starting widths of both glyphs, and to get the sidebearings correct, would also require knowledge of the initial sidebearings.

    uni01C4 = D + Zcaron@1, 0, 0, 1, 600, 0 ^ 1200

    09776a09-531a-4308-abd1-d0cdc2bda2f5-image.png

    So, this could be resolved by using Glyph Construction within a slightly-larger Python script, which would check things like initial widths and sidebearings. However, before I do that, I wanted to check: is there some option I'm missing in Glyph Construction, which might make this simpler?

    Thanks for any insights!



  • Have you tried stacking horizontally?

    Ah ha! This is exactly what I was looking for. Didn't expect to see it under that name, though. :D Thanks!



  • Have you tried stacking horizontally?