Scaling a glyph while maintaining stroke width

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
jamadagni
Posts: 71
Joined: Fri Jun 17, 2011 4:10 am
Location: 11 N 78 E

Scaling a glyph while maintaining stroke width

Post by jamadagni » Mon Mar 26, 2012 9:06 pm

Hello. While hacking on some existing open-source fonts, I've been required to resize some glyphs which were off-size for ths style. But if I scale them then the stroke width also increases which is unacceptable. Manual adjustment of the nodes is not an option in complex Indic glyphs. So I was wondering whether I could use some combination of Scale + Thin to get the desired effect?

IIUC the input values for horiz and vert for thin are the number of funits by which the strokes should be thinned. So I am thinking that it would work if the existing stroke width is uniform, and I should determine that width (x), and ask the Glyph Transformer to thin the glyph by the value (x*scale)-x on both horiz and vert factors.

Is this the right way to do this or is there a better way?

Thanks.
Shriramana Sharma

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

Re: Scaling a glyph while maintaining stroke width

Post by Bhikkhu Pesala » Mon Mar 26, 2012 9:30 pm

That's the way to do it — I don't think there's any easier way.

Experiment with some simple glyphs to check your transform values.

Copy the glyph to the clipboard, and paste it back after performing the transform, then undo the paste while you're testing the transformation because there is no undo for transformations.

When you have figured out the desired combination of scale and thin, select all of the glyphs in the overview that you want to transform, and apply the same transform to them all at once.

This Tutorial may help.
My FontsReviews: MainTypeFont CreatorHelpFC12 Pro + MT9.0 @ Win10 1903 build 18362.418

jamadagni
Posts: 71
Joined: Fri Jun 17, 2011 4:10 am
Location: 11 N 78 E

Re: Scaling a glyph while maintaining stroke width

Post by jamadagni » Mon Mar 26, 2012 10:17 pm

Thanks Bhikkhu. I found out that it is not straightforward that the thinning factor should be x*(scale-1). As you said we have to experiment and find out. And I have already seen your tutorial, thank you.
Shriramana Sharma

Post Reply