CTMod

CTMod

766k Downloads

arheiuhk_bd.TTF misssing

Nerillida opened this issue · 11 comments

commented

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.

commented

It beats me why this error is happening, but I will put together an alternative solution that should safely eliminate the problem.

commented

Very grateful

commented

CT_BuffMod.zip

Here is a new version of CT_BuffMod to try. It delays creating a custom font until after the game is more fully loaded.

commented

Thanks, I will use it when I restart WoW in a few hours. Again grateful.

commented

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>
commented

I am downloading the 繁體中文 version of the game client, to see if I can reproduce this error.

commented

Thanks for looking at this, it's beyond my ability to really understand.

commented

The code says "if using traditional chinese, use Fonts\arheiuhk_bd.TTF"

I normally use english and french, which has different fonts entirely.

commented

I use English, no idea where the error came from. :(

commented

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>
commented

Weoks fine. Thanks.