Link several simple glyphs into composite glyph?

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
BParkoff
Posts: 16
Joined: Sat Jun 03, 2023 9:28 pm

Link several simple glyphs into composite glyph?

Post by BParkoff »

Hi,

I created three simple glyphs. All three glyphs have glyph names. They are First_Glyph, Second_Glyph, and Third_Glyph. They have same left side bearing, right side bearing, and advance width in the Glyph Properties.

I wanted to link three glyphs into fourth composite glyph. Fourth composite glyph has glyph name and it is Composite_Glyph. I selected Composite_Glyph. I clicked "Glyph..." from Insert menu. "Select Composite Glyph Member(s)" dialog is shown on the screen. I selected First_Glyph, Second_Glyph, and Third_Glyph before I clicked "Ok" button.

Composite_Glyph is now linked to three simple glyphs. I clicked it into Glyph Edit. I clicked "Rebuild composite out of formmula" icon. "Formula for Constructing Composite Glyph (anchor based)" dialog is shown on the screen.

The formula's text box shows "First_Glyph+Second_Glyph+Third_Glyph" (without double quote marks in text box).

I replaced from it to "First_Glyph+Second_Glyph" before I clicked "Ok" button. Composite_Glyph shows First_Glyph in the left and Second_Glyph in the right. It does not look correct. I wanted First_Glyph and Second_Glyph be stacked in the same left side bearing, right side bearing, and advance width.

What did I do wrong? Please provide me instruction how to do correctly putting several simple glyphs into stacked composite glyph.

Do "Rebuild composite out of formmula" icon have keyboard short-cut?

Kindly,
Bryan Parkoff
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9887
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Link several simple glyphs into composite glyph?

Post by Bhikkhu Pesala »

You may find it easier with copy/paste.

Select First_Glyph, Second_Glyph, and Third_Glyph in the Glyph overview.
Copy them to the clipboard
Open the empty Composite_Glyph and paste the three components. Adjust the right side-bearing to get the desired advance width.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Erwin Denissen
Moderator
Moderator
Posts: 11191
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Link several simple glyphs into composite glyph?

Post by Erwin Denissen »

You can add Cursive anchors to position (0, 0).

First_Glyph needs an Exit anchor, Second_Glyph needs both Entry and Exit, and Third_Glyph only requires Entry.
Erwin Denissen
High-Logic
Proven Font Technology
BParkoff
Posts: 16
Joined: Sat Jun 03, 2023 9:28 pm

Re: Link several simple glyphs into composite glyph?

Post by BParkoff »

Hi,

Will you please explain why do I need Cursive anchors?

I will only design three simple glyphs before eight composite glyphs will be linked to three simple glyphs. I don't need to modify the contours in composite glyphs. I will only need to modify the contours in three simple glyphs. All contours in composite glyphs will be updated automatically after the modification of contours in three simple glyphs are completed.

If I want to change from three links to two links, I can click contours and delete them in the composite glyph in order to unlink the one simple glyph as long as I leave unmodified contours in simple glyphs.

Kindly,
Bryan Parkoff
Erwin Denissen
Moderator
Moderator
Posts: 11191
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Link several simple glyphs into composite glyph?

Post by Erwin Denissen »

The formula assumes base characters are positioned after each other, but you can override this behavior with cursive anchors.

Alternatively, you can set the OT Class for the second and third glyphs to Mark, as then they will be positioned on top of the first glyph.
Erwin Denissen
High-Logic
Proven Font Technology
Post Reply