Transformation parameters
Posted: Wed Aug 08, 2018 7:43 am
At the risk of revealing my total ignorance of the subject, I will ask my question anyway. I am using the Medium to Bold.xml script on a font which only has 1000 units per em and the results are way out of the range of what I'd expected. In looking at the script file, I noticed that scale parameters were obviously in percentage terms (92.40) while other parameters are discrete units such as:
<EffectsBold>
<Horizontal>81</Horizontal>
<Vertical>57</Vertical>
and
<OutlineMove>
<Horizontal>0</Horizontal>
<Vertical>57</Vertical>
My question is: shouldn't these discrete values be adjusted by a factor of 1000/2048 or 0.49?
Obviously, the corrections I made to the original script resulted in a glyph with the same height as the original, which was not the case with the original script, and a much better ratio of stem height to stem width of 4.26. The adjusted parameters also resulted in a revised scale percentage. However, more adjustments are still needed on the serifs.
I just had to ask because I did not see this mentioned anywhere in the manual.
<EffectsBold>
<Horizontal>81</Horizontal>
<Vertical>57</Vertical>
and
<OutlineMove>
<Horizontal>0</Horizontal>
<Vertical>57</Vertical>
My question is: shouldn't these discrete values be adjusted by a factor of 1000/2048 or 0.49?
Obviously, the corrections I made to the original script resulted in a glyph with the same height as the original, which was not the case with the original script, and a much better ratio of stem height to stem width of 4.26. The adjusted parameters also resulted in a revised scale percentage. However, more adjustments are still needed on the serifs.
I just had to ask because I did not see this mentioned anywhere in the manual.