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

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



libm17n を使うようにしたら次のような報告をうけました。

-- 
鵜飼文敏

--- Begin Message ---
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:
> 
> mgp_1.11b-2.diff.gz
>   to pool/main/m/mgp/mgp_1.11b-2.diff.gz
> mgp_1.11b-2.dsc
>   to pool/main/m/mgp/mgp_1.11b-2.dsc
> mgp_1.11b-2_i386.deb
>   to pool/main/m/mgp/mgp_1.11b-2_i386.deb

> 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.

My guess is that the m17n is somehow disabling the xft2 engine and that
xft2 and m17n are probably incompatible until something is fixed upstream.

-- 
Jeffery von Ronne <jronne@ics.uci.edu> 
PhD Candidate, Information & Computer Science 
University of California, Irvine
ἐταπείνωσεν ἑαυτὸν γενόμενος ὑπήκοος μέχρι θανάτου, θανάτου δὲ σταυροῦ
%deffont "standard"   xfont "Bitstream Vera Sans:Roman"
%deffont "thick"      xfont "Bitstream Vera Sans:Bold"
%deffont "typewriter" xfont "Bitstream Vera Sans Mono"
%deffont "gentium"    xfont "GentiumAlt"
%deffont "thryomanes" xfont "Thryomanes"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%default 1 area 90 90, leftfill, size 2, font "thick", fore "black", bgrad 0 0 128 60 0 "beige" "#ffffff" "#ddddff"
%default 2 size 8, vgap 10, prefix " "
%default 3 size 2, bar "gray70", vgap 10
%default 4 size 4, fore "black", vgap 30, prefix " ", font "standard"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%page
%back "beige", fore "black"

A Sample Page

%center, font "thick", fore "black"
A short centered line.

This should be more than one line of centered text. \
When libm17n is used, it no longer centers it.

%leftfill, font "standard"
Here is some text with a
%cont, fore "green3"
 green 
%cont, fore "black"
word within it.  When libm17n is used, it no longer wraps all the way \
back to the left margin, but instead lines the text up under the color change.

Some Greek (Gentium Alt):
%font "gentium"
῎Ανδρα μοι ἔννεπε, Μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
%font "standard"

Some Greek (Thryomanes):
%font "thryomanes"
῎Ανδρα μοι ἔννεπε, Μοῦσα, πολύτροπον, ὃς μάλα πολλὰ

--- End Message ---