#1120: UTF8-Bytestring Pango interface.
-----------------------------+----------------------------------------------
Reporter: guest | Owner: axel
Type: defect | Status: new
Priority: normal | Milestone:
Component: Pango bindings | Version: 0.9.12
Resolution: | Keywords:
-----------------------------+----------------------------------------------
Comment (by axel):
I am surprised by this, actually. I thought you would internally keep
Unicode strings rather than raw byte sequences. I thought it would be
prudent in every application to avoid mixing multi-byte characters with
composite characters. Using Unicode strings gets rid of the first obstacle
and only leaves one difficulty do deal with. So Yi does this both at once?
Or does it have it's own abstractions?
In principle, we can provide an interface to Pango using byte arrays but
this would be a lot of work for few users and for those who don't need it,
it would be confusing. If you want this interface for pure performance
reasons, then I think I would politely decline this request unless you
have evidence that conversion back and forth is really a bottleneck.
--
Ticket URL: <http://hackage.haskell.org/trac/gtk2hs/ticket/1120#comment:1>
Gtk2Hs <http://haskell.org/gtk2hs/>
The Gtk2Hs project
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Gtk2hs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel