View Single Post
11/20/15, 06:00 AM   #8
TERAB1T
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 28
Originally Posted by ZOS_ChipHilseberg View Post
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.

Last edited by TERAB1T : 11/20/15 at 06:24 AM.
  Reply With Quote