Hi ,CrazyEddie ,
Here I'll talk about three topics:
Fisrt,look at the followingcode:
[color=00AA00]String mUnicode((utf8*)"士大夫") ;
const char * mChars = mUnicode.c_str();[/color]
the code is OK , right ? However the result is :
[color=AA0000]mChars = "士猿撞" ;[/color]
what's happened ! I think this a bug, the working code in String class,here is :
size_type encode(const utf32* src, utf8* dest, size_type dest_len, size_type src_len = 0) const
{
// other code
// .
// .
// while there is data in the source buffer,
for (uint idx = 0; idx < src_len; ++idx)
{
utf32 cp = src[idx];
// other code
// .
// .
else if (cp < 0x0800)
{
*dest++ = (utf8)((cp >> 6) | 0xC0);
*dest++ = (utf8)((cp & 0x3F) | 0x80);
destCapacity -= 2;
}
// other code
// .
// .
}
Second,would you like do some change to
String& String::assign(const char* chars, size_type chars_len) ?
the following is my suggestion:
String& String::assign(const char* chars, size_type chars_len)
{
// the following is old
/*
grow(chars_len);
utf32* pt = ptr();
for (size_type i = 0; i < chars_len; ++i)
{
*pt++ = static_cast<utf32>(static_cast<unsigned char>(*chars++));
}
setlen(chars_len);
return *this;
*/
//-----------------------------------------------------------------------
// Modify:12/10/2004
// Infor :可以存储Unicode符/for holding Unicode chars
return assign((utf8*) chars, chars_len) ;
//-----------------------------------------------------------------------
}
So the code : String mUnicode("士大夫") ;
as the same : String mUnicode((utf8*)"士大夫") ;
very easy , right ?
Third, I will be very glad if you change the following method name(just I mentioned upper)
[color=00AA00]size_type encode(const utf32* src, utf8* dest, size_type dest_len, size_type src_len = 0) const ;[/color]
to
[color=00AA00]size_type decode(const utf32* src, utf8* dest, size_type dest_len, size_type src_len = 0) const; // 解码[/color]
that will be more clearer , do you ?
the class String effect how to display Chinese and other Asia language ,althoght I have done somthing to this class , it don't work to display Chinese, the next step I'll do some change to class Font.
If you do some work for my first question,it's my pleasure .
Thank you , CrazyEddie .
Is it a bug ,CrazyEddie ?
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Is it a bug ,CrazyEddie ?
Hi,
Yes, that's quite obviously looks like the wrong result I'll look into this...
Easy for some, not for others . If I did that, users that are not saving source files as UTF-8 would not get expected results. This is why the overloads are there, to allow a choice.
Sorry, I dont agree. The method is taking a string of utf32 codepoins and encoding it as utf8 data - the method name is appropriate for what is happening.
If you are suggesting that the Font is unable to display the Chinese characters, then this is incorrect, the Font can do this; I've seen it with my own eyes. Forum (guest) user 'rzhou_sh' successfully did this, they sent me a demo to help debug another problem, in the demo there was Chinese characters displayed - so it definately works. Have you properly specified the glyphs to be used by the font?
Yeah, I'll look into this, it definately looks like a bug at the moment
CE.
Fisrt,look at the followingcode:
[color=00AA00]String mUnicode((utf8*)"士大夫") ;
const char * mChars = mUnicode.c_str();[/color]
the code is OK , right ? However the result is :
[color=AA0000]mChars = "士猿撞" ;[/color]
Yes, that's quite obviously looks like the wrong result I'll look into this...
Second,would you like do some change to
String& String::assign(const char* chars, size_type chars_len) ?
the following is my suggestion:
String& String::assign(const char* chars, size_type chars_len)
{
//-----------------------------------------------------------------------
// Modify:12/10/2004
// Infor :可以存储Unicode符/for holding Unicode chars
return assign((utf8*) chars, chars_len) ;
//-----------------------------------------------------------------------
}
So the code : String mUnicode("士大夫") ;
as the same : String mUnicode((utf8*)"士大夫") ;
very easy , right ?
Easy for some, not for others . If I did that, users that are not saving source files as UTF-8 would not get expected results. This is why the overloads are there, to allow a choice.
Third, I will be very glad if you change the following method name(just I mentioned upper)
[color=00AA00]size_type encode(const utf32* src, utf8* dest, size_type dest_len, size_type src_len = 0) const ;[/color]
to
[color=00AA00]size_type decode(const utf32* src, utf8* dest, size_type dest_len, size_type src_len = 0) const; // 解码[/color]
that will be more clearer , do you ?
Sorry, I dont agree. The method is taking a string of utf32 codepoins and encoding it as utf8 data - the method name is appropriate for what is happening.
the class String effect how to display Chinese and other Asia language ,althoght I have done somthing to this class , it don't work to display Chinese, the next step I'll do some change to class Font.
If you are suggesting that the Font is unable to display the Chinese characters, then this is incorrect, the Font can do this; I've seen it with my own eyes. Forum (guest) user 'rzhou_sh' successfully did this, they sent me a demo to help debug another problem, in the demo there was Chinese characters displayed - so it definately works. Have you properly specified the glyphs to be used by the font?
If you do some work for my first question,it's my pleasure .
Yeah, I'll look into this, it definately looks like a bug at the moment
CE.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Is it a bug ,CrazyEddie ?
I'll look into this, it definately looks like a bug at the moment
Ok. It is not a bug
The problem is being caused by the way your source files are encoded when they are saved. Currently your files are being saved using one of the Chinese encodings (which is understandable), but in order for this to work correctly you need to change to one of the Unicode UTF-8 encodings; since this is what you're telling the system you're using with the (utf8*) cast.
CE.
Is it a bug ,CrazyEddie ?
First thank you to pull me out of the puzzle .
I have specified the glyphs to be used by the font in XML files , but
Perhaps there is something wrong when I specified the glyphs to be used by the font , I'll check them .
Another help:
If you hold a copy of user rzhou_sh' s demo yet, would you like to send me a copy ?
my E_mail : glamors@163.com.
other way also OK.
Thanks.
I have specified the glyphs to be used by the font in XML files , but
Perhaps there is something wrong when I specified the glyphs to be used by the font , I'll check them .
Another help:
If you hold a copy of user rzhou_sh' s demo yet, would you like to send me a copy ?
my E_mail : glamors@163.com.
other way also OK.
Thanks.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Is it a bug ,CrazyEddie ?
Hi,
I'm afraid I can't send you someone elses demo - that would not be right
What I am willing to do is code a very simple demo of this as an example of how to acheive what you need. I'll see if I can get this done ready for the weekend, though I make no promises
CE.
I'm afraid I can't send you someone elses demo - that would not be right
What I am willing to do is code a very simple demo of this as an example of how to acheive what you need. I'll see if I can get this done ready for the weekend, though I make no promises
CE.
Is it a bug ,CrazyEddie ?
yes,you are right.I'm waiting,thank you .I know that this should be done by me,but now I have other thing to do , so ... ,I'm sorry for this.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Is it a bug ,CrazyEddie ?
Okay, I have put together a small demo with some Chinese in it
Firstly, forgive me if the Chinese is poorly translated
Here is a screenshot:
You can download the demo and source from the link below. The demo project is for VC7.1, though should work with a little messing on other systems. VC6 may have trouble though, since the english version does not allow you to save files as UTF-8; though perhaps the international versions do have this option?
IMPORTANT: To run the demo you must copy the simhei.ttf font file from your system Fonts directory into the ./datafiles/fonts directory. I did not include this because it is so big.
[color=0000AA]Download Demo[/color]
CE.
Firstly, forgive me if the Chinese is poorly translated
Here is a screenshot:
You can download the demo and source from the link below. The demo project is for VC7.1, though should work with a little messing on other systems. VC6 may have trouble though, since the english version does not allow you to save files as UTF-8; though perhaps the international versions do have this option?
IMPORTANT: To run the demo you must copy the simhei.ttf font file from your system Fonts directory into the ./datafiles/fonts directory. I did not include this because it is so big.
[color=0000AA]Download Demo[/color]
CE.
Is it a bug ,CrazyEddie ?
Hi,I have got the demo,good job!
I'm sorry for my mistake when I was using the XML script
By the way , good Chinese
Another problem:
After I do some change to "d3d9_cegui_demo" ,however I can't get the result! Why ?
the script is :
(directory:datafiles\fonts\simfang.font( "simfang.font" created by me ,仿宋体 )
[color=00AA00]<?xml version="1.0" ?>
<Font Name="SimFang" Filename="../datafiles/fonts/simfang.ttf" Type="Dynamic" Size="12" NativeHorzRes="800" NativeVertRes="600" AutoScaled="true">
<GlyphSet Glyphs="浣犲ソ涓栫晫閫€鍑烘紨绀? />[/color] (just copy from "CEGUIChineseDemo")
[color=00AA00]</Font>[/color]
"<GlyphSet Glyphs="浣犲ソ涓栫晫閫€鍑烘紨绀? />" ,what is it ? I dont know !
also here:(directory:datafiles\schemes\TaharezLook.scheme)
<Font Name="SimFang" Filename="../datafiles/fonts/simfang.font" />
The c++ code is :
Winmain() function :
[color=00AA00]//System::getSingleton().setDefaultFont("Tahoma-12"); // 设置使用的默认字体
System::getSingleton().setDefaultFont("SimFang");>[/color]
createDemoWindows() function :
PushButton* btn = (PushButton*)winMgr.createWindow("TaharezLook/Button", "Demo7/Window1/Quit");
fwnd1->addChildWindow(btn);
btn->setMaximumSize(Size(1.0f, 1.0f));
btn->setPosition(Point(0.02f, 0.1f));
btn->setSize(Size(0.25f, 0.1f));
[color=00AA00]btn->setText((utf8*)"退出Exit");[/color]
Is there someting wrong whith the code ?
when I change
[color=00AA00]"<GlyphSet Glyphs="浣犲ソ涓栫晫閫€鍑烘紨绀? />" [/color]
to
[color=00AA00]"<GlyphSet Glyphs="退出" />" [/color]
the program ERROR . why ?
the version of the core DLL is cegui_mk2-0.1.0 .
other files I do nonthing .
I'm sorry for my mistake when I was using the XML script
By the way , good Chinese
Another problem:
After I do some change to "d3d9_cegui_demo" ,however I can't get the result! Why ?
the script is :
(directory:datafiles\fonts\simfang.font( "simfang.font" created by me ,仿宋体 )
[color=00AA00]<?xml version="1.0" ?>
<Font Name="SimFang" Filename="../datafiles/fonts/simfang.ttf" Type="Dynamic" Size="12" NativeHorzRes="800" NativeVertRes="600" AutoScaled="true">
<GlyphSet Glyphs="浣犲ソ涓栫晫閫€鍑烘紨绀? />[/color] (just copy from "CEGUIChineseDemo")
[color=00AA00]</Font>[/color]
"<GlyphSet Glyphs="浣犲ソ涓栫晫閫€鍑烘紨绀? />" ,what is it ? I dont know !
also here:(directory:datafiles\schemes\TaharezLook.scheme)
<Font Name="SimFang" Filename="../datafiles/fonts/simfang.font" />
The c++ code is :
Winmain() function :
[color=00AA00]//System::getSingleton().setDefaultFont("Tahoma-12"); // 设置使用的默认字体
System::getSingleton().setDefaultFont("SimFang");>[/color]
createDemoWindows() function :
PushButton* btn = (PushButton*)winMgr.createWindow("TaharezLook/Button", "Demo7/Window1/Quit");
fwnd1->addChildWindow(btn);
btn->setMaximumSize(Size(1.0f, 1.0f));
btn->setPosition(Point(0.02f, 0.1f));
btn->setSize(Size(0.25f, 0.1f));
[color=00AA00]btn->setText((utf8*)"退出Exit");[/color]
Is there someting wrong whith the code ?
when I change
[color=00AA00]"<GlyphSet Glyphs="浣犲ソ涓栫晫閫€鍑烘紨绀? />" [/color]
to
[color=00AA00]"<GlyphSet Glyphs="退出" />" [/color]
the program ERROR . why ?
the version of the core DLL is cegui_mk2-0.1.0 .
other files I do nonthing .
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Is it a bug ,CrazyEddie ?
Sorry, I did not get a chance to look over this today; I'll try my best to get to this tomorrow.
In the mean time, what is the error you are getting? Is there anything in the cegui.log file?
Thanks,
CE.
In the mean time, what is the error you are getting? Is there anything in the cegui.log file?
Thanks,
CE.
Is it a bug ,CrazyEddie ?
never mind .
the log here:
First about OK:
[color=00AA00]<?xml version="1.0" ?>
<Font Name="SimFang" Filename="../datafiles/fonts/simfang.ttf" Type="Dynamic" Size="12" NativeHorzRes="800" NativeVertRes="600" AutoScaled="true">
<GlyphSet Glyphs="浣犲ソ涓栫晫閫€鍑烘紨绀? /> (just copy from "CEGUIChineseDemo")
</Font> [/color]
LOG Informations:
17/11/2004 00:17:04 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
17/11/2004 00:17:04 (InfL1) + Crazy Eddie's GUI System - Event log +
17/11/2004 00:17:04 (InfL1) + (http://crayzedsgui.sourceforge.net) +
17/11/2004 00:17:04 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
17/11/2004 00:17:04 (InfL1) CEGUI::Logger singleton created.
17/11/2004 00:17:04 (InfL1) ---- Begining CEGUI System initialisation ----
17/11/2004 00:17:04 (InfL1) CEGUI::ImagesetManager singleton created
17/11/2004 00:17:04 (InfL1) CEGUI::FontManager singleton created.
17/11/2004 00:17:04 (InfL1) CEGUI::WindowFactoryManager singleton created
17/11/2004 00:17:04 (InfL1) CEGUI::WindowManager singleton created
17/11/2004 00:17:04 (InfL1) CEGUI::SchemeManager singleton created.
17/11/2004 00:17:04 (InfL1) CEGUI::MouseCursor singleton created.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'DefaultWindow' windows added.
17/11/2004 00:17:04 (InfL1) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
17/11/2004 00:17:04 (InfL1) CEGUI::System singleton created.
17/11/2004 00:17:04 (InfL1) ---- CEGUI System initialisation completed ----
17/11/2004 00:17:04 (InfL1) Attempting to load Scheme from file '../datafiles/schemes/TaharezLook.scheme'.
17/11/2004 00:17:04 (InfL2) Started creation of Scheme 'TaharezLook' via XML file.
17/11/2004 00:17:04 (InfL2) Finished creation of Scheme 'TaharezLook' via XML file.
17/11/2004 00:17:04 (InfL2) Loaded GUI scheme 'TaharezLook' from data in file '../datafiles/schemes/TaharezLook.scheme'.
17/11/2004 00:17:04 (InfL2) ---- Begining resource loading for GUI scheme 'TaharezLook' ----
17/11/2004 00:17:04 (InfL1) Attempting to create an Imageset from the information specified in file '../datafiles/imagesets/TaharezLook.imageset'.
17/11/2004 00:17:04 (InfL2) Started creation of Imageset 'TaharezLook' via XML file.
17/11/2004 00:17:04 (InfL2) Finished creation of Imageset 'TaharezLook' via XML file.
17/11/2004 00:17:04 (InfL1) Attempting to create Font from the information specified in file '../datafiles/fonts/arial.font'.
17/11/2004 00:17:04 (InfL2) Started creation of Font 'Arial' via XML file.
17/11/2004 00:17:04 (InfL1) Attempting to create Imageset 'Arial_auto_glyph_images' with texture only.
17/11/2004 00:17:04 (InfL2) Font 'Arial' now has the following glyphs defined: ' !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'.
17/11/2004 00:17:04 (InfL2) Finished creation of Font 'Arial' via XML file.
17/11/2004 00:17:04 (InfL1) Attempting to create Font from the information specified in file '../datafiles/fonts/simfang.font'. [color=00AA00]// default font [/color]
17/11/2004 00:17:04 (InfL2) Started creation of Font 'SimFang' via XML file.
17/11/2004 00:17:04 (InfL1) Attempting to create Imageset 'SimFang_auto_glyph_images' with texture only.
17/11/2004 00:17:04 (InfL2) Font 'SimFang' now has the following glyphs defined: ' !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~[color=00AA00] 你好世界退出演示 [/color] '.
17/11/2004 00:17:04 (InfL2) Finished creation of Font 'SimFang' via XML file.
17/11/2004 00:17:04 (InfL1) Attempting to create Font from the information specified in file '../datafiles/fonts/tahoma-12.font'.
17/11/2004 00:17:04 (InfL2) Started creation of Font 'Tahoma-12' via XML file.
17/11/2004 00:17:04 (InfL1) Attempting to create Imageset 'Tahoma-12_auto_glyph_images' with texture only.
17/11/2004 00:17:04 (InfL2) Font 'Tahoma-12' now has the following glyphs defined: ' !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'.
17/11/2004 00:17:04 (InfL2) Finished creation of Font 'Tahoma-12' via XML file.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/AlternateProgressBar' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Button' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Checkbox' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/CloseButton' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Combobox' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/ComboDropList' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/ComboEditbox' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Editbox' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/FrameWindow' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/LargeVerticalScrollbar' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/LargeVerticalScrollbarThumb' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Listbox' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/ListHeader' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/ListHeaderSegment' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/HorizontalScrollbar' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/HorizontalScrollbarThumb' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/MultiColumnList' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/MultiLineEditbox' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/ProgressBar' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/RadioButton' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Slider' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/SliderThumb' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/StaticImage' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/StaticText' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/TabButton' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/TabControl' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/TabPane' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Titlebar' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/VerticalScrollbar' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/VerticalScrollbarThumb' windows added.
17/11/2004 00:17:04 (InfL2) ---- Resource loading for GUI scheme 'TaharezLook' completed ----
17/11/2004 00:17:04 (InfL2) Window 'root_wnd' of type 'DefaultWindow' has been created.
17/11/2004 00:17:04 (InfL1) Attempting to create an Imageset from the information specified in file '../datafiles/imagesets/ogregui.imageset'.
17/11/2004 00:17:04 (InfL2) Started creation of Imageset 'OgreGuiImagery' via XML file.
17/11/2004 00:17:04 (InfL2) Finished creation of Imageset 'OgreGuiImagery' via XML file.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1__auto_titlebar__' of type 'TaharezLook/Titlebar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1__auto_closebutton__' of type 'TaharezLook/CloseButton' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1' of type 'TaharezLook/FrameWindow' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2__auto_titlebar__' of type 'TaharezLook/Titlebar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2__auto_closebutton__' of type 'TaharezLook/CloseButton' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2' of type 'TaharezLook/FrameWindow' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3__auto_titlebar__' of type 'TaharezLook/Titlebar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3__auto_closebutton__' of type 'TaharezLook/CloseButton' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3' of type 'TaharezLook/FrameWindow' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Quit' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Radio1' of type 'TaharezLook/RadioButton' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Radio2' of type 'TaharezLook/RadioButton' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Radio3' of type 'TaharezLook/RadioButton' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Checkbox' of type 'TaharezLook/Checkbox' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_vscrollbar____auto_thumb__' of type 'TaharezLook/VerticalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_vscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_vscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_vscrollbar__' of type 'TaharezLook/VerticalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_hscrollbar____auto_thumb__' of type 'TaharezLook/HorizontalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_hscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_hscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_hscrollbar__' of type 'TaharezLook/HorizontalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1' of type 'TaharezLook/StaticText' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Editbox' of type 'TaharezLook/Editbox' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Scrollbar1__auto_thumb__' of type 'TaharezLook/LargeVerticalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Scrollbar1__auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Scrollbar1__auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Scrollbar1' of type 'TaharezLook/LargeVerticalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Slider1__auto_thumb__' of type 'TaharezLook/SliderThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Slider1' of type 'TaharezLook/Slider' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Progbar1' of type 'TaharezLook/ProgressBar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Progbar2' of type 'TaharezLook/AlternateProgressBar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_vscrollbar____auto_thumb__' of type 'TaharezLook/VerticalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_vscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_vscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_vscrollbar__' of type 'TaharezLook/VerticalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_hscrollbar____auto_thumb__' of type 'TaharezLook/HorizontalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_hscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_hscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_hscrollbar__' of type 'TaharezLook/HorizontalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox' of type 'TaharezLook/Listbox' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_editbox__' of type 'TaharezLook/ComboEditbox' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_vscrollbar____auto_thumb__' of type 'TaharezLook/VerticalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_vscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_vscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_vscrollbar__' of type 'TaharezLook/VerticalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_hscrollbar____auto_thumb__' of type 'TaharezLook/HorizontalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_hscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_hscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_hscrollbar__' of type 'TaharezLook/HorizontalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist__' of type 'TaharezLook/ComboDropList' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_button__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox' of type 'TaharezLook/Combobox' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_vscrollbar____auto_thumb__' of type 'TaharezLook/VerticalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_vscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_vscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_vscrollbar__' of type 'TaharezLook/VerticalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_hscrollbar____auto_thumb__' of type 'TaharezLook/HorizontalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_hscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_hscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_hscrollbar__' of type 'TaharezLook/HorizontalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_listheader__' of type 'TaharezLook/ListHeader' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList' of type 'TaharezLook/MultiColumnList' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Image1' of type 'TaharezLook/StaticImage' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_vscrollbar____auto_thumb__' of type 'TaharezLook/VerticalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_vscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_vscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_vscrollbar__' of type 'TaharezLook/VerticalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_hscrollbar____auto_thumb__' of type 'TaharezLook/HorizontalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_hscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_hscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_hscrollbar__' of type 'TaharezLook/HorizontalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox' of type 'TaharezLook/MultiLineEditbox' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_listheader____auto_seg_0' of type 'TaharezLook/ListHeaderSegment' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_listheader____auto_seg_1' of type 'TaharezLook/ListHeaderSegment' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_listheader____auto_seg_2' of type 'TaharezLook/ListHeaderSegment' has been created.
I think : "<GlyphSet Glyphs="浣犲ソ涓栫晫閫€鍑烘紨绀? />" same as " [color=00AA00] 你好世界退出演示 [/color] " , right ?
Now we look at "<GlyphSet Glyphs="你好世界退出演示"/>"
17/11/2004 00:39:38 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
17/11/2004 00:39:38 (InfL1) + Crazy Eddie's GUI System - Event log +
17/11/2004 00:39:38 (InfL1) + (http://crayzedsgui.sourceforge.net) +
17/11/2004 00:39:38 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
17/11/2004 00:39:38 (InfL1) CEGUI::Logger singleton created.
17/11/2004 00:39:38 (InfL1) ---- Begining CEGUI System initialisation ----
17/11/2004 00:39:38 (InfL1) CEGUI::ImagesetManager singleton created
17/11/2004 00:39:38 (InfL1) CEGUI::FontManager singleton created.
17/11/2004 00:39:38 (InfL1) CEGUI::WindowFactoryManager singleton created
17/11/2004 00:39:38 (InfL1) CEGUI::WindowManager singleton created
17/11/2004 00:39:38 (InfL1) CEGUI::SchemeManager singleton created.
17/11/2004 00:39:38 (InfL1) CEGUI::MouseCursor singleton created.
17/11/2004 00:39:38 (InfL1) WindowFactory for 'DefaultWindow' windows added.
17/11/2004 00:39:38 (InfL1) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
17/11/2004 00:39:38 (InfL1) CEGUI::System singleton created.
17/11/2004 00:39:38 (InfL1) ---- CEGUI System initialisation completed ----
17/11/2004 00:39:38 (InfL1) Attempting to load Scheme from file '../datafiles/schemes/TaharezLook.scheme'.
17/11/2004 00:39:38 (InfL2) Started creation of Scheme 'TaharezLook' via XML file.
17/11/2004 00:39:38 (InfL2) Finished creation of Scheme 'TaharezLook' via XML file.
17/11/2004 00:39:38 (InfL2) Loaded GUI scheme 'TaharezLook' from data in file '../datafiles/schemes/TaharezLook.scheme'.
17/11/2004 00:39:38 (InfL2) ---- Begining resource loading for GUI scheme 'TaharezLook' ----
17/11/2004 00:39:38 (InfL1) Attempting to create an Imageset from the information specified in file '../datafiles/imagesets/TaharezLook.imageset'.
17/11/2004 00:39:38 (InfL2) Started creation of Imageset 'TaharezLook' via XML file.
17/11/2004 00:39:38 (InfL2) Finished creation of Imageset 'TaharezLook' via XML file.
17/11/2004 00:39:38 (InfL1) Attempting to create Font from the information specified in file '../datafiles/fonts/arial.font'.
17/11/2004 00:39:38 (InfL2) Started creation of Font 'Arial' via XML file.
17/11/2004 00:39:38 (InfL1) Attempting to create Imageset 'Arial_auto_glyph_images' with texture only.
17/11/2004 00:39:38 (InfL2) Font 'Arial' now has the following glyphs defined: ' !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'.
17/11/2004 00:39:38 (InfL2) Finished creation of Font 'Arial' via XML file.
17/11/2004 00:39:38 (InfL1) Attempting to create Font from the information specified in file '../datafiles/fonts/simfang.font'.
17/11/2004 00:39:38 (Error) [color=00AA00]Exception: Font::load - An error occurred while parsing Font file '../datafiles/fonts/simfang.font'. Additional information: An exception occurred! [/color] [color=AA0000]Type:UTFDataFormatException, Message:invalid byte 2 () of a 2-byte sequence. [/color]
in "CEGUIChineseDemo":
change [color=00AA00]
"<GlyphSet Glyphs="浣犲ソ涓栫晫閫€鍑烘紨绀? />" [/color]
to
[color=00AA00]
"<GlyphSet Glyphs="你好世界退出演示浣犲ソ涓栫晫閫€鍑烘紨绀? />" [/color]
we would get :
08:48:55: Loading library OgrePlatform.dll
08:48:55: ArchiveFactory for archive type Zip registered.
08:48:55: Loading library .\RenderSystem_Direct3D9
08:48:55: D3D9 : Direct3D9 Rendering SubSystem created.
08:48:55: D3D9: Driver Detection Starts
08:48:55: D3D9: Driver Detection Ends
08:48:55: Loading library .\RenderSystem_GL
08:48:55: OpenGL Rendering Subsystem created.
08:48:55: Loading library .\Plugin_FileSystem
08:48:55: ArchiveFactory for archive type FileSystem registered.
08:48:55: Loading library .\Plugin_GuiElements
08:48:55: GuiElementFactory for type Cursor registered.
08:48:55: GuiElementFactory for type Panel registered.
08:48:55: GuiElementFactory for type BorderPanel registered.
08:48:55: GuiElementFactory for type TextArea registered.
08:48:55: GuiElementFactory for type TextBox registered.
08:48:55: GuiElementFactory for type Button registered.
08:48:55: GuiElementFactory for type BorderButton registered.
08:48:55: GuiElementFactory for type List registered.
08:48:55: GuiElementFactory for type ScrollBar registered.
08:48:55: GuiElementFactory for type PopupMenu registered.
08:48:55: GuiElementFactory for type TTY registered.
08:48:55: Loading library .\Plugin_CgProgramManager
08:48:55: *-*-* OGRE Initialising
08:48:55: *-*-* Version 0.15.0 (Hastur)
08:48:55: FileSystem Archive Codec for ./ created.
08:48:55: FileSystem Archive Codec for ../Media created.
08:48:55: FileSystem Archive Codec for ../Media/materials created.
08:48:55: FileSystem Archive Codec for ../Media/materials/scripts created.
08:48:55: FileSystem Archive Codec for ../Media/materials/programs created.
08:48:55: FileSystem Archive Codec for ../Media/fonts created.
08:48:55: Zip Archive codec for ../Media/packs/OgreCore.zip created.
08:48:55: Zip Archive codec for ../Media/packs/skybox.zip created.
08:48:57: *** Starting Win32GL Subsystem ***
08:48:57: Created Win32Window 'OGRE Render Window' : 1016x734, 32bpp
08:48:57: GL_VERSION = 1.5.1
08:48:57: GL_VENDOR = NVIDIA Corporation
08:48:57: GL_RENDERER = GeForce FX 5700LE/AGP/SSE2
08:48:57: GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_HP_occlusion_test GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum GL_WIN_swap_hint WGL_EXT_swap_control
08:48:57: ***************************
*** GL Renderer Started ***
***************************
08:48:57: GLSL support detected
08:48:57: RenderSystem capabilities
08:48:57: -------------------------
08:48:57: * Hardware generation of mipmaps: yes
08:48:57: * Texture blending: yes
08:48:57: * Anisotropic texture filtering: yes
08:48:57: * Dot product texture operation: yes
08:48:57: * Cube mapping: yes
08:48:57: * Hardware stencil buffer: yes
08:48:57: - Stencil depth: 8
08:48:57: - Two sided stencil support: yes
08:48:57: - Wrap stencil values: yes
08:48:57: * Hardware vertex / index buffers: yes
08:48:57: * Vertex programs: yes
08:48:57: - Max vertex program version: arbvp1
08:48:57: * Fragment programs: yes
08:48:57: - Max fragment program version: arbfp1
08:48:57: * Texture Compression: yes
08:48:57: - DXT: yes
08:48:57: - VTC: yes
08:48:57: * Scissor Rectangle: yes
08:48:57: * Hardware Occlusion Query: yes
08:48:57: * User clip planes: yes
08:48:57: * VET_UBYTE4 vertex element type: yes
08:48:57: * Infinite far plane projection: yes
08:48:57: Parsing material script: Examples.program
08:48:57: Parsing material script: Example-Water.material
08:48:57: Parsing material script: Example.material
08:48:57: Parsing material script: Examples-Advanced.material
08:48:58: Parsing material script: OffsetMapping.material
08:48:58: Parsing material script: Ogre.material
08:48:58: Parsing material script: RZR-002.material
08:48:58: Parsing material script: smoke.material
08:48:58: Parsing material script: ogrecore.material
08:48:58: Parsing material script: ogreprofiler.material [color=AA0000]
08:48:58: Bad attribute line: glyph 0.152344 0.125 0.160156 0.1875 in font Ogre [/color]
08:48:58: GLTexture: Loading New_Ogre_Border_Center.png with 0 mipmaps from Image.
08:48:58: GLTexture: Loading New_Ogre_Border.png with 0 mipmaps from Image.
08:48:58: GLTexture: Loading New_Ogre_Border_Break.png with 0 mipmaps from Image.
08:48:58: Font TrebuchetMSBoldusing texture size 512x512
08:48:58: Info: Freetype returned null for character 160 in font TrebuchetMSBold
08:48:58: GLTexture: Loading TrebuchetMSBoldTexture with 0 mipmaps from Image.
08:48:58: GLTexture: Loading New_Ogre_Logo.png with 0 mipmaps from Image.
08:48:58: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L:0.00,T:0.00,W:1.00,H:1.00, Z-Order:0
08:48:58: Viewport for camera 'PlayerCam' - actual dimensions L:0,T:0,W:1016,H:734
08:48:58: GLTexture: Loading ../datafiles/imagesets/TaharezLook.tga with 0 mipmaps from Image.
08:48:58: GLTexture: Loading stevecube_fr.jpg with 5 mipmaps from Image.
08:48:58: GLTexture: Loading stevecube_bk.jpg with 5 mipmaps from Image.
08:48:58: GLTexture: Loading stevecube_lf.jpg with 5 mipmaps from Image.
08:48:58: GLTexture: Loading stevecube_rt.jpg with 5 mipmaps from Image.
08:48:58: GLTexture: Loading stevecube_up.jpg with 5 mipmaps from Image.
08:48:58: GLTexture: Loading stevecube_dn.jpg with 5 mipmaps from Image.
08:48:58: Win32Input8: DirectInput Activation Starts
08:48:58: Win32Input8: Establishing keyboard input.
08:48:58: Win32Input8: Keyboard input established.
08:48:58: Win32Input8: Initializing mouse input in immediate mode.
08:48:58: Win32Input8: Mouse input in immediate mode initialized.
08:48:58: Win32Input8: DirectInput OK.
08:48:58: Win32Input8: DirectInput Activation Starts
08:48:58: Win32Input8: Establishing keyboard input.
08:48:58: Win32Input8: Keyboard input established.
08:48:58: Win32Input8: Establishing mouse input.
08:48:58: Win32Input8: Mouse input established.
08:48:58: Win32Input8: DirectInput OK.
08:48:58: GLTexture: Loading spot_shadow_fade.png with 5 mipmaps from Image.
08:49:01: *-*-* OGRE Shutdown
08:49:01: FileSystem Archive Codec for ../Media/fonts unloaded.
08:49:01: FileSystem Archive Codec for ../Media/materials unloaded.
08:49:01: FileSystem Archive Codec for ../Media/materials/programs unloaded.
08:49:01: Zip Archive Codec for ../Media/packs/OgreCore.zip unloaded.
08:49:01: Zip Archive Codec for ../Media/packs/skybox.zip unloaded.
08:49:01: FileSystem Archive Codec for ../Media unloaded.
08:49:01: FileSystem Archive Codec for ../Media/materials/scripts unloaded.
08:49:01: FileSystem Archive Codec for ./ unloaded.
08:49:01: Unloading library .\Plugin_CgProgramManager
08:49:01: Unloading library .\Plugin_GuiElements
08:49:01: Unloading library .\Plugin_FileSystem
08:49:01: Render Target 'OGRE Render Window' Average FPS: 287.035248 Best FPS: 292.707306 Worst FPS: 283.150543
08:49:01: *** Stopping Win32GL Subsystem ***
08:49:01: Unloading library .\RenderSystem_GL
08:49:02: D3D9 : Shutting down cleanly.
08:49:02: D3D9 : Direct3D9 Rendering SubSystem destroyed.
08:49:02: Unloading library .\RenderSystem_Direct3D9
08:49:02: Unloading library OgrePlatform.dll
upper is all , perhaps they are useful .
the log here:
First about OK:
[color=00AA00]<?xml version="1.0" ?>
<Font Name="SimFang" Filename="../datafiles/fonts/simfang.ttf" Type="Dynamic" Size="12" NativeHorzRes="800" NativeVertRes="600" AutoScaled="true">
<GlyphSet Glyphs="浣犲ソ涓栫晫閫€鍑烘紨绀? /> (just copy from "CEGUIChineseDemo")
</Font> [/color]
LOG Informations:
17/11/2004 00:17:04 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
17/11/2004 00:17:04 (InfL1) + Crazy Eddie's GUI System - Event log +
17/11/2004 00:17:04 (InfL1) + (http://crayzedsgui.sourceforge.net) +
17/11/2004 00:17:04 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
17/11/2004 00:17:04 (InfL1) CEGUI::Logger singleton created.
17/11/2004 00:17:04 (InfL1) ---- Begining CEGUI System initialisation ----
17/11/2004 00:17:04 (InfL1) CEGUI::ImagesetManager singleton created
17/11/2004 00:17:04 (InfL1) CEGUI::FontManager singleton created.
17/11/2004 00:17:04 (InfL1) CEGUI::WindowFactoryManager singleton created
17/11/2004 00:17:04 (InfL1) CEGUI::WindowManager singleton created
17/11/2004 00:17:04 (InfL1) CEGUI::SchemeManager singleton created.
17/11/2004 00:17:04 (InfL1) CEGUI::MouseCursor singleton created.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'DefaultWindow' windows added.
17/11/2004 00:17:04 (InfL1) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
17/11/2004 00:17:04 (InfL1) CEGUI::System singleton created.
17/11/2004 00:17:04 (InfL1) ---- CEGUI System initialisation completed ----
17/11/2004 00:17:04 (InfL1) Attempting to load Scheme from file '../datafiles/schemes/TaharezLook.scheme'.
17/11/2004 00:17:04 (InfL2) Started creation of Scheme 'TaharezLook' via XML file.
17/11/2004 00:17:04 (InfL2) Finished creation of Scheme 'TaharezLook' via XML file.
17/11/2004 00:17:04 (InfL2) Loaded GUI scheme 'TaharezLook' from data in file '../datafiles/schemes/TaharezLook.scheme'.
17/11/2004 00:17:04 (InfL2) ---- Begining resource loading for GUI scheme 'TaharezLook' ----
17/11/2004 00:17:04 (InfL1) Attempting to create an Imageset from the information specified in file '../datafiles/imagesets/TaharezLook.imageset'.
17/11/2004 00:17:04 (InfL2) Started creation of Imageset 'TaharezLook' via XML file.
17/11/2004 00:17:04 (InfL2) Finished creation of Imageset 'TaharezLook' via XML file.
17/11/2004 00:17:04 (InfL1) Attempting to create Font from the information specified in file '../datafiles/fonts/arial.font'.
17/11/2004 00:17:04 (InfL2) Started creation of Font 'Arial' via XML file.
17/11/2004 00:17:04 (InfL1) Attempting to create Imageset 'Arial_auto_glyph_images' with texture only.
17/11/2004 00:17:04 (InfL2) Font 'Arial' now has the following glyphs defined: ' !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'.
17/11/2004 00:17:04 (InfL2) Finished creation of Font 'Arial' via XML file.
17/11/2004 00:17:04 (InfL1) Attempting to create Font from the information specified in file '../datafiles/fonts/simfang.font'. [color=00AA00]// default font [/color]
17/11/2004 00:17:04 (InfL2) Started creation of Font 'SimFang' via XML file.
17/11/2004 00:17:04 (InfL1) Attempting to create Imageset 'SimFang_auto_glyph_images' with texture only.
17/11/2004 00:17:04 (InfL2) Font 'SimFang' now has the following glyphs defined: ' !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~[color=00AA00] 你好世界退出演示 [/color] '.
17/11/2004 00:17:04 (InfL2) Finished creation of Font 'SimFang' via XML file.
17/11/2004 00:17:04 (InfL1) Attempting to create Font from the information specified in file '../datafiles/fonts/tahoma-12.font'.
17/11/2004 00:17:04 (InfL2) Started creation of Font 'Tahoma-12' via XML file.
17/11/2004 00:17:04 (InfL1) Attempting to create Imageset 'Tahoma-12_auto_glyph_images' with texture only.
17/11/2004 00:17:04 (InfL2) Font 'Tahoma-12' now has the following glyphs defined: ' !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'.
17/11/2004 00:17:04 (InfL2) Finished creation of Font 'Tahoma-12' via XML file.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/AlternateProgressBar' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Button' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Checkbox' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/CloseButton' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Combobox' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/ComboDropList' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/ComboEditbox' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Editbox' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/FrameWindow' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/LargeVerticalScrollbar' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/LargeVerticalScrollbarThumb' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Listbox' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/ListHeader' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/ListHeaderSegment' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/HorizontalScrollbar' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/HorizontalScrollbarThumb' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/MultiColumnList' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/MultiLineEditbox' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/ProgressBar' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/RadioButton' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Slider' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/SliderThumb' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/StaticImage' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/StaticText' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/TabButton' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/TabControl' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/TabPane' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/Titlebar' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/VerticalScrollbar' windows added.
17/11/2004 00:17:04 (InfL1) WindowFactory for 'TaharezLook/VerticalScrollbarThumb' windows added.
17/11/2004 00:17:04 (InfL2) ---- Resource loading for GUI scheme 'TaharezLook' completed ----
17/11/2004 00:17:04 (InfL2) Window 'root_wnd' of type 'DefaultWindow' has been created.
17/11/2004 00:17:04 (InfL1) Attempting to create an Imageset from the information specified in file '../datafiles/imagesets/ogregui.imageset'.
17/11/2004 00:17:04 (InfL2) Started creation of Imageset 'OgreGuiImagery' via XML file.
17/11/2004 00:17:04 (InfL2) Finished creation of Imageset 'OgreGuiImagery' via XML file.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1__auto_titlebar__' of type 'TaharezLook/Titlebar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1__auto_closebutton__' of type 'TaharezLook/CloseButton' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1' of type 'TaharezLook/FrameWindow' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2__auto_titlebar__' of type 'TaharezLook/Titlebar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2__auto_closebutton__' of type 'TaharezLook/CloseButton' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2' of type 'TaharezLook/FrameWindow' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3__auto_titlebar__' of type 'TaharezLook/Titlebar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3__auto_closebutton__' of type 'TaharezLook/CloseButton' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3' of type 'TaharezLook/FrameWindow' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Quit' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Radio1' of type 'TaharezLook/RadioButton' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Radio2' of type 'TaharezLook/RadioButton' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Radio3' of type 'TaharezLook/RadioButton' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Checkbox' of type 'TaharezLook/Checkbox' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_vscrollbar____auto_thumb__' of type 'TaharezLook/VerticalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_vscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_vscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_vscrollbar__' of type 'TaharezLook/VerticalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_hscrollbar____auto_thumb__' of type 'TaharezLook/HorizontalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_hscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_hscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1__auto_hscrollbar__' of type 'TaharezLook/HorizontalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Text1' of type 'TaharezLook/StaticText' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Editbox' of type 'TaharezLook/Editbox' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Scrollbar1__auto_thumb__' of type 'TaharezLook/LargeVerticalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Scrollbar1__auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Scrollbar1__auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Scrollbar1' of type 'TaharezLook/LargeVerticalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Slider1__auto_thumb__' of type 'TaharezLook/SliderThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window1/Slider1' of type 'TaharezLook/Slider' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Progbar1' of type 'TaharezLook/ProgressBar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Progbar2' of type 'TaharezLook/AlternateProgressBar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_vscrollbar____auto_thumb__' of type 'TaharezLook/VerticalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_vscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_vscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_vscrollbar__' of type 'TaharezLook/VerticalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_hscrollbar____auto_thumb__' of type 'TaharezLook/HorizontalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_hscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_hscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox__auto_hscrollbar__' of type 'TaharezLook/HorizontalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Listbox' of type 'TaharezLook/Listbox' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_editbox__' of type 'TaharezLook/ComboEditbox' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_vscrollbar____auto_thumb__' of type 'TaharezLook/VerticalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_vscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_vscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_vscrollbar__' of type 'TaharezLook/VerticalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_hscrollbar____auto_thumb__' of type 'TaharezLook/HorizontalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_hscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_hscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist____auto_hscrollbar__' of type 'TaharezLook/HorizontalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_droplist__' of type 'TaharezLook/ComboDropList' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox__auto_button__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Combobox' of type 'TaharezLook/Combobox' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_vscrollbar____auto_thumb__' of type 'TaharezLook/VerticalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_vscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_vscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_vscrollbar__' of type 'TaharezLook/VerticalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_hscrollbar____auto_thumb__' of type 'TaharezLook/HorizontalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_hscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_hscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_hscrollbar__' of type 'TaharezLook/HorizontalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_listheader__' of type 'TaharezLook/ListHeader' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList' of type 'TaharezLook/MultiColumnList' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/Image1' of type 'TaharezLook/StaticImage' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_vscrollbar____auto_thumb__' of type 'TaharezLook/VerticalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_vscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_vscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_vscrollbar__' of type 'TaharezLook/VerticalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_hscrollbar____auto_thumb__' of type 'TaharezLook/HorizontalScrollbarThumb' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_hscrollbar____auto_incbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_hscrollbar____auto_decbtn__' of type 'TaharezLook/Button' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox__auto_hscrollbar__' of type 'TaharezLook/HorizontalScrollbar' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window3/MLEditbox' of type 'TaharezLook/MultiLineEditbox' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_listheader____auto_seg_0' of type 'TaharezLook/ListHeaderSegment' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_listheader____auto_seg_1' of type 'TaharezLook/ListHeaderSegment' has been created.
17/11/2004 00:17:04 (InfL2) Window 'Demo7/Window2/MultiColumnList__auto_listheader____auto_seg_2' of type 'TaharezLook/ListHeaderSegment' has been created.
I think : "<GlyphSet Glyphs="浣犲ソ涓栫晫閫€鍑烘紨绀? />" same as " [color=00AA00] 你好世界退出演示 [/color] " , right ?
Now we look at "<GlyphSet Glyphs="你好世界退出演示"/>"
17/11/2004 00:39:38 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
17/11/2004 00:39:38 (InfL1) + Crazy Eddie's GUI System - Event log +
17/11/2004 00:39:38 (InfL1) + (http://crayzedsgui.sourceforge.net) +
17/11/2004 00:39:38 (InfL1) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
17/11/2004 00:39:38 (InfL1) CEGUI::Logger singleton created.
17/11/2004 00:39:38 (InfL1) ---- Begining CEGUI System initialisation ----
17/11/2004 00:39:38 (InfL1) CEGUI::ImagesetManager singleton created
17/11/2004 00:39:38 (InfL1) CEGUI::FontManager singleton created.
17/11/2004 00:39:38 (InfL1) CEGUI::WindowFactoryManager singleton created
17/11/2004 00:39:38 (InfL1) CEGUI::WindowManager singleton created
17/11/2004 00:39:38 (InfL1) CEGUI::SchemeManager singleton created.
17/11/2004 00:39:38 (InfL1) CEGUI::MouseCursor singleton created.
17/11/2004 00:39:38 (InfL1) WindowFactory for 'DefaultWindow' windows added.
17/11/2004 00:39:38 (InfL1) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
17/11/2004 00:39:38 (InfL1) CEGUI::System singleton created.
17/11/2004 00:39:38 (InfL1) ---- CEGUI System initialisation completed ----
17/11/2004 00:39:38 (InfL1) Attempting to load Scheme from file '../datafiles/schemes/TaharezLook.scheme'.
17/11/2004 00:39:38 (InfL2) Started creation of Scheme 'TaharezLook' via XML file.
17/11/2004 00:39:38 (InfL2) Finished creation of Scheme 'TaharezLook' via XML file.
17/11/2004 00:39:38 (InfL2) Loaded GUI scheme 'TaharezLook' from data in file '../datafiles/schemes/TaharezLook.scheme'.
17/11/2004 00:39:38 (InfL2) ---- Begining resource loading for GUI scheme 'TaharezLook' ----
17/11/2004 00:39:38 (InfL1) Attempting to create an Imageset from the information specified in file '../datafiles/imagesets/TaharezLook.imageset'.
17/11/2004 00:39:38 (InfL2) Started creation of Imageset 'TaharezLook' via XML file.
17/11/2004 00:39:38 (InfL2) Finished creation of Imageset 'TaharezLook' via XML file.
17/11/2004 00:39:38 (InfL1) Attempting to create Font from the information specified in file '../datafiles/fonts/arial.font'.
17/11/2004 00:39:38 (InfL2) Started creation of Font 'Arial' via XML file.
17/11/2004 00:39:38 (InfL1) Attempting to create Imageset 'Arial_auto_glyph_images' with texture only.
17/11/2004 00:39:38 (InfL2) Font 'Arial' now has the following glyphs defined: ' !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'.
17/11/2004 00:39:38 (InfL2) Finished creation of Font 'Arial' via XML file.
17/11/2004 00:39:38 (InfL1) Attempting to create Font from the information specified in file '../datafiles/fonts/simfang.font'.
17/11/2004 00:39:38 (Error) [color=00AA00]Exception: Font::load - An error occurred while parsing Font file '../datafiles/fonts/simfang.font'. Additional information: An exception occurred! [/color] [color=AA0000]Type:UTFDataFormatException, Message:invalid byte 2 () of a 2-byte sequence. [/color]
in "CEGUIChineseDemo":
change [color=00AA00]
"<GlyphSet Glyphs="浣犲ソ涓栫晫閫€鍑烘紨绀? />" [/color]
to
[color=00AA00]
"<GlyphSet Glyphs="你好世界退出演示浣犲ソ涓栫晫閫€鍑烘紨绀? />" [/color]
we would get :
08:48:55: Loading library OgrePlatform.dll
08:48:55: ArchiveFactory for archive type Zip registered.
08:48:55: Loading library .\RenderSystem_Direct3D9
08:48:55: D3D9 : Direct3D9 Rendering SubSystem created.
08:48:55: D3D9: Driver Detection Starts
08:48:55: D3D9: Driver Detection Ends
08:48:55: Loading library .\RenderSystem_GL
08:48:55: OpenGL Rendering Subsystem created.
08:48:55: Loading library .\Plugin_FileSystem
08:48:55: ArchiveFactory for archive type FileSystem registered.
08:48:55: Loading library .\Plugin_GuiElements
08:48:55: GuiElementFactory for type Cursor registered.
08:48:55: GuiElementFactory for type Panel registered.
08:48:55: GuiElementFactory for type BorderPanel registered.
08:48:55: GuiElementFactory for type TextArea registered.
08:48:55: GuiElementFactory for type TextBox registered.
08:48:55: GuiElementFactory for type Button registered.
08:48:55: GuiElementFactory for type BorderButton registered.
08:48:55: GuiElementFactory for type List registered.
08:48:55: GuiElementFactory for type ScrollBar registered.
08:48:55: GuiElementFactory for type PopupMenu registered.
08:48:55: GuiElementFactory for type TTY registered.
08:48:55: Loading library .\Plugin_CgProgramManager
08:48:55: *-*-* OGRE Initialising
08:48:55: *-*-* Version 0.15.0 (Hastur)
08:48:55: FileSystem Archive Codec for ./ created.
08:48:55: FileSystem Archive Codec for ../Media created.
08:48:55: FileSystem Archive Codec for ../Media/materials created.
08:48:55: FileSystem Archive Codec for ../Media/materials/scripts created.
08:48:55: FileSystem Archive Codec for ../Media/materials/programs created.
08:48:55: FileSystem Archive Codec for ../Media/fonts created.
08:48:55: Zip Archive codec for ../Media/packs/OgreCore.zip created.
08:48:55: Zip Archive codec for ../Media/packs/skybox.zip created.
08:48:57: *** Starting Win32GL Subsystem ***
08:48:57: Created Win32Window 'OGRE Render Window' : 1016x734, 32bpp
08:48:57: GL_VERSION = 1.5.1
08:48:57: GL_VENDOR = NVIDIA Corporation
08:48:57: GL_RENDERER = GeForce FX 5700LE/AGP/SSE2
08:48:57: GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_HP_occlusion_test GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum GL_WIN_swap_hint WGL_EXT_swap_control
08:48:57: ***************************
*** GL Renderer Started ***
***************************
08:48:57: GLSL support detected
08:48:57: RenderSystem capabilities
08:48:57: -------------------------
08:48:57: * Hardware generation of mipmaps: yes
08:48:57: * Texture blending: yes
08:48:57: * Anisotropic texture filtering: yes
08:48:57: * Dot product texture operation: yes
08:48:57: * Cube mapping: yes
08:48:57: * Hardware stencil buffer: yes
08:48:57: - Stencil depth: 8
08:48:57: - Two sided stencil support: yes
08:48:57: - Wrap stencil values: yes
08:48:57: * Hardware vertex / index buffers: yes
08:48:57: * Vertex programs: yes
08:48:57: - Max vertex program version: arbvp1
08:48:57: * Fragment programs: yes
08:48:57: - Max fragment program version: arbfp1
08:48:57: * Texture Compression: yes
08:48:57: - DXT: yes
08:48:57: - VTC: yes
08:48:57: * Scissor Rectangle: yes
08:48:57: * Hardware Occlusion Query: yes
08:48:57: * User clip planes: yes
08:48:57: * VET_UBYTE4 vertex element type: yes
08:48:57: * Infinite far plane projection: yes
08:48:57: Parsing material script: Examples.program
08:48:57: Parsing material script: Example-Water.material
08:48:57: Parsing material script: Example.material
08:48:57: Parsing material script: Examples-Advanced.material
08:48:58: Parsing material script: OffsetMapping.material
08:48:58: Parsing material script: Ogre.material
08:48:58: Parsing material script: RZR-002.material
08:48:58: Parsing material script: smoke.material
08:48:58: Parsing material script: ogrecore.material
08:48:58: Parsing material script: ogreprofiler.material [color=AA0000]
08:48:58: Bad attribute line: glyph 0.152344 0.125 0.160156 0.1875 in font Ogre [/color]
08:48:58: GLTexture: Loading New_Ogre_Border_Center.png with 0 mipmaps from Image.
08:48:58: GLTexture: Loading New_Ogre_Border.png with 0 mipmaps from Image.
08:48:58: GLTexture: Loading New_Ogre_Border_Break.png with 0 mipmaps from Image.
08:48:58: Font TrebuchetMSBoldusing texture size 512x512
08:48:58: Info: Freetype returned null for character 160 in font TrebuchetMSBold
08:48:58: GLTexture: Loading TrebuchetMSBoldTexture with 0 mipmaps from Image.
08:48:58: GLTexture: Loading New_Ogre_Logo.png with 0 mipmaps from Image.
08:48:58: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L:0.00,T:0.00,W:1.00,H:1.00, Z-Order:0
08:48:58: Viewport for camera 'PlayerCam' - actual dimensions L:0,T:0,W:1016,H:734
08:48:58: GLTexture: Loading ../datafiles/imagesets/TaharezLook.tga with 0 mipmaps from Image.
08:48:58: GLTexture: Loading stevecube_fr.jpg with 5 mipmaps from Image.
08:48:58: GLTexture: Loading stevecube_bk.jpg with 5 mipmaps from Image.
08:48:58: GLTexture: Loading stevecube_lf.jpg with 5 mipmaps from Image.
08:48:58: GLTexture: Loading stevecube_rt.jpg with 5 mipmaps from Image.
08:48:58: GLTexture: Loading stevecube_up.jpg with 5 mipmaps from Image.
08:48:58: GLTexture: Loading stevecube_dn.jpg with 5 mipmaps from Image.
08:48:58: Win32Input8: DirectInput Activation Starts
08:48:58: Win32Input8: Establishing keyboard input.
08:48:58: Win32Input8: Keyboard input established.
08:48:58: Win32Input8: Initializing mouse input in immediate mode.
08:48:58: Win32Input8: Mouse input in immediate mode initialized.
08:48:58: Win32Input8: DirectInput OK.
08:48:58: Win32Input8: DirectInput Activation Starts
08:48:58: Win32Input8: Establishing keyboard input.
08:48:58: Win32Input8: Keyboard input established.
08:48:58: Win32Input8: Establishing mouse input.
08:48:58: Win32Input8: Mouse input established.
08:48:58: Win32Input8: DirectInput OK.
08:48:58: GLTexture: Loading spot_shadow_fade.png with 5 mipmaps from Image.
08:49:01: *-*-* OGRE Shutdown
08:49:01: FileSystem Archive Codec for ../Media/fonts unloaded.
08:49:01: FileSystem Archive Codec for ../Media/materials unloaded.
08:49:01: FileSystem Archive Codec for ../Media/materials/programs unloaded.
08:49:01: Zip Archive Codec for ../Media/packs/OgreCore.zip unloaded.
08:49:01: Zip Archive Codec for ../Media/packs/skybox.zip unloaded.
08:49:01: FileSystem Archive Codec for ../Media unloaded.
08:49:01: FileSystem Archive Codec for ../Media/materials/scripts unloaded.
08:49:01: FileSystem Archive Codec for ./ unloaded.
08:49:01: Unloading library .\Plugin_CgProgramManager
08:49:01: Unloading library .\Plugin_GuiElements
08:49:01: Unloading library .\Plugin_FileSystem
08:49:01: Render Target 'OGRE Render Window' Average FPS: 287.035248 Best FPS: 292.707306 Worst FPS: 283.150543
08:49:01: *** Stopping Win32GL Subsystem ***
08:49:01: Unloading library .\RenderSystem_GL
08:49:02: D3D9 : Shutting down cleanly.
08:49:02: D3D9 : Direct3D9 Rendering SubSystem destroyed.
08:49:02: Unloading library .\RenderSystem_Direct3D9
08:49:02: Unloading library OgrePlatform.dll
upper is all , perhaps they are useful .
Is it a bug ,CrazyEddie ?
It seems from your log error that your Chinese String is not properly encoded.
And I don't think the error in the Ogre.log has anything to do with this. It is an issue related to the Ogre font which is defined in OgreCore.zip (IIRC). I am getting this error myself and I don't use chinese.
And I don't think the error in the Ogre.log has anything to do with this. It is an issue related to the Ogre font which is defined in OgreCore.zip (IIRC). I am getting this error myself and I don't use chinese.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Is it a bug ,CrazyEddie ?
Yeah, the issue you seem to have is the way the files are being saved; you are doing everything else correctly.
You must save the files so that they are encoded as UTF-8 data. This is of major importance; anything else will affect the values of the raw bytes written to the file and this is why it's failing, because when the system tries to decode the data, it is being given an incorrectly encoded buffer.
Depending on what you're using to edit the files, you will specify the encoding to be used in different ways...
For the VS.NET IDEs: with the file open in the editor, go to the "File" menu and select the "Advanced Save Options..." item. This will then present you with a dialog from which to choose the encoding for the file. You should choose one of the UTF-8 options (I used the "without signature" one).
If you are using the VC6 IDE: As far as I know there is no similar option in the editor to set the encoding of a file. However, if you're on WinXP then even something as simple as Notepad will allow you to save as UTF-8
If you're using a different editor then I'll leave it for you to discover how to set the correct encoding
As a side note: For the XML files it should be possible to use other encodings; you just need to specify the encoding used at the top of the XML file (add the 'encoding' attribute).
CE
You must save the files so that they are encoded as UTF-8 data. This is of major importance; anything else will affect the values of the raw bytes written to the file and this is why it's failing, because when the system tries to decode the data, it is being given an incorrectly encoded buffer.
Depending on what you're using to edit the files, you will specify the encoding to be used in different ways...
For the VS.NET IDEs: with the file open in the editor, go to the "File" menu and select the "Advanced Save Options..." item. This will then present you with a dialog from which to choose the encoding for the file. You should choose one of the UTF-8 options (I used the "without signature" one).
If you are using the VC6 IDE: As far as I know there is no similar option in the editor to set the encoding of a file. However, if you're on WinXP then even something as simple as Notepad will allow you to save as UTF-8
If you're using a different editor then I'll leave it for you to discover how to set the correct encoding
As a side note: For the XML files it should be possible to use other encodings; you just need to specify the encoding used at the top of the XML file (add the 'encoding' attribute).
CE
Is it a bug ,CrazyEddie ?
Oh, I see ,let me try.
Thank you !
Thank you !
Return to “Bug Reports, Suggestions, Feature Requests”
Who is online
Users browsing this forum: No registered users and 0 guests