Total-RP / Total-RP-3

The best roleplaying add-on for World of Warcraft.
http://curse.totalrp.com
Apache License 2.0
35 stars 19 forks source link

Adjust fonts without breaking alphabet swaps #915

Closed Meorawr closed 3 months ago

Meorawr commented 3 months ago

The SetFont API is a trap that has the effect of irreversibly breaking the ability for a fontstring to swap which font file is used for rendering strings when dealing with text content that goes from one language to another, eg. English to Russian.

We've had font utilities for a little while now, so let's fix up all the places calling SetFont and prevent them from breaking.