elementFontStart: Encountered unknown font type...

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

cl781121
Just popping in
Just popping in
Posts: 18
Joined: Wed May 26, 2010 08:02

elementFontStart: Encountered unknown font type...

Postby cl781121 » Sun Jun 13, 2010 09:53

hi there!

i think cegui cann't find the font type,but i copy "myfont.font" and "mytibmp.bin" to the work directroy

in scheme

Code: Select all

...
  <Font Name="mybmp" Filename="myfont.font" Type="Bitmap" />
...


in font

Code: Select all

<?xml version="1.0" ?>
<Font Name="mybmp" Filename="mytibmp.bin" Size="12"  TextureSize="512">
</Font>



here is log

Code: Select all

13/06/2010 17:15:19 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
13/06/2010 17:15:19 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
13/06/2010 17:15:19 (Std)    +                          (http://www.cegui.org.uk/)                         +
13/06/2010 17:15:19 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

13/06/2010 17:15:19 (Std)    CEGUI::Logger singleton created. (016FC988)
13/06/2010 17:15:19 (Std)    
13/06/2010 17:15:19 (Std)    ********************************************************************************
13/06/2010 17:15:19 (Std)    * Important:                                                                   *
13/06/2010 17:15:19 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
13/06/2010 17:15:19 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
13/06/2010 17:15:19 (Std)    *     support being given; please do not waste our time.                       *
13/06/2010 17:15:19 (Std)    ********************************************************************************
13/06/2010 17:15:19 (Std)    ********************************************************************************
13/06/2010 17:15:19 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
13/06/2010 17:15:19 (Std)    ********************************************************************************
13/06/2010 17:15:19 (Std)    ---- Version 0.7.1 (Build: Jan 27 2010 Microsoft Windows MSVC++ 8.0 32 bit) ----
13/06/2010 17:15:19 (Std)    ---- Renderer module is: CEGUI::Direct3D9Renderer - Official Direct3D 9 based 2nd generation renderer module. ----
13/06/2010 17:15:19 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
13/06/2010 17:15:19 (Std)    ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
13/06/2010 17:15:19 (Std)    ---- Scripting module is: None ----
13/06/2010 17:15:19 (Std)    ********************************************************************************
13/06/2010 17:15:19 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
13/06/2010 17:15:19 (Std)    ********************************************************************************
13/06/2010 17:15:19 (Std)    
13/06/2010 17:15:19 (Std)    ---- Begining CEGUI System initialisation ----
13/06/2010 17:15:19 (Std)    CEGUI::ImagesetManager singleton created (016FE418)
13/06/2010 17:15:19 (Std)    CEGUI::FontManager singleton created. (016FDEA0)
13/06/2010 17:15:19 (Std)    CEGUI::WindowFactoryManager singleton created
13/06/2010 17:15:19 (Std)    CEGUI::WindowManager singleton created (016FDC48)
13/06/2010 17:15:19 (Std)    CEGUI::SchemeManager singleton created. (016FD110)
13/06/2010 17:15:19 (Std)    CEGUI::MouseCursor singleton created. (0119CB58)
13/06/2010 17:15:19 (Std)    CEGUI::GlobalEventSet singleton created. (011971E0)
13/06/2010 17:15:19 (Std)    CEGUI::WidgetLookManager singleton created. (016F07D0)
13/06/2010 17:15:19 (Std)    CEGUI::WindowRendererManager singleton created (0119C608)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'DefaultWindow' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'DefaultWindow' windows added. (016FFBD8)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'DragContainer' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'DragContainer' windows added. (016FFD58)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'ScrolledContainer' windows added. (016FFED8)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'ClippedContainer' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'ClippedContainer' windows added. (01700058)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/Checkbox' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (017001D8)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (01700358)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (017004D8)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (01700658)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (01700910)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (01700710)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (01700B58)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (01700CD8)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (01700E58)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (01700FD8)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (01701158)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (017012D8)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (01701458)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (017015D8)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (01701758)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (017018D8)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (01701A58)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (01701BD8)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (01701D58)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (01701ED8)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (01702058)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (017021D8)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (01702358)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (017024D8)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (01702658)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (01702898)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (01702A18)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (01702B98)
13/06/2010 17:15:19 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
13/06/2010 17:15:19 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (01702D18)
13/06/2010 17:15:19 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
13/06/2010 17:15:19 (Std)    CEGUI::System singleton created. (016FC6B0)
13/06/2010 17:15:19 (Std)    ---- CEGUI System initialisation completed ----
13/06/2010 17:15:19 (Std)    
13/06/2010 17:15:19 (Std)    Started creation of Scheme from XML specification:
13/06/2010 17:15:19 (Std)    ---- CEGUI GUIScheme name: WoWLookSkin
13/06/2010 17:15:19 (Std)    Started creation of Font from XML specification:
13/06/2010 17:15:19 (Error)   CEGUI::InvalidRequestException in file ..\..\..\cegui\src\CEGUIFont_xmlHandler.cpp(145) : Font_xmlHandler::elementFontStart: Encountered unknown font type of ''


what is my missing??? and thanks all

and ....happy duanwu!!! :lol: :lol: :lol:

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: elementFontStart: Encountered unknown font type...

Postby CrazyEddie » Sun Jun 13, 2010 15:34

The choices for font type are "Pixmap" and "FreeType", so presumably you want "Pixmap" and not "Bitmap" ;)

