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

[mgp-users-jp 01402] Re: wrong rendering with libm17n (Forward: Bug#302348: acknowledged by developer (Bug#302348: fixed in mgp 1.11b-2))



At Mon, 16 May 2005 20:05:30 +0900 (JST),
Kenichi Handa wrote:
> 
> In article <>, Fumitoshi UKAI <ukai@debian.or.jp> writes:
> > I tried this patch, but most characters are shown as whitebox.
> > I'm not sure but this patch fixes this problem.
> 
> > --- parse.c.orig	2005-05-14 01:36:18.757842962 +0900
> > +++ parse.c	2005-05-14 01:32:21.681407252 +0900
> > @@ -982,13 +982,13 @@
> >  	if (! (mgp_flag & FL_NOM17N)) {
> >  		tmpstr[6] = ctlalloc1(CTL_M17N);
> >  		tmpstr[6]->ctc2_value1 = strdup("fontset");
> > -		tmpstr[6]->ctc2_value2 = NULL;
> > +		tmpstr[6]->ctc2_value2 = strdup("default");
> >  		tmpstr[7] = ctlalloc1(CTL_M17N);
> >  		tmpstr[7]->ctc2_value1 = strdup("family");
> > -		tmpstr[7]->ctc2_value2 = NULL;
> > +		tmpstr[7]->ctc2_value2 = strdup("default");
> >  		tmpstr[8] = ctlalloc1(CTL_M17N);
> >  		tmpstr[8]->ctc2_value1 = strdup("language");
> > -		tmpstr[8]->ctc2_value2 = NULL;
> > +		tmpstr[8]->ctc2_value2 = strdup("default");
> >  	} else
> >  #endif
> >  	{
> 
> Hmm, strange.  I can see all characters correctly without
> the above change.
> 
> What does happen if you cancel the above change and change
> this line (in M17N_init ()):
> 	fontset = mfontset ("truetype");
> to:
> 	fontset = mfontset ("default");
> ?

It works as well. 

Is this my configuration problem (in fontfonfig or so) ?

Regards,
Fumitoshi UKAI