bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 838 in lilypond: Inconsistency in tests output size


From: lilypond
Subject: Re: Issue 838 in lilypond: Inconsistency in tests output size
Date: Wed, 10 Mar 2010 01:55:17 +0000

Updates:
        Labels: -Patch

Comment #14 on issue 838 by pnorcks: Inconsistency in tests output size
http://code.google.com/p/lilypond/issues/detail?id=838

Thanks Han-Wen.

Yes, the Pango_font objects are stored in a hash table (pango_dict_) which is a
member of All_font_metrics.

The problem, as I see it right now, is that the PangoFontDescription passed to
All_font_metrics::find_pango_font() does not reflect the state of an
already-processed Pango_font object. As a result, Pango_font objects may be reused
too often.

In pango-font.cc, Pango may split a bidirectional markup string into multiple pieces (with a PangoLayout), and each piece can theoretically use a different font, so the
original PangoFontDescription would no longer contain enough information to
effectively choose a Pango_font object.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings




reply via email to

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