postscriptSlantAngle is overriden by italicAngle
See original GitHub issueIn [3]: u = Font()
In [6]: u.info.italicAngle = 10
In [7]: u.info.postscriptSlantAngle = 20
In [8]: t = ufo2ft.compileTTF(u)
In [11]: assert t["post"].italicAngle == 20, t["post"].italicAngle
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-11-e1fd7231bc4c> in <module>
----> 1 assert t["post"].italicAngle == 20, t["post"].italicAngle
AssertionError: 10.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:18 (10 by maintainers)
Top Results From Across the Web
Default font slant angle - PTC Community
This would set the default font to isocpeur font with italic specified. "i" at the end in "isocpeui " denotes italics. I am...
Read more >Preferences - FontLab Help Center
Slant angle allows slanted vertical gridlines. The angle can be within the -45˚+45˚ range. This option is overridden by the next one.
Read more >How to increase the angle of italic text? - Stack Overflow
P.S. : This method will help you change the angle of italics of text, but for the case of designing the logo, you'll...
Read more >PostScript - RoboFont
Artificial slant angle. UnderlineThickness, Underline thickness value. Corresponds to the post table UnderlineThickness field. UnderlinePosition ...
Read more >TextMesh Pro - Italics is... too italicized? How to customize?
The change adjusts the position of the italic text by an amount proportional to the slant / angle. Last edited: Jun 3, 2019....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here’s a screenshot of the relevant section of the FLS5 Font Info > Metrics and Dimensions > Key Dimensions panel with the description “Slant is based on FontMatrix and works only in T1”.
Here’s a screenshot of Fontforge with two test fonts produced in FLS5, one with the default Slant angle value and another with a custom Slant angle value set to -12. Note that in FLS5 the source or the generated Win Type 1 fonts are exactly the same except for the Slant angle value whereas in Fontforge the one with the Slant angle set to -12 has slanted glyphs.
Edit: the same is true when exporting OpenType CFF from FLS5 with the slant angle value set, however this does not set the FontMatrix but slants the outlines instead, whereas it sets the FontMatrix in Type 1.
From the Mac FontLab 5 manual (User manual release 5.1 [5/2006]), page 243: