Bug#507964: cdebconf-gtk-udeb: Corrupted display in Dzongkha installs with D-I RC1 in some situations

2008-12-07 Thread Christian Perrier
Quoting Christian Perrier ([EMAIL PROTECTED]):
 Changing the font size from 11 to 9 (by changing FONT_SIZE is
 /usr/bin/gtk-set-font) fixed the display problem...

I restested this, this time by not increasing the font size by 2 for
Dzongkha instead of chaning the base font size.

That still gives a final font size of 9, which should be OK.

So, we now need to know whether things are readable with such a font
size



signature.asc
Description: Digital signature


Bug#507964: cdebconf-gtk-udeb: Corrupted display in Dzongkha installs with D-I RC1 in some situations

2008-12-06 Thread Christian Perrier
Package: cdebconf-gtk-udeb
Severity: normal

This started as a thread in -boot. I selected relevant mails and I paste
them below.

=== Original report 
Date: Sat, 8 Nov 2008 17:20:35 +0100
From: Christian Perrier [EMAIL PROTECTED]

While testing an installation in Dzongkha with the netinst CD, I
experienced corrupted display problems in the root password screen,
then later in all subsequent screens.

Apparently, some strings are replaced by squares, just as if some
glyphs were missing. However, this happens on *entire* screens, not
just with random glyphs being replaced by squares.

See screenshots listed at the end of this mail...

Also, one should note that the root passord selection screen is
slightly too long and one can easily miss the fact that there are two
input fields, one for the password and one for its confirmationas
the confirmation input dialog is hidden as the bottom (and users
might miss it).

Screenshots:
http://people.debian.org/~bubulle/di-dzongkha-root.png
http://people.debian.org/~bubulle/di-dzongkha-root2.png

==
Date: Sat, 8 Nov 2008 17:34:29 +0100
From: Christian Perrier [EMAIL PROTECTED]

Quoting Christian Perrier ([EMAIL PROTECTED]):
 While testing an installation in Dzongkha with the netinst CD, I
 experienced corrupted display problems in the root password screen,
 then later in all subsequent screens.
=20
 Apparently, some strings are replaced by squares, just as if some
 glyphs were missing. However, this happens on *entire* screens, not

s/screens/strings

 just with random glyphs being replaced by squares.

Actually, that seems to be a missing italic font.


==
Date: Sun, 9 Nov 2008 08:28:51 +0100
From: Christian Perrier [EMAIL PROTECTED]
Quoting Christian Perrier ([EMAIL PROTECTED]):

  Apparently, some strings are replaced by squares, just as if some
  glyphs were missing. However, this happens on *entire* screens, not
=20
 s/screens/strings
=20
  just with random glyphs being replaced by squares.
=20
 Actually, that seems to be a missing italic font.
=20

More details...

Before the base system install step, everything is fine. The italic
font (which is used for messages that appear under progress bars and
the short description of select/multiselect/string debconf templates)
is properly displayed.

However, after the base system install, the first screen that comes
(the root password screen) and all screens that follow do not longer
have italics glyphs displayed. They're replaced by squares.

This is only happens, as of now, in Dzongkha installs. It does not
happen in other complex languages installs (an Hindi install is fine).

==
Date: Tue, 11 Nov 2008 09:29:10 +0100
From: Christian Perrier [EMAIL PROTECTED]

Quoting Christian Perrier ([EMAIL PROTECTED]):
 While testing an installation in Dzongkha with the netinst CD, I
 experienced corrupted display problems in the root password screen,
 then later in all subsequent screens.
=20
 Apparently, some strings are replaced by squares, just as if some
 glyphs were missing. However, this happens on *entire* screens, not
 just with random glyphs being replaced by squares.
=20
 See screenshots listed at the end of this mail...
=20
 Also, one should note that the root passord selection screen is
 slightly too long and one can easily miss the fact that there are two
 input fields, one for the password and one for its confirmationas
 the confirmation input dialog is hidden as the bottom (and users
 might miss it).
