Multiple Fonts per File?

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

User avatar
SuperGeek
Just popping in
Just popping in
Posts: 16
Joined: Wed Oct 19, 2005 18:56

Multiple Fonts per File?

Postby SuperGeek » Sun Sep 24, 2006 03:42

I tried to put multiple fonts into one .font xml file, but the app crashes when launched. It seems that this doesn't work because the scheme file tags only look at the first font def in the .font file for the font name you speicified. Is this wrong?

User avatar
Dalfy
CEGUI Team (Retired)
Posts: 130
Joined: Tue Oct 11, 2005 16:13
Location: Paris, FRANCE
Contact:

Postby Dalfy » Sun Sep 24, 2006 09:06

the font file support only one font per file it's the same for all other file format.

The layout file allow for several layout in the same file but it's not supported in validating parser it is not a featured ! People should not use this because we might stop supporting this in the future

User avatar
SuperGeek
Just popping in
Just popping in
Posts: 16
Joined: Wed Oct 19, 2005 18:56

Postby SuperGeek » Mon Sep 25, 2006 00:07

Thanks for the response Dalfy. Does this include nested layouts? I saw in the XML reference text file that there was support for that.

User avatar
Dalfy
CEGUI Team (Retired)
Posts: 130
Joined: Tue Oct 11, 2005 16:13
Location: Paris, FRANCE
Contact:

Postby Dalfy » Mon Sep 25, 2006 06:58

Yes the aim of nested layout is to allow the definition of one layout and being able to re-use it in several other layout. But a nested layout remains a standard layout and should be define in its own file.

Yet you are free to use it differently if it best suite your needs and if you are not using a validating parser.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 27 guests