On Wed, 22 Feb 2006 01:55:51 +0000 Panagiotis Sidiropoulos <[EMAIL PROTECTED]> wrote:
> > ...support GREEK_CHARSET try the fontsenum lazarus example project. > > I can't find an example project with this or similar name, can you > please guide me? <lazarus>/examples/fontsenum/ Mattias > > Regards, Panagiotis > > > ________ 21-02-2006, __________ ______, ______ ______ 08:06 -0600, __/__ > Jesus Reyes ____________: > > ----- Original Message ----- > > From: "Panagiotis Sidiropoulos" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Sent: Tuesday, February 21, 2006 1:48 AM > > Subject: RE: [lazarus] HtmlPanel: Non Latin alhabets and utf codepage. > > > > > > > > > http://mx.geocities.com/jesusrmx/lazarus/tpiprosamples.zip > > > > > > > > Thanks a lot. I will check it first thing tomorrow morning. It is > > > > late here in Greece and this need a lot of attention. > > > > > > I apologize, while downloading; connection was lost so I started it > > > again. Next time I got the message: ----- > > > ___Lo sentimos! este sitio est__ temporalmente inaccesible. > > > El sitio que est__s intentando accesar ha excedido su tasa de > > > transferencia de datos. El acceso a este sitio ser__ reestablecido > > > dentro de una hora. Por favor, intenta nuevamente m__s tarde. > > > http://mx.share.geocities.com/jesusrmx/lazarus/tpiprosamples.zip > > > Si sigues encontrando problemas, visita nuestra __rea de ayuda para > > > informaci__n y asistencia. ----- > > > > > > Because I don't speak Spanish, tried to translate this text at > > > altavista.com but result was not clear enough. Can you please explain > > > this to me and if possible manage to make sample file downloadable > > > again. > > > > > > > This would be something like: > > > > 'We are sorry! this site is temporally unavailable. > > The site you are trying to access has exceeded it's data transfer rate. > > The access to this site will be restored within one hour. Please, try > > again later. > > http://mx.share.geocities.com/jesusrmx/lazarus/tpiprosamples.zip > > If you continue having problems, visit our help section for information > > and support.' > > > > Sorry I'm not so familiar with this kind of geocities error. > > > > > > > > > > > >iphtml.pas:9135 Owner.Target.Font.Name := FontName; > > > >at this point insert a line so it should look like: > > > >iphtml.pas:9135 Owner.Target.Font.Charset := GREEK_CHARSET; > > > >iphtml.pas:9136 Owner.Target.Font.Name := FontName; > > > > > > I made these changes but nothing changed. I suppose "Building All", > > > modified html is also recompiled. > > > > > > > Yes it should be recompiled when doing build all. It will also need a > > font that has GREEK_CHARSET support, In my case I removed from the htm > > file all references to Arial. If in your system there is Arial font > > installed it should work, if not, you need to be sure that your gtk > > default font does support GREEK_CHARSET, the problem is that I don't > > know a straight way to find this, but I guess it should be in some gtk > > rc file. To be sure what fonts you have that support GREEK_CHARSET try > > the fontsenum lazarus example project. > > > > > > > > > > > >The default font checkbox in the screenshot does just that, > > > >it assigns IpHtmlPanel1.DefaultTypeFace :='Clean' when > > > >it's checked. > > > > > > I missed something, DefaultTypeFace property is not supported on my > > > ipHTMLPanel. I hope this will be clear to me when receive sample > > > files. > > > > > > > This could be a problem, it means that you copy of iphtml.pas is almost > > 3 months old. I suggest you to update your copy, but in this case you > > will lose your XOR selection style, on the good part you will get nice > > tables rendering ;) > > > > > > > > > > > >My guess is that your sample file is not UTF-8 encoded > > > >but simply thanks to your localized environment, greek > > > >chars were entered using local encoding, this seems to be > > > >confirmed with a simple change in your sample file, in > > > >the header instead of charset=UTF-8 I changed to > > > >charset=ISO-8859-7 then I opened the file with opera (even > > > >with an old version 7) and it showed the file correctly. > > > > > > I think it is UTF-8 because when change code page to Konquaror, page > > > is not shown properly. I also checked it with a hex viewer. Is it > > > possible charset to be changed by browsers on the fly? > > > > > > > I think that transcoding is a posibility but I'm not sure in what > > circunstances it gets triggered, if you want, please make a zip of your > > htm file and sent it to me in private. > > > > > > > > > > > >A final weird thing, from a old post from you I have a screen > > > >shot that show that tpipro rendered correctly greek chars, > > > >http://www.magentadb.gr/ftp/paint-selection-sample.jpg how is > > > >that it worked before but actually it doesn't?. > > > > > > This screen shot it taken on Windows. I do not have problems on > > > Windows probably because all texts are treated as non-Unicode, 1 byte > > > per character. Proper code page in the font is selected by .charset > > > property of components. > > > > > > > That explains the screenshot, and probably also why doesn't work in > > linux, either you don't have Arial font installed or the font doesn't > > support GREEK_CHARSET (provided that you have the same component charset > > adjusment) > > > > > Regards, Panagiotis > > > > > > > Jesus Reyes A. > > > > > > __________________________________________________ > > Correo Yahoo! > > Espacio para todos tus mensajes, antivirus y antispam gratis! > > Regstrate ya - http://correo.yahoo.com.mx/ > > > > _________________________________________________________________ > > To unsubscribe: mail [EMAIL PROTECTED] with > > "unsubscribe" as the Subject > > archives at http://www.lazarus.freepascal.org/mailarchives > > > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
