On Sun, 21 Jan 2007 00:58:25 +0900 "Olof Sjobergh" <[EMAIL PROTECTED]> babbled:
> Hello, > > I have been playing around a bit with ewl and etk, and have run into a few > internationalization problems. > > First, there seems to be no support for input methods in ecore, which > handles the keyboard input. Input methods are typically used to write more > complex languages like japanese and chinese, where the user enters some text > which is then converted by the input method to the final text sent to the > application. correct. as of the moment, evas can DISPLAY most languages (except right-to-left text such as arabic, hebrew etc. or text that requires special composition). input methods (as you explain below with xim, scim and uim - there are even others) are not supported. frankly - i have never done suppot for them before so i'd need to figure it all out and it is (unfortunately) not a priority at this stage :( > This seems to be a bit of a mess in X. There is the XIM (X Input Method) indeed it is - thus why i have not touched it. > extension, but this seems to be a bit lacking and thus iiimf (not very > widespread), uim and scim have sprung up. What is best to support I don't > know. Is anyone working on adding such support to e, or are there at least > some plans to do so? I can't find anything in the TODO about this. Which way > would be the best to add it? (Though I'm sorry to say I most likely won't be > able to do it myself.) basically i'd love to see it happen, BUT - it's not a huge priority - i know for others it is very important - BUT there are limited resources and basically an infinite set of work to do - so it's basically fallen by the wayside for now :( > (By the way, such input method support might also be needed to use e on an > embedded device such as a pda or a phone, to handle on-screen keyboards and > such.) sure - it might be :) > Another issue I ran into was with the font handling in evas. I can't quite > figure out how this actually works. But as far as I can tell, when given a > font in a theme there is no fallback and if a character is not in the font a > box is displayed instead. However, if given a fontconfig name for the font, > there is fallback for characters not in the font, and all characters are > displayed correctly (if a font exists on the system). you can also SET fallback fonts for edje - e does this (or used to) when it shipped with fallback fonts, but these were huge using up 15-20mb and so i decided to remove them for now. > Is there a reason why there is no automatic fallback for characters not > available in theme fonts? Performance? The user would most likely be happy the app needs to provide them itself as evas, edje etc. have no idea about your systems font configuration etc. edje CAN use fonts provided within its own theme files - but it doesn't have to. it's up to the calling app to set up fallbacks for edje to use if it can't find chars in the theme provided fonts. > if the characters are displayed, if he has a usable font on his system. =) > As an application developer, I don't know what theme the user uses, and I > don't want to hard code font names in the app... so supporting unusual > character sets would likely get ugly. it's up to the app then to get these fallbacks form some other config somewhere - currently that is undefined :) > By the way, what I have been playing around with is writing a dictionary > application, which is why I ran into all these problems. To be able to > support dictionaries in any language, font handling and input methods are > troublesome. and that makes perfect sense. you basically are playing with the slightly weaker bits of EFL - it's not perfect for sure and can go a long way - but we're not 100% there yet. if you want to help out.... of course... we have open arms waiting for you :) > Thanks for a great project! > > /Olof Sjöbergh > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
