Thread: How are fonts defined in Unity?
-
March 28th, 2020, 08:40 #11
Thanks all for your help.
My conclusion is that font management has not changed, it is like FGC, but for combability issues and now you have to specify ffg for FGC and ttf for FGU.
-
March 28th, 2020, 09:49 #12
Please try without bracket names in the extension.
-
March 28th, 2020, 11:32 #13
Using this:
<root>
<font name="reference-r">
<ttf >
<file >"graphics/fonts/calibri.ttf"</file>
<name >"Calibri"</name>
<size >28</size>
</ttf>
<color >"#660000"</color>
</font>
</root>
[3/28/2020 11:28:54 AM] Launcher scene starting.
[3/28/2020 11:28:58 AM] Starting private server mode. [(192.168.0.100:1802) (fe80::d5f7:4016:cfde:51f0:1802)]
[3/28/2020 11:28:59 AM] Game server started. [192.168.0.100:1802]
[3/28/2020 11:28:59 AM] Launcher scene exiting.
[3/28/2020 11:28:59 AM] Tabletop scene starting.
[3/28/2020 11:29:16 AM] [<color="red">ERROR</color>] font: Missing file () for font (reference-r). [Tema Base La Llamada de Cthulhu] [graphics\graphics_fonts.xml]
[3/28/2020 11:29:19 AM] [WARNING] Frame desktop contains out-of-range values in Middle.
-
March 28th, 2020, 11:44 #14
Use the same format for the font definition as Carl mentioned above in post #10.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
March 28th, 2020, 11:51 #15
-
March 28th, 2020, 12:48 #16
-
March 28th, 2020, 12:55 #17
-
March 28th, 2020, 14:42 #18
-
March 28th, 2020, 14:57 #19
this works for me without error
<font name="reference-r">
<ttf file="graphics/fonts/calibri.ttf" name="Calibri" size="24" />
<color value="660000" />
</font>
-
March 28th, 2020, 15:01 #20
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks