How can I use system font?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

televoncard
Just popping in
Just popping in
Posts: 4
Joined: Mon Oct 30, 2006 02:28

How can I use system font?

Postby televoncard » Wed Nov 29, 2006 01:43

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?

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Postby lindquist » Wed Nov 29, 2006 02:24

You must find and load the font file manually. CEGUI does not and probably never will support this IMHO.

LennyH
Quite a regular
Quite a regular
Posts: 92
Joined: Thu Nov 30, 2006 20:50

Postby LennyH » Mon Dec 04, 2006 16:49

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

Sjizo
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Thu Aug 31, 2006 08:44

Postby Sjizo » Wed Dec 06, 2006 09:11

I don't see the relation between your problem and the quote. Can you explain?

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Postby lindquist » Wed Dec 06, 2006 09:41

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!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 26 guests