Search found 12 matches

by Kuehrli
Tue Jun 19, 2007 06:38
Forum: Help
Topic: CEGUI::Window::subscribeEvent -> How do you unsubscribe
Replies: 1
Views: 904

You can store the connection that you receive from subscribeEvent and disconnect it. The topic is explained in this thread: http://www.cegui.org.uk/phpBB2/viewtopic.php?t=1332
by Kuehrli
Tue Jun 12, 2007 08:57
Forum: Help
Topic: [SOLVED] CEGUI::String <-> wchar_t ?
Replies: 4
Views: 2084

If you have unicode characters as input for a char* the characters get split up into some strange chars as you mentioned it - for example "öù" becomes "öù". But CEGUI seems to handle this well if you cast it to (const utf8*). char* test = "öù"; CEGUI::String str(&...
by Kuehrli
Mon Jun 11, 2007 09:58
Forum: Help
Topic: Arabic Unicode
Replies: 14
Views: 3822

Thanks for your posts anyway - gave me some new thoughts... :) About determining the correct order of glyphs: i assume that you have found a generic way of doing this? I mean will your solution also work with other languages which have a dependent glyph order? I fear that there is no real generic wa...
by Kuehrli
Fri Jun 08, 2007 07:19
Forum: Help
Topic: Arabic Unicode
Replies: 14
Views: 3822

Here is my final solution for displaying arabic language with CEGUI, maybe it's usefull for someone: First get minibidi.c from this location: http://cvs.arabeyes.org/viewcvs/projects/adawat/minibidi/ I've put everything into a class Minibidi for better usage. Minibidi::doBidi will do the reordering ...
by Kuehrli
Wed Jun 06, 2007 06:28
Forum: Help
Topic: How to get rid of error FontManager::getFont - A Font object
Replies: 3
Views: 1613

Skip the third line (if there's only one font setDefaultFont is not necessary) or try it this way: CEGUI::Font* myFont = CEGUI::FontManager::getSingleton().createFont("Tahoma-12.font"); CEGUI::System::getSingleton().setDefaultFont(myFont);
by Kuehrli
Wed Jun 06, 2007 06:19
Forum: Help
Topic: new to cegui - need help loading font & layout
Replies: 3
Views: 1725

Hi lymantok, as far as I see, you try to set a font which has not been created yet. Instead of: CEGUI::System::getSingleton().setDefaultFont("Commonwealth-10.font"); Try: CEGUI::FontManager::getSingleton().createFont("Commonwealth-10.font"); The font should then be the default fo...
by Kuehrli
Tue Jun 05, 2007 08:25
Forum: Help
Topic: [SOLVED] CEGUI::String <-> wchar_t ?
Replies: 4
Views: 2084

I had the same problem when trying to display a wchar_t[]. I found a solution which is kind of a hack but it works... 8) to get a wchar_t[] out of a CEGUI::String : CEGUI::String str((const utf8*)"blablablablablabla!"); wchar_t* line = (wchar_t*)str.ptr(); w...
by Kuehrli
Mon Jun 04, 2007 14:20
Forum: Help
Topic: Arabic Unicode
Replies: 14
Views: 3822

I am now some steps further with my application. I've found an algorithm to determine the correct glyphs in the correct order and have put them into a wchar_t[]. The last step that I am missing: How can I display this? I have already read the threads on why wchars or utf16 aren't implemented in CEGU...
by Kuehrli
Fri May 25, 2007 07:59
Forum: Help
Topic: Arabic Unicode
Replies: 14
Views: 3822

I wonder if the font itself defines its order: left-to-right or right-to-left. Or maybe one of IBM's ICU functions. I could not find out until now where these things are defined. I guess that some of the work is left to the application that uses the font - I'm still up with searching for a way how ...
by Kuehrli
Thu May 24, 2007 07:52
Forum: Help
Topic: Arabic Unicode
Replies: 14
Views: 3822

Thanks for your answers! With "sign" i meant character or glyph - sorry for that confusion! About the first one: do you need to reverse the order because the strings are delivered in the wrong order? Does an arabic text editor save 'cba' as 'abc' which is the read order? the whole thing is...
by Kuehrli
Wed May 23, 2007 14:05
Forum: Help
Topic: Tooltips not showing up
Replies: 4
Views: 1495

I am using

Code: Select all

   btn->setTooltipText("Test");
   btn->setTooltipType("WindowsLook/Tooltip");

without anything else (like setDefaultTooltip) and it works fine.
by Kuehrli
Wed May 23, 2007 12:15
Forum: Help
Topic: Arabic Unicode
Replies: 14
Views: 3822

Arabic Unicode

Hi, I started to create my application's frontend with CEGUI and everything worked great so far. But for future localisation purposes I have to enable to put all the text into arabic language. Displaying for example Thai signs works fine but arabic doesn't - so I guess it's not supported yet? There ...

Go to advanced search