=20
 Screenshots:
 http://people.debian.org/~bubulle/di-dzongkha-root.png
 http://people.debian.org/~bubulle/di-dzongkha-root2.png


OK, it took me a while before I could isolate a test case. That's a
very *weird* issue.

So, to reproduce that problem, you must do the following:

- boot the graphical installer
- choose Dzongkha as installation language. Than you'll get hard times
unless you were raised in Bhutan and can read it, but you can do
it..:-)
- always pick up default options until you reach the root password
setting screen. Please note that the last screen for partitioning
requires changing the No option to Yes (confirming that you
overwrite the disk). You can do this by just hitting the Down arrow
and then Enter
-When you reach the root password screen (which has a slider on the
right because the text is too long), deliberately enter two different
passwords so that D-I complains. Typing Root (first pwd), then Tab
twice (so that the password confirmation is empty), then Enter, is the
way to do it

- You then get the password mismatch screen...which seems correct,
but again has a slider on the right. Click on the slider and scroll
down. BLAM.the italic glyphs are replaced by squares and all
subsequent screens are also replaced by squares.

If you don't slide down in the 

Bug#507964: cdebconf-gtk-udeb: Corrupted display in Dzongkha installs with D-I RC1 in some situations

2008-12-06 Thread Christian Perrier
Changing the font size from 11 to 9 (by changing FONT_SIZE is
/usr/bin/gtk-set-font) fixed the display problem...

However, we don't really know if Dzongkha is then still readable or not.



signature.asc
Description: Digital signature


Bug#507964: cdebconf-gtk-udeb: Corrupted display in Dzongkha installs with D-I RC1 in some situations

2008-12-06 Thread Christian Perrier
Quoting Christian Perrier ([EMAIL PROTECTED]):
 Changing the font size from 11 to 9 (by changing FONT_SIZE is
 /usr/bin/gtk-set-font) fixed the display problem...


Another test showed that 10 in not enough



signature.asc
Description: Digital signature


Bug#507964: cdebconf-gtk-udeb: Corrupted display in Dzongkha installs with D-I RC1 in some situations

2008-12-06 Thread Jérémy Bobbio
On Thu, 4 Dec 2008 19:34:17 +0100, Frans Pop wrote:
 On Thursday 04 December 2008, Christian Perrier wrote:
  The only short term fix I can see for this is shortening the
  translation in that specific screen so that it fits on the screen.
 
 Or decrease the font size...
 
 From packages/rootskel-gtk/src/usr/bin/gtk-set-font:
 dz)
 FONT_NAME=3DTibetan Machine Uni
 FONT_SIZE=3D$(($FONT_SIZE + 2))
 ;;
 
 We increased the font size to make it better readable, but maybe it's just
 too big now.

Reading this, I am wondering if t would not be worthwhile to make a try
using Jomolhari (from ttf-dzongkha) instead of Tibetan Machine Uni.
Even if the former is too big to be included in d-i, it might allow us
to narrow the issue a little bit more.

Sorry not to be more helpful on this, I have a hard time to reproduce
the bug in an environment more suitable for development than a full d-i
at the user-setup stage…

Cheers,
-- 
Jérémy Bobbio.''`. 
[EMAIL PROTECTED]: :Ⓐ  :  # apt-get install anarchism
`. `'` 
  `-   


signature.asc
Description: Digital signature


Bug#507964: cdebconf-gtk-udeb: Corrupted display in Dzongkha installs with D-I RC1 in some situations

2008-12-06 Thread Christian Perrier
Quoting Jérémy Bobbio ([EMAIL PROTECTED]):

 Reading this, I am wondering if t would not be worthwhile to make a try
 using Jomolhari (from ttf-dzongkha) instead of Tibetan Machine Uni.
 Even if the former is too big to be included in d-i, it might allow us
 to narrow the issue a little bit more.


If someone builds an ISO image for me with Jomolhari instead of tmuni
font, I'd volunteer to test it. Unfortunately, all images I build on
my own system are still unbootable for a mysterious reason...:-(



signature.asc
Description: Digital signature