formulas for constructing Composite Glyphs

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
NinnaD
Posts: 200
Joined: Mon Feb 15, 2021 8:06 pm

formulas for constructing Composite Glyphs

Post by NinnaD »

Is there a way to access and edit a list of custom formulas and/or import/export them?
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: formulas for constructing Composite Glyphs

Post by Erwin Denissen »

There is no easy way to export formulas, but you can insert glyphs based on formulas:

Abrevedotbelow=A+dotbelowcomb+brevecomb.case
omegatonos-grek=omega-grek+tonosmod-grek
Erwin Denissen
High-Logic
Proven Font Technology
NinnaD
Posts: 200
Joined: Mon Feb 15, 2021 8:06 pm

Re: formulas for constructing Composite Glyphs

Post by NinnaD »

If I insert glyphs, they will be unmapped, so then instead of inputting composite formula for each glyph, I have to input code-point for each glyph - either way a repetitive manual action for each glyph. :( I've just done that for the n-th time because of the anchor problems and thought it would be a good idea to be able to export and import formulas as a batch.

I tried defining some in the CompositeData.xml, but that doesn't seems to translate to formulas.
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: formulas for constructing Composite Glyphs

Post by Erwin Denissen »

NinnaD wrote: Wed May 25, 2022 8:22 am If I insert glyphs, they will be unmapped
They will contain a mapping if the glyph name is recognized as a Unicode character.

Try for yourself:
Abrevedotbelow=A+dotbelowcomb+brevecomb
Erwin Denissen
High-Logic
Proven Font Technology
NinnaD
Posts: 200
Joined: Mon Feb 15, 2021 8:06 pm

Re: formulas for constructing Composite Glyphs

Post by NinnaD »

But not for PUA, e.g.
https://mufi.info/m.php?p=mufichars&i=2&v=E0

Which is why it would be very useful to be able to import/export formulas. :)
Last edited by Bhikkhu Pesala on Wed May 25, 2022 8:46 pm, edited 1 time in total.
Reason: Edited link
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: formulas for constructing Composite Glyphs

Post by Bhikkhu Pesala »

NinnaD wrote: Wed May 25, 2022 2:19 pm But not for PUA, e.g.
See my tutorial on Customising Unicode Data.

I have not tested it in recent versions, but it should still be possible to assign parts of the PUA to MUFI glyph names and code-points.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
NinnaD
Posts: 200
Joined: Mon Feb 15, 2021 8:06 pm

Re: formulas for constructing Composite Glyphs

Post by NinnaD »

See my tutorial on Customising Unicode Data.
:)
it should still be possible to assign parts of the PUA to MUFI glyph names and code-points.
Well, I haven't managed to make it work, but sth else seems to work around that:

1. custom glyphnamesnew.dat in user folder, e.g.

Code: Select all

E404;aogonekacute
E40A;amacronacute
E410;amacronbreve
2. Insert Glyph, e.g.

Code: Select all

aogonekacute=aogonek+acutecomb
amacronacute=amacron+acutecomb
amacronbreve=amacron+brevecomb
3. customising the UnicodeData.txt file wasn't required to make it work, but it does make further work easier.
Post Reply