[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Inconsistent line height with Cambodian Unicode 2
From: |
Didi Kanjahn |
Subject: |
Inconsistent line height with Cambodian Unicode 2 |
Date: |
Thu, 8 Jul 2010 12:33:29 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
> I'm not top-posting
All 3 columns in the Khmer example below have a different height.
The latest version tested was 2.13.23-1.
The font selected in the first example is a Microsoft font, but any Khmer
Unicode font I have tested shows the same behavior. The font 'Khmer UI' that
comes with Windows 7 as default font behaves very differently (non-standard)
from other fonts, it may not show the problem. I can provide fonts of my own.
Some fonts can be downloaded at:
http://sourceforge.net/projects/khmer/files/Fonts%20-%20KhmerOS/KhmerOS%20Fonts%205.0-%20LGPL%20Licence/KhmerOS_.ttf/download
Further below a second example using a Khmer Unicode font, but with Roman script
letters only. Here all columns have the same height.
Didi
\version "2.13.3"
\markup {
\column {
\fill-line {
\left-column {
\override #'(font-name . "Khmer Mool") \fontsize #1 {
"ខ្ញុំ"
"ខ្ញុំ"
"ខ្ញុំ"
"ខ្ញុំ"
"ខ្ញុំ"
"ខ្ញុំ"
"ខ្ញុំ"
"ខ្ញុំ"
"ខ្ញុំ"
"ខ្ញុំ"
"ខ្ញុំ"
"ខ្ញុំ"
}
}
\left-column {
\override #'(font-name . "Khmer Mool") \fontsize #1 {
"ខ្ញុ"
"ខ្ញុ"
"ខ្ញុ"
"ខ្ញុ"
"ខ្ញុ"
"ខ្ញុ"
"ខ្ញុ"
"ខ្ញុ"
"ខ្ញុ"
"ខ្ញុ"
"ខ្ញុ"
"ខ្ញុ"
}
}
\left-column {
\override #'(font-name . "Khmer Mool") \fontsize #1 {
"ខ្ញ"
"ខ្ញ"
"ខ្ញ"
"ខ្ញ"
"ខ្ញ"
"ខ្ញ"
"ខ្ញ"
"ខ្ញ"
"ខ្ញ"
"ខ្ញ"
"ខ្ញ"
"ខ្ញ"
}
}
\left-column {
\override #'(font-name . "Khmer Mool") \fontsize #1 {
"ខ"
"ខ"
"ខ"
"ខ"
"ខ"
"ខ"
"ខ"
"ខ"
"ខ"
"ខ"
"ខ"
"ខ"
}
}
}
}
}
---------
\version "2.13.3"
\markup {
\column {
\fill-line {
\left-column {
\override #'(font-name . "Khmer Busra") \fontsize #1 {
"n"
"n"
"n"
"n"
"n"
}
}
\left-column {
\override #'(font-name . "Khmer Busra") \fontsize #1 {
"gd"
"gd"
"gd"
"gd"
"gd"
}
}
\left-column {
\override #'(font-name . "Khmer Busra") \fontsize #1 {
"Ä"
"Ä"
"Ä"
"Ä"
"Ä"
}
}
}
}
}
- Inconsistent line height with Cambodian Unicode 2,
Didi Kanjahn <=