Page 1 of 1
How can I use system font?
Posted: Wed Nov 29, 2006 01:43
by televoncard
I am developing under MS Windows. I want to use font included in MS Windows. It seems that I must know path to the font file when writing .font file, but the windows font directory may be diferrent for each computer.
Is there any methods to describe use system font file in .font file? Or I must write code which finds windows font directory and and let CEGUI load that font?
Posted: Wed Nov 29, 2006 02:24
by lindquist
You must find and load the font file manually. CEGUI does not and probably never will support this IMHO.
Posted: Mon Dec 04, 2006 16:49
by LennyH
lindquist wrote:You must find and load the font file manually. CEGUI does not and probably never will support this IMHO.
and targeted at games developers who should be spending their time creating great games, not building GUI sub-systems!
I'd recommend taking that bit off the wiki page then :p
Posted: Wed Dec 06, 2006 09:11
by Sjizo
I don't see the relation between your problem and the quote. Can you explain?
Posted: Wed Dec 06, 2006 09:41
by lindquist
It's not portable and should not be in CEGUI. I'm not telling you to build your GUI subsystem yourself. Just to find the font files!