On Mon, 2008-11-24 at 08:06 +0300, Igor 'Lo' (И.L.) wrote:
> Hey there, cultists.
> First, how do we battle an evil spirit of unicode glitch?
> // given: Linux, Perl 5.10, Clutter-0.8.2, working ru_RU.UTF-8 locale
> // used 5-6 different fonts and few locale settings... nothing.
> 
> Taking hello.pl example:
>  my $label = Clutter::Label->new("Monoco 10", "ABCDEF АБВГДЕ"); die
> $label->get_text();
> Can only explicitely get the same corrupted string that gets printed
> on the stage:
>  ABCDEF АÐ'Ð'Ð"Ð"Е at hello.pl line 28

if you are going to use UTF-8 inside your source code, then "use utf8;"
at the beginning of a package usually solves this.

Clutter expects UTF-8 only for display strings.

> And second, what's a size of minimal Clutter redistributable compiled
> on Win32/MINGW?
> I mean, creating a simple C application to test it would result in
> 1.5mb dll or in large bundle of it's own GTK and Cairo engines?

I'll leave somebody else to answer this.

>  <..> was about performance, task -- currently creating a custom
> ICEBookReader/TEX-inspired text justification and anti-aliasing engine
> with a 5-6MB of constantly updating text-to-graphics cache being
> provided via a kind of list proxy object. This involves sub-pixel
> scrolling with a variable speed of 2 to 200 lines per second,
> actually. Trying to write a test class this moments, someone, try to
> discourage me.

I won't try to discourage you. :-)

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Intel Open Source Technology Center

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to