New Transform command 'Select'

We will move topics to this forum, once we've implemented the requested feature(s) and/or enhancement(s).
Post Reply
Mike Thompson
Top Typographer
Top Typographer
Posts: 408
Joined: Sat Apr 03, 2004 11:10 pm
Location: Massachusetts
Contact:

New Transform command 'Select'

Post by Mike Thompson »

Now we have the capability of added our own glyph names, we might benefit
by using them in Transformation scripts.
For instance:
Select bet, kaf, ayin, pe, tsadi, tav
Bearings L:-50
would set the left side bearings for a group of letters
that have similar left hand sides. Saved as set_leftbearing_group_bet.xml,
I could use this script on different fonts.
Mike
Mike Thompson
Hebrew Font Design
http://hebrew-font-shuneet.com
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: New Transform command 'Select'

Post by Bhikkhu Pesala »

I don't see any easy way to do this currently. Sorting glyphs by their current side-bearing may help if you want to change several from, say, 30 to 50 funits.

I would like a way to select all maths symbols at once to set their advance widths to the figure width. Currently, I have resorted to tagging them, but they still need to be found and selected before one can tag them. It just makes it easier to change the width later if you decide it's not quite right.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: New Transform command 'Select'

Post by Bhikkhu Pesala »

This can now be done by using the Feature "Override Range."

The screen shot shows how to set the Figures and Maths Symbols to a uniform width. Add other symbols to the range of characters to override, and adjust the width to suit the font.
Override Range.png
Override Range.png (37.6 KiB) Viewed 7984 times
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Mike Thompson
Top Typographer
Top Typographer
Posts: 408
Joined: Sat Apr 03, 2004 11:10 pm
Location: Massachusetts
Contact:

Re: New Transform command 'Select'

Post by Mike Thompson »

I was suggesting that the glyph names be used in transformations
such as Override Range so that the script might be more easily
understood by humans. Codes such as $30 etc don't have much meaning -
to me at least.
Mike
Mike Thompson
Hebrew Font Design
http://hebrew-font-shuneet.com
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: New Transform command 'Select'

Post by Bhikkhu Pesala »

Mike Thompson wrote:I was suggesting that the glyph names be used in transformations such as Override Range so that the script might be more easily understood by humans. Codes such as $30 etc don't have much meaning - to me at least.
Mike
With a Transform script you don't need to remember the code-points — they are saved in the script.

You only need to look up each glyph's code-point once when creating the script by selecting the glyph in the Overview and looking at the Glyph Properties dialogue. Copy/paste the code-point to your user notes. When done, copy the code-points to the Override range in the Glyph Transform script, and save the script for reuse.
Glyph Properties.png
Glyph Properties.png (15.29 KiB) Viewed 7972 times
(If you have a lot to do, add the glyphs to the Preview Toolbar with shortcut "P", then copy the numbers from the Preview Toolbar to notepad e.g. /uni05DA/uni05DB/uni05DC/uni05DD/uni05DE/uni05DF, then find and replace "/uni" with " $" and post the hex codepoints $ 05DA$ 05DB$ 05DC$ 05DD$ 05DE$ 05DF into the Glyph Transform script).
Copy Glyph Codes.png
Copy Glyph Codes.png (24.53 KiB) Viewed 7972 times
I am sure it would be possible to code the Transform scripts to use glyph names, but glyph names can be pretty obscure too if they are outside the usual Alphabet range for one's own language. Glyph names do not have to be human readable — for many (most) glyphs they are in the form "uni05D9" for Hebrew letter Yod, for example, which is no easier to remember than $05D9.

In the case of symbols, human readable glyph names are the exception rather than the rule. For example: /filledbox/whitesquare/uni25A2/uni25A3/uni25A4/uni25A5/uni25A6/uni25A7/uni25A8/uni25A9 but in Transform scripts we can just write this as $25A0-$25A9.
Geometric Shapes.png
Geometric Shapes.png (29.14 KiB) Viewed 7965 times
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: New Transform command 'Select'

Post by Erwin Denissen »

This feature request has been implemented in FontCreator 10.
Erwin Denissen
High-Logic
Proven Font Technology
Post Reply