Page 1 of 1

Broken font resources in 1.7/1.8+

Posted: Tue Jul 31, 2012 5:04 am
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)