On Thu, Jul 8, 2010 at 5:33 AM, Didi Kanjahn <didim...@gmx.net> wrote:
>
> All 3 columns in the Khmer example below have a different height.
> The latest version tested was 2.13.23-1.

[...]

> Further below a second example using a Khmer Unicode font, but with Roman 
> script
> letters only. Here all columns have the same height.

Hi Didi,

As far as I know, it's not possible for the line height to be
calculated correctly, because each character or group of characters is
a separate piece of markup.

In the future, we might consider switching more markup functionality
to Pango so that arbitrary text markup is processed line-by-line and
paragraph-by-paragraph.  This would solve the line-height issue you
are seeing.

But I don't know if/when this would ever happen.  It would require a
large overhaul of the markup infrastructure.

Would you like this to be a feature request instead?

---

Also, a workaround for this problem is to override 'baseline-skip.  I
modified your LY file to make the example more compact.  See the
attached files.

Thanks,
Patrick
\version "2.13.3"

\markup {
  \override #'(baseline-skip . 4) {
    \column {
      ខ្ញុំ
      ខ្ញុំ
      ខ្ញុំ
      ខ្ញុំ
      ខ្ញុំ
      ខ្ញុំ
      ខ្ញុំ
      ខ្ញុំ
      ខ្ញុំ
    }
    \column {
      ខ្ញុ
      ខ្ញុ
      ខ្ញុ
      ខ្ញុ
      ខ្ញុ
      ខ្ញុ
      ខ្ញុ
      ខ្ញុ
      ខ្ញុ
    }
    \column {
      ខ្ញ
      ខ្ញ
      ខ្ញ
      ខ្ញ
      ខ្ញ
      ខ្ញ
      ខ្ញ
      ខ្ញ
      ខ្ញ
    }
    \column {
      ខ
      ខ
      ខ
      ខ
      ខ
      ខ
      ខ
      ខ
      ខ
    }
  }
}

<<attachment: baseline-skip.preview.png>>

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to