Re: Pango layout multibyte character problem



On Wed, 2008-02-20 at 14:01 -0800, Steve Splonskowski wrote:

Any ideas on what to try next?

Nul-terminate your string?  Or, what are you passing as len to
pango_layout_set_text()?  That should be len in bytes, not characters.
That is, 3, not 2.  Or -1 if nul-terminated.

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]