Mailing List Archive


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

[tlug] Re: Japanese in Evolution 1.2.1 Solved



On 土, 2003-02-22 at 02:26, Melvin Sneed wrote:
> A wonderful spiffy and swell type guy found and tested a patch to get
> Japanese to display corectly in Evo. 1.2. 
> 
> Thanks to Kouichi Takahashi!  (send this man a beer)
> 
> The patch follows from his email.
> 
> 
> Here is a diff against gtkhtml-1.1.8.
> 
> 
> --- src/htmlgdkpainter.c        2003-02-18 03:10:56.000000000 +0900
> +++ src/htmlgdkpainter.c.bak    2003-02-18 03:12:00.000000000 +0900
> @@ -73,7 +73,7 @@
>         gint n;
> 
>         /* Search paramether */
> -       for (s=font_name, n=pos; n; n--,s++)
> +       for (s=font_name, n=pos ? 8 : 7; n; n--,s++)
>                 s = strchr (s,'-');
> 
>         if (s && *s != 0) {

Would that this were the solution. I patched the file and rebuilt
gtkhtml, but I still get little open boxes instead of the proper
characters. I don't need to rebuild evolution, do I? (ldd shows it
pointing to the newly build libgtkhtml.)

What font and encoding are you using? I tried a large number of them,
and didn't have any success.

(This doesn't have anything to do with the fact that I'm running
evolution remotely and displaying it on my machine at home which does
not have the patched gtkhtml, does it?)

-- 
Stuart Luppescu       -=- s-luppescu@example.com
University of Chicago -=- CCSR 
才文と智奈美の父    -=- Kernel 2.4.19-pre10-xf              
The world really isn't any worse.  It's just that the news
 coverage is so much better. 
 

Attachment: signature.asc
Description: This is a digitally signed message part


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links