How are fonts defined in Unity?
According to the Unity wiki:
Quote:
<font name="..." >
<fgffile > ... </fgffile>
<ttf >
<file > ... </file>
<name > ... </name>
<size > ... </size>
<bold > ... </bold>
<weight > ... </weight>
<italic > ... </italic>
<underline > ... </underline>
<strikethrough > ... </strikethrough>
</ttf>
<color > ... </color>
<shadow >
<offset > ... </offset>
<color > ... </color>
</shadow>
</font>
So my try was:
Quote:
<font name="reference-r">
<ttf >
<file >"graphics/fonts/calibri.ttf"</file>
<name >"Calibri"</name>
<size >18</size>
</ttf>
<color >"#000000"</color>
</font>
But it keeps saying that the font cant be found, but it is there (at graphics/fonts)