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

Bug#690919: debian-installer: some line are cut of its top in Graphical Install



Hi!

Hideki Yamane <henrich@debian.or.jp> (19/10/2012):
>  With Graphical Install in Japanese (at least), some lines are not
>  display correctly, top of 1 or 2 dot is cut.
> 
>  We can surely read it but it look ***much ugly***, not good.
>  
>  See screenshots
>  http://www.mithril-linux.org/~henrich/debian/netcfg_dhcp_options_0.png
>  http://www.mithril-linux.org/~henrich/debian/netcfg_dhcp_failed_0.png

Is it just about setting a bigger font size for Japanese? If so, that
should happen in rootskel-gtk, namely in gtk-set-font. I'm attaching
screenshots using +2 in that file (see attached rootskel-gtk patch).

(Maybe +1 might be sufficient, but let's see whether +2 makes a
suitable difference.)

Mraw,
KiBi.

Attachment: bigger-japanese-1.png
Description: PNG image

Attachment: bigger-japanese-2.png
Description: PNG image

From 2dd6dc472c26ffc83302063a457641af536da3b5 Mon Sep 17 00:00:00 2001
From: Cyril Brulebois <kibi@debian.org>
Date: Mon, 19 Nov 2012 04:39:24 +0100
Subject: [PATCH] Use a bigger font size for Japanese, thanks to Hideki
 Yamane! Closes: #690919

---
 debian/changelog         |    7 +++++++
 src/usr/bin/gtk-set-font |    1 +
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2cba0e3..220a3f8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+rootskel-gtk (1.27) UNRELEASED; urgency=low
+
+  * Use a bigger font size for Japanese, thanks to Hideki Yamane!
+    Closes: #690919
+
+ -- Cyril Brulebois <kibi@debian.org>  Mon, 19 Nov 2012 04:20:33 +0100
+
 rootskel-gtk (1.26) unstable; urgency=low
 
   * Apply patch from Paul Tagliamonte to update the banner: the Debian
diff --git a/src/usr/bin/gtk-set-font b/src/usr/bin/gtk-set-font
index 342bc14..c6733bb 100644
--- a/src/usr/bin/gtk-set-font
+++ b/src/usr/bin/gtk-set-font
@@ -37,6 +37,7 @@ case "$language" in
 	;;
     ja)
 	FONT_NAME="VL Gothic"
+	FONT_SIZE=$(($FONT_SIZE + 2))
 	;;
     km)
 	FONT_NAME="Khmer OS System"
-- 
1.7.10.4

Attachment: signature.asc
Description: Digital signature


Reply to: