--- Panagiotis Sidiropoulos <[EMAIL PROTECTED]> escribió:

> > You can compile your self, the project is in:
> > lazarus/examples/turbopower_ipro.
> 
> I thought I did test this example. At least it is not the same
> comparing
> screens.
> 
> > mmm, probably I did a small change but it should not affect
> > rendering, anyway, I can send you both source code and binaries
> for
> > gtk1 and gtk2 but it will be an attachment of about 7.5MB. If
> it's ok
> > tell me.
> 
> It is OK with me. Do you have any ftp server to upload it? This
> would be
> very convenient.

http://mx.geocities.com/jesusrmx/lazarus/tpiprosamples.zip

Once you download the file, change extension from .zip to .tar.bz2
I don't know why geocities doesn't like .tar.bz2, it seems happy with
.tar.gz

> 
> > As a side note, when using gtk2 there are some messages about:
> > "Pango-WARNING **: Invalid UTF-8 string passed to
> > pango_layout_set_text()", also I tried to open the html file with
> > kate, i'm not completly sure but I think it should understand
> UTF-8
> > but it didn't show greek characters correctly, only when I
> > especifically set the charset encoding to iso-8859-7 or cp1253 it
> > showed greek chars correctly (I guess)
> 
> I can't undestand it, display utf-8 text setting iso codepage? This
> is
> only explained if it is converted by ipHTMLPanel. By the way I
> tried to
> convert utf text (utf8toansi()) before display but had no luck.
> 
> Regards, Panagiotis
>  

It's weird and it require further reseach, if I manually set the
default charset in iphtml.pas to GREEK_CHARSET and set a default font
face that supports this charset it does almost a good job, take a
look:
http://mx.geocities.com/jesusrmx/lazarus/images/tpipro_gtk1_greekcharset.png

Don't know if in this case it's enough with adding a property
DefaultCharset to TIpHtmlPanel when working with gtk1, for gtk2
feeding correct UTF8 should be enought if not then it's probably a
bug somewhere. Need more research.

Jesus Reyes A.


        
        
                
___________________________________________________________ 
Do You Yahoo!? 
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. 
http://net.yahoo.com.mx 

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to