arheiuhk_bd.TTF misssing
Nerillida opened this issue · 11 comments
Repeatable error message
Message: Font : Unable to load font file Fonts\arheiuhk_bd.TTF
Time: Sun Mar 14 23:48:30 2021
Count: 4
Searching addons folder, I can only find this in one of your xml files.
It beats me why this error is happening, but I will put together an alternative solution that should safely eliminate the problem.
Here is a new version of CT_BuffMod to try. It delays creating a custom font until after the game is more fully loaded.
Comparison of CT_BuffMod to the Blizzard code in https://www.townlong-yak.com/framexml/live/SharedFonts.xml
CT_BuffMod:
<FontFamily name="CT_BuffMod_NumberFont_Shadow_Med2" virtual="true">
<Member alphabet="traditionalchinese">
<Font font="Fonts\arheiuhk_bd.TTF" height="16">
<Shadow>
<Offset>
<AbsDimension x="1" y="-1"/>
</Offset>
</Shadow>
</Font>
</Member>
</FontFamily>
Blizzard FrameXML:
<FontFamily name="NumberFont_Shadow_Med" virtual="true">
<Member alphabet="traditionalchinese">
<Font font="Fonts\arheiuhk_bd.TTF" height="14">
<Shadow>
<Offset>
<AbsDimension x="1" y="-1"/>
</Offset>
<Color r="0" g="0" b="0"/>
</Shadow>
</Font>
</Member>
</FontFamily>
I am downloading the 繁體中文 version of the game client, to see if I can reproduce this error.
The code says "if using traditional chinese, use Fonts\arheiuhk_bd.TTF"
I normally use english and french, which has different fonts entirely.
Hmm.... well now that is truly strange. English should be using "Fonts\ARIALN.TTF" (arial narrow, just like the chat window)
<FontFamily name="CT_BuffMod_NumberFont_Shadow_Med2" virtual="true">
<Member alphabet="roman">
<Font font="Fonts\ARIALN.TTF" height="16">
<Shadow>
<Offset>
<AbsDimension x="1" y="-1"/>
</Offset>
</Shadow>
</Font>
</Member>