bug-lilypond
[Top][All Lists]
Advanced

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

Re: Lilipond/nikud bug: Pango-bug ? [paps OK]


From: Yotam Medini יותם מדיני
Subject: Re: Lilipond/nikud bug: Pango-bug ? [paps OK]
Date: Fri, 15 Feb 2008 00:05:59 +0200

Han-Wen,
You may have not been following this discussion. 
It is related to the bug reported in 
   http://code.google.com/p/lilypond/issues/detail?id=541
Since you are the author of Lilypond's  pango-font.cc, 
I wonder if you could comment on the suggestions of Behdad Esfahbod below.


Behdad,
I understand that you recommend using higher-level interface of Pango.
But still, would it possible for you to write a simple test program that
takes a UTF-8 text and a font name, and generates PostScript 
using pango_shape(...) API?
If such program will generate well aligned diacritics marks for Hebrew,
then it may be possible to track down where Lilypond does things
differently, and hopefully fix it.
Otherwise, it may show that there is a bug in Pango, 
and we can declare Lilypond innocent, and focus on a Pango fix.

Thank you all -- yotam

On Tue, 12 Feb 2008 17:17:15 -0500
Behdad Esfahbod <address@hidden> wrote:

> On Wed, 2008-02-13 at 00:04 +0200, Yotam Medini יותם מדיני wrote:
> > Please take a look at:
> > http://git.sv.gnu.org/gitweb/?p=lilypond.git;a=blob;f=lily/pango-font.cc;hb=HEAD
> 
> Looks correct.  I'm not sure what other backends Lilypond has, but I
> highly recommend porting the entire thing to pango+cairo.  You shouldn't
> have to deal with postscript names at all...
> 
> behdad
> 
> 
> > -- yotam
> > 
> > 
> > On Tue, 12 Feb 2008 16:31:59 -0500
> > Behdad Esfahbod <address@hidden> wrote:
> > 
> > > On Tue, 2008-02-12 at 16:28 -0500, Dov Grobgeld wrote:
> > > > The dump does show that PangoLayout  isn't called, and as Behdad said,
> > > > that is the only sane path to take...  
> > > 
> > > I still don't have any guess as to why it's not working though.  Cause
> > > as the backtrace shows, the OpenType layout code is being called.
> > > Something doesn't sound right.
> > > 
> > > > Dov
> > > > 
> > > > On 12/02/2008, Behdad Esfahbod <address@hidden> wrote:
> > > >         Can you instead point out the source code in Lilipond calling
> > > >         pango?
> > > >         
> > > >         behdad
> -- 
> behdad
> http://behdad.org/
> 
> "Those who would give up Essential Liberty to purchase a little
>  Temporary Safety, deserve neither Liberty nor Safety."
>         -- Benjamin Franklin, 1759
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]