CE.

cl781121
Just popping in
Just popping in
Posts: 18
Joined: Wed May 26, 2010 08:02

Re: elementFontStart: Encountered unknown font type...

Postby cl781121 » Thu Jun 17, 2010 09:41

hi ce

ok, that error is disappear...but i got another errors :(

in scheme

Code: Select all

...
  <Font Name="SongTiBmp12" Filename="../Data/Interface/Schema/SongTiBmp12.font" Type="Pixmap" />
...



in font file

Code: Select all

...
<?xml version="1.0" ?>
<Font Name="SongTiBmp12" Filename="../Data/Interface/Schema/GBK12.bin"  Size="12"  TextureSize="512" Type="Pixmap">
</Font>
...


log file

Code: Select all

17/06/2010 17:11:02 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
17/06/2010 17:11:02 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
17/06/2010 17:11:02 (Std)    +                          (http://www.cegui.org.uk/)                         +
17/06/2010 17:11:02 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

17/06/2010 17:11:02 (Std)    CEGUI::Logger singleton created. (016FCC90)
17/06/2010 17:11:02 (Std)    
17/06/2010 17:11:02 (Std)    ********************************************************************************
17/06/2010 17:11:02 (Std)    * Important:                                                                   *
17/06/2010 17:11:02 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
17/06/2010 17:11:02 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
17/06/2010 17:11:02 (Std)    *     support being given; please do not waste our time.                       *
17/06/2010 17:11:02 (Std)    ********************************************************************************
17/06/2010 17:11:02 (Std)    ********************************************************************************
17/06/2010 17:11:02 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
17/06/2010 17:11:02 (Std)    ********************************************************************************
17/06/2010 17:11:02 (Std)    ---- Version 0.7.1 (Build: Jan 27 2010 Microsoft Windows MSVC++ 8.0 32 bit) ----
17/06/2010 17:11:02 (Std)    ---- Renderer module is: CEGUI::Direct3D9Renderer - Official Direct3D 9 based 2nd generation renderer module. ----
17/06/2010 17:11:02 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
17/06/2010 17:11:02 (Std)    ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
17/06/2010 17:11:02 (Std)    ---- Scripting module is: None ----
17/06/2010 17:11:02 (Std)    ********************************************************************************
17/06/2010 17:11:02 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
17/06/2010 17:11:02 (Std)    ********************************************************************************
17/06/2010 17:11:02 (Std)    
17/06/2010 17:11:02 (Std)    ---- Begining CEGUI System initialisation ----
17/06/2010 17:11:02 (Std)    CEGUI::ImagesetManager singleton created (016FCF20)
17/06/2010 17:11:02 (Std)    CEGUI::FontManager singleton created. (016FEC50)
17/06/2010 17:11:02 (Std)    CEGUI::WindowFactoryManager singleton created
17/06/2010 17:11:02 (Std)    CEGUI::WindowManager singleton created (016FD0F0)
17/06/2010 17:11:02 (Std)    CEGUI::SchemeManager singleton created. (016FDFB8)
17/06/2010 17:11:02 (Std)    CEGUI::MouseCursor singleton created. (0119F280)
17/06/2010 17:11:02 (Std)    CEGUI::GlobalEventSet singleton created. (0119BE10)
17/06/2010 17:11:02 (Std)    CEGUI::WidgetLookManager singleton created. (016F7DB8)
17/06/2010 17:11:02 (Std)    CEGUI::WindowRendererManager singleton created (016F26F8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'DefaultWindow' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'DefaultWindow' windows added. (016FE638)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'DragContainer' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'DragContainer' windows added. (01700068)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'ScrolledContainer' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'ScrolledContainer' windows added. (017001E8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'ClippedContainer' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'ClippedContainer' windows added. (01700368)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/Checkbox' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/Checkbox' windows added. (017004E8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/PushButton' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/PushButton' windows added. (01700668)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/RadioButton' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/RadioButton' windows added. (017007E8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/Combobox' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/Combobox' windows added. (01700968)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/ComboDropList' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/ComboDropList' windows added. (01700AE8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/Editbox' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/Editbox' windows added. (01700C68)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/FrameWindow' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/FrameWindow' windows added. (01700DE8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/ItemEntry' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/ItemEntry' windows added. (01700F68)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/Listbox' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/Listbox' windows added. (017010E8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/ListHeader' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/ListHeader' windows added. (01701268)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (017013E8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/Menubar' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/Menubar' windows added. (01701568)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/PopupMenu' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/PopupMenu' windows added. (017016E8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/MenuItem' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/MenuItem' windows added. (01701868)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/MultiColumnList' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/MultiColumnList' windows added. (017019E8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (01701B68)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/ProgressBar' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/ProgressBar' windows added. (01701CE8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/ScrollablePane' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/ScrollablePane' windows added. (01701E68)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/Scrollbar' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/Scrollbar' windows added. (01701FE8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/Slider' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/Slider' windows added. (01702168)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/Spinner' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/Spinner' windows added. (017022E8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/TabButton' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/TabButton' windows added. (01702468)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/TabControl' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/TabControl' windows added. (017025E8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/Thumb' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/Thumb' windows added. (01702768)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/Titlebar' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/Titlebar' windows added. (017028E8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/Tooltip' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/Tooltip' windows added. (01702B28)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/ItemListbox' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/ItemListbox' windows added. (01702CA8)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/GroupBox' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/GroupBox' windows added. (01702E28)
17/06/2010 17:11:02 (Std)    Created WindowFactory for 'CEGUI/Tree' windows.
17/06/2010 17:11:02 (Std)    WindowFactory for 'CEGUI/Tree' windows added. (01702FA8)
17/06/2010 17:11:02 (Std)    Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
17/06/2010 17:11:02 (Std)    CEGUI::System singleton created. (016FCAA8)
17/06/2010 17:11:02 (Std)    ---- CEGUI System initialisation completed ----
17/06/2010 17:11:02 (Std)    
17/06/2010 17:11:02 (Std)    Started creation of Scheme from XML specification:
17/06/2010 17:11:02 (Std)    ---- CEGUI GUIScheme name: WoWLookSkin
17/06/2010 17:11:02 (Std)    Started creation of Font from XML specification:
17/06/2010 17:11:02 (Std)    ---- CEGUI font name: SongTiBmp12
17/06/2010 17:11:02 (Std)    ----       Font type: Pixmap
17/06/2010 17:11:02 (Std)    ----     Source file: ../Data/Interface/Schema/GBK12.bin in resource group: (Default)
17/06/2010 17:11:02 (Error)   CEGUI::GenericException in file ..\..\..\..\cegui\src\XMLParserModules\ExpatParser\CEGUIExpatParser.cpp(78) : ExpatParser::parseXMLFile - XML Parsing error 'not well-formed (invalid token)' at line 1

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: elementFontStart: Encountered unknown font type...

Postby CrazyEddie » Thu Jun 17, 2010 13:12

Three things,

1) You don't need to put the Type attribute in the scheme xml file, it's only needed in the Font xml file (though that is not generating an error here).

2) The cause of the error is because the Filename specified in the Font XML for a Pixmap type font should reference a second XML file that describes a CEGUI imageset. Whereas you seem to be referencing some kind of binary (font?) file.

3) There is no TextureSize attribute accepted for Font definitions.

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 6 guests