PDA

View Full Version : Formatted Text, font settings changed?



celestian
October 31st, 2020, 21:40
Previously I had a small extention that changed the story block to a dark background... to that end I changed the bold to be white.



<font normal="dark-reference-r-light" bold="dark-reference-b-light" italic="dark-reference-i-light" bolditalic="dark-reference-bi-light" title="dark-reference-b-large-light" />


Those fonts:


<font name="dark-reference-b-large-light">
<fgffile name="graphics/fonts/bold-11.fgf" />
<ttf file="graphics/fonts/Noto_Sans/NotoSans-Bold.ttf" name="Noto Sans Bold" size="18" />
<color value="#FEAB07" />
</font>

<font name="dark-reference-r-light">
<fgffile name="graphics/fonts/regular-11.fgf" />
<ttf file="graphics/fonts/Noto_Sans/NotoSans-Regular.ttf" name="Noto Sans" size="16" />
<color value="#ECF0F1" />
</font>

<font name="dark-reference-i-light">
<fgffile name="graphics/fonts/italic-11.fgf" />
<ttf file="graphics/fonts/Noto_Sans/NotoSans-Italic.ttf" name="Noto Sans Italic" size="16" />
<color value="#ECF0F1" />
</font>

<font name="dark-reference-b-light">
<fgffile name="graphics/fonts/bold-11.fgf" />
<ttf file="graphics/fonts/Noto_Sans/NotoSans-Bold.ttf" name="Noto Sans Bold" size="16" />
<color value="#FFFFFF" />
</font>
<font name="dark-reference-bi-light">
<fgffile name="graphics/fonts/bolditalic-11.fgf" />
<ttf file="graphics/fonts/Noto_Sans/NotoSans-BoldItalic.ttf" name="Noto Sans Bold Italic" size="16" />
<color value="#FFFFFF" />
</font>



However, the dark-reference-b-light and dark-reference-bi-light show as black... This works in FGC.

Examples:
https://i.imgur.com/smbav5d.png

The Bold/Italic should be White on both. I tried just bold as well and it's also black in FGU.

Moon Wizard
November 1st, 2020, 00:49
Do you have a copy of the extension that I could use to see the issue?

Thanks,
JPG

celestian
November 1st, 2020, 01:03
Do you have a copy of the extension that I could use to see the issue?

Thanks,
JPG

Yup, see attached.

Moon Wizard
November 1st, 2020, 17:15
Thanks for the easy example. I found the issue; and the fix will be in the next build.

Regards,
JPG

celestian
November 2nd, 2020, 18:37
Thanks for the easy example. I found the issue; and the fix will be in the next build.

Regards,
JPG

With latest update, it works, thanks ;)

https://i.imgur.com/Oxf5EMe.png