AmadanNaBriona
April 15th, 2020, 19:55
I've read this thread (https://www.fantasygrounds.com/forums/showthread.php?56221-Fonts-small) and several others about the change from fgf to ttf specs in FGU. I'm still having trouble isolating the causes of the following problems, all in my ruleset which is based on CoreRPG.
4/15/2020 1:09:56 PM] [WARNING] formattedtextcontrol: Could not find normal font () in control (text) in class (charnote)
[4/15/2020 1:09:56 PM] [WARNING] formattedtextcontrol: Could not find title font () in control (text) in class (charnote)
This is the text control in the charnote class:
<ft_record name="text">
<bounds>25,85,-25,-15</bounds>
<multilinespacing>16</multilinespacing>
<font>reference-r</font>
<selectioncolor>#FFD296</selectioncolor>
</ft_record>
reference-r is defined thusly in CoreRPG's graphics_fonts.xml:
<font name="reference-r">
<fgffile name="graphics/fonts/regular-10.fgf" />
<ttf file="graphics/fonts/Noto_Sans/NotoSans-Regular.ttf" name="Noto Sans" size="12" />
<color value="#000000" />
</font>
I've checked, and both the fgf and ttf file are there.
The other error is this one, which is repeated over and over whenever I open a charnote window:
[4/15/2020 1:09:56 PM] [<color="red">ERROR</color>] Could not find font for fontName
This seems to indicate there is a nil font name it's trying to find? I am unable to find the missing font and not sure how I'd go about figuring out which font it's complaining about.
4/15/2020 1:09:56 PM] [WARNING] formattedtextcontrol: Could not find normal font () in control (text) in class (charnote)
[4/15/2020 1:09:56 PM] [WARNING] formattedtextcontrol: Could not find title font () in control (text) in class (charnote)
This is the text control in the charnote class:
<ft_record name="text">
<bounds>25,85,-25,-15</bounds>
<multilinespacing>16</multilinespacing>
<font>reference-r</font>
<selectioncolor>#FFD296</selectioncolor>
</ft_record>
reference-r is defined thusly in CoreRPG's graphics_fonts.xml:
<font name="reference-r">
<fgffile name="graphics/fonts/regular-10.fgf" />
<ttf file="graphics/fonts/Noto_Sans/NotoSans-Regular.ttf" name="Noto Sans" size="12" />
<color value="#000000" />
</font>
I've checked, and both the fgf and ttf file are there.
The other error is this one, which is repeated over and over whenever I open a charnote window:
[4/15/2020 1:09:56 PM] [<color="red">ERROR</color>] Could not find font for fontName
This seems to indicate there is a nil font name it's trying to find? I am unable to find the missing font and not sure how I'd go about figuring out which font it's complaining about.