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

[Pkg-fonts-devel] Bug#411909: ttf-dejavu: wrong instructions for some glyphs used in Kazakh text



Package: ttf-dejavu-udeb
Version: 2.14-2
Severity: important
Tags: patch, pending

Some Kazakh letters are rendered differently when using ttf files from the udeb;
it turns out that is caused by stripping the following range out of the udeb:

* IPA Extensions (U+0250-U+02AF)

this can be seen in [1] where the left image shows text rendered using 2.14-2, while
the right side shows how the image differs from the same text rendered with 2.13-1
(which is shown in [2]). The patch below fixes the problem.

I spent a lot of time making sure there are no more regressions due to mising ranges, and 
in particular I tested:

deb vs. udeb (i.e. unstripped vs. stripped)
latest upstream experimental package vs current 2.14-2 (both debs and udebs)

and I'm confident there are no other problems.

Regards,
Davide


[1] http://d-i.alioth.debian.org/gtk-frontend/screenshots/2.13-1_vs_2.14-2/kk.png
[2] http://d-i.alioth.debian.org/gtk-frontend/screenshots/20070203_dejavu2.13/kk.png


Index: scripts/generate-udeb.sh
===================================================================
--- scripts/generate-udeb.sh    (revision 284)
+++ scripts/generate-udeb.sh    (working copy)
@@ -7,7 +7,6 @@
 FONTS="DejaVuSans DejaVuSansBold DejaVuSansOblique"
 STRIP_RANGES=""
 STRIP_RANGES=""
-STRIP_RANGES="$STRIP_RANGES u0250:u02AF" # IPA Extensions
 STRIP_RANGES="$STRIP_RANGES u0500:u052F" # Cyrillic Supplement
 STRIP_RANGES="$STRIP_RANGES u0530:u058F" # Armenian
 STRIP_RANGES="$STRIP_RANGES u0600:u06FF" # Arabic

Attachment: signature.asc
Description: Digital signature


Reply to: