RE: Import font problem
There is a quick an easy way to replace all the fonts in messenger. This of course is only if you want the same font for every single part of Messenger.
The font messenger uses is actually defined by a bit of text you can replace so that every part of Messenger takes on the font you want.
For starters:
<Fonts>
<Font><File>fonts/Coconut-Medium.ttf</File></Font>
<Font><File>fonts/Coconut-MediumOblique.ttf</File></Font>
<Font><File>fonts/Coconut-BoldD.ttf</File></Font>
<Font><File>fonts/Coconut-BoldOblique.ttf</File></Font>
<Font><File>fonts/Exocet.TTF</File></Font>
</Fonts>
That code is fine, you leave that code in.
Then under the <Replace> section in SkinInfo.xml add this in:
<Strings>
<String Id="20951">Coconut-Medium</String>
<String Id="20952">Coconut-Medium</String>
<String Id="20953">Coconut-Medium</String>
<String Id="20954">Coconut-Medium</String>
</Strings>
This will change every single font in the Messenger UI to coconut Medium. If you then want to apply a different font to a specific part of messenger you would use:
FontFace="Font Name Goes Here", under the definition file in the element you want to change.
This is a much cleaner way to replace fonts as you don't have to go into every single file and change the code and it is also very hard to make a mistake.
|