[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mgp-users-jp 01401] Re: wrong rendering with libm17n (Forward: Bug#302348: acknowledged by developer (Bug#302348: fixed in mgp 1.11b-2))
- To: Kenichi Handa <handa@m17n.org>
- Subject: [mgp-users-jp 01401] Re: wrong rendering with libm17n (Forward: Bug#302348: acknowledged by developer (Bug#302348: fixed in mgp 1.11b-2))
- From: Fumitoshi UKAI <ukai@debian.or.jp>
- Date: Sat, 14 May 2005 01:40:11 +0900
- Cc: mgp-users-jp@mew.org, jronne@ics.uci.edu
- Delivered-to: mailing list mgp-users-jp@mew.org
- In-reply-to: <>
- Mailing-list: contact mgp-users-jp-help@mew.org; run by ezmlm
- Organization: Debian JP Project
- References: <E1DNvsU-00022k-00@newraff.debian.org> <20050331114321.68B3D6C175@pattertwig.ics.uci.edu> <handler.302348.D302348.11139296804605.notifdone@bugs.debian.org> <20050427064426.GB17159@pattertwig.ics.uci.edu> <> <>
- User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.4 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI)
At Fri, 13 May 2005 10:41:11 +0900 (JST),
Kenichi Handa wrote:
> > Date: Tue, 26 Apr 2005 23:44:26 -0700
> > From: Jeffery von Ronne <jronne@ics.uci.edu>
> > To: 302348@bugs.debian.org
> [...]
> > On Tue, Apr 19, 2005 at 10:03:19AM -0700, Debian Bug Tracking System wrote:
> >> We believe that the bug you reported is fixed in the latest version of
> >> mgp, which is due to be installed in the Debian FTP archive:
> [...]
> >> Changes:
> >> mgp (1.11b-2) unstable; urgency=low
> >> .
> >> * build with --with-m17n-lib
> >> add build-depends: libm17n-dev
> >> closes: Bug#302348
>
> > This does add working UTF-8 support but it also results in several
> > serious regressions:
> > 1. the xfont directives are being silently ignored and some
> > other font is being substituted instead
> > 2. the quality of the font rendering is much worse
> > 3. wrapping of multi-line paragraphs is broken
> > (a) centered paragraphs get left justified
> > (b) paragraphs spliced together with the %cont directive don't
> > wrap all the way to the left margin, but only to the location
> > of the %cont directive
>
> > I'm attaching a sample test.mgp which illustrates these issues.
>
> Thank you for the test file. I'll attach a patch (against
> the latest CVS) to fix those problems.
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
{
Regards,
Fumitoshi UKAI