[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inconsistent line height with Cambodian Unicode 2
From: |
Patrick McCarty |
Subject: |
Re: Inconsistent line height with Cambodian Unicode 2 |
Date: |
Thu, 8 Jul 2010 10:39:44 -0700 |
On Thu, Jul 8, 2010 at 5:33 AM, Didi Kanjahn <address@hidden> 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
baseline-skip.ly
Description: Text Data
baseline-skip.preview.png
Description: PNG image