Originally Posted by ZOS_ChipHilseberg
We could potentially do something like:
[Font:ZoFontGame] = "xyz.otf|32"
Where this would make a font object with the name and descriptor. Would that be sufficient?
|
Thanks for your response. This will work perfectly for files:
- \esoui\libraries\globals\defaultfontdefs.xml
- \esoui\libraries\globals\keyboard\defaultfontdefs_keyboard.xml
- \esoui\libraries\globals\gamepad\defaultfontdefs_gamepad.xml
But we also have some font definitions in other places:
- \esoui\app\loadingscreen\gamepad\gamepadloadingscreen.xml
- \esoui\app\loadingscreen\sharedloadingscreen.xml (font="EsoUi/Common/Fonts/Univers67.otf|20|soft-shadow-thick" in "$(grandparent)ZoneDescription" and so on)
- \esoui\internalingame\market\gamepad\marketclasses_gamepad.xml
- \esoui\internalingame\market\keyboard\marketclasses_keyboard.xml
- \esoui\internalingame\marketannouncement\keyboard\marketannouncement_keyboard.xml
- \esoui\overlay\gamepad\overlayfontdefs_gamepad.xml
- \esoui\overlay\keyboard\overlayfontdefs_keyboard.xml
- \esoui\pregame\charactercreate\keyboard\zo_charactercreate_keyboard.xml
- Chat Bubbles
- and function ZO_TooltipStyledObject:GetFontString(...) for gamepad UI
These places potentially may have problems with fonts replacement, so please check them too.