Thread: Font size
-
January 8th, 2023, 17:37 #1
Font size
Is there a way to know the size of a font whose name you know?
Code:<font name="narratorfont"> <ttf file="graphics/fonts/Noto_Sans/NotoSans-Bold.ttf" name="Noto Sans Bold" size="16" /> <color value="#261A12" /> </font>
-
January 9th, 2023, 00:59 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
No, there is no API for that information. Though, it is general practice for layered rulesets and extensions to override fonts with the same size fonts for best compatibility with themes and more. So, just assume that if you are using a predefined font, then it is the size defined in CoreRPG.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks