Broken font resources in 1.7/1.8+

What it says on the tin: a place to discuss proposed new features.
Post Reply
User avatar
Mind Calamity
Ogre Magi
Posts: 1255
Joined: Sat Dec 25, 2010 2:55 pm
Location: Macedonia
x 81

Broken font resources in 1.7/1.8+

Post by Mind Calamity »

There have been a lot of threads lately about MovableText not working because of the font missing error. The problem was that the old ".font" definition files were still being used - misleading people into believing that format of defining fonts is still being used.

My feature request would be to remove those resources and instead include them in a properly defined format - a ".fontdef" file, which is parsed by the resource and font manager, unlike the ".font" files.

Here's the easy fix:

Code: Select all

StarWars
{
	// Now this one I agree with ;)
	// A Star Wars font :)
	type 		truetype
	source 		solo5.ttf
	size 		16
	resolution 	96
}

BlueHighway-8
{
	type 		truetype
	source 		bluehigh.ttf
	size 		8
	resolution 	96
}

BlueHighway-16
{
	type 		truetype
	source 		bluehigh.ttf
	size 		16
	resolution 	96
}

BlueHighway-12
{
	type 		truetype
	source 		bluehigh.ttf
	size 		12
	resolution 	96
}
Just in case someone stumbles upon here from Google or something, and the "feature" requested is not implemented. (I don't see why it wouldn't be though)
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Post Reply