Bug 38604 - README - [Fonts] TVT21: Default font is too high in Korean
Summary: README - [Fonts] TVT21: Default font is too high in Korean
Status: CLOSED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 2.1.1   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords: readme
Depends on:
Blocks:
 
Reported: 2003-06-06 15:29 EDT by Cam-Thu Le CLA
Modified: 2005-05-10 14:54 EDT (History)
7 users (show)

See Also:


Attachments
sans-font.gif (43.14 KB, image/gif)
2003-06-06 15:31 EDT, Cam-Thu Le CLA
no flags Details
gothic_font.gif (58.10 KB, image/gif)
2003-06-06 15:32 EDT, Cam-Thu Le CLA
no flags Details
Preference page with sans 10 (62.46 KB, image/jpeg)
2003-06-11 11:25 EDT, Tod Creasey CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cam-Thu Le CLA 2003-06-06 15:29:50 EDT
Language: Korean

Priority:2
Build driver: wswb-SDK-M20030604-linux-gtk.zip
Reporter: Korean tester 
OS:RedHat8.0+GTK 2.2 

                
        Description: Panel "templates" from the Java editor has missing buttons 
on the Korean machine. To fix the problem we need to have the Dialog font 
externalized in the Jfacefonts_linux_gtk.properties. Then this Dialog font 
would be set to gothic font for the Korean station to be able to display all 7 
buttons in the templates panel.
Today only 3 fonts are being externalized: they are header font, text font and 
banner font. 
        Steps to recreate problem:
        1-Windows->preferences->Java->editor->templates
        2-If Dialog font is set to the default font (sans font), you will get 
missing  buttons on the templates panel (see sans-font.gif).
        3- If you manually change the Dialog font to gothic font and redisplayed
the templates panel, you will get all 7 buttons displayed.(see gothic_font.gif).

        
   We need to have the Dialog font externalized in the Jface font for font 
update. This way when the product is launched, Korean language will come up 
with the correct number of buttons for the screen.   

    In case you need the NL fragment, please contact Tod Crasey.
Comment 1 Cam-Thu Le CLA 2003-06-06 15:31:58 EDT
Created attachment 5102 [details]
sans-font.gif
Comment 2 Cam-Thu Le CLA 2003-06-06 15:32:58 EDT
Created attachment 5103 [details]
gothic_font.gif
Comment 3 Tod Creasey CLA 2003-06-06 15:53:04 EDT
Cannot replicate on Redhat 9.

The dialog font is by default the defualt font of the OS. This should not 
change on any platform.

My default font on Red Hat 9 is Sans 10. It looks to me like you are using a 
much larger font as the scaling is huge on your buttons.

Please check what your system font is and let us know. Please also select "Use 
System Defaults" when you set the dialog font and then recheck.
Comment 4 Tod Creasey CLA 2003-06-06 16:06:56 EDT
Just rechecked on RedHat 8 and it was also fine. It look like your default 
font has a very large vertical point size and that it is your particular setup 
that is causing this problem.
Comment 5 Tod Creasey CLA 2003-06-06 16:36:12 EDT
Renaming problem report. This problem is due to a default font that is too 
high. 
Comment 6 Cam-Thu Le CLA 2003-06-09 16:45:02 EDT
Update problem to critical and to be fixed in 2.1.1.
Comment 7 Felipe Heidrich CLA 2003-06-10 11:38:28 EDT
Can you please check the following

1) Your GTK default font (from the OS check this using the Entry in the 
Preferences -> Font menu)and the settings you have chosen.
2) What is the theme you are using (if any). Several themes have font problems


Comment 8 Tod Creasey CLA 2003-06-10 15:48:50 EDT
In Redhat 8.0 I am gettingthe following warnings:


(process:1297): Gdk-WARNING **: locale not supported by C library

(process:1297): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Comment 9 Tod Creasey CLA 2003-06-10 16:02:18 EDT
Also cannot replicate using the Red Hat 8.0 machine with gtk 2.2 we have hear in
the lab.
Comment 10 Tod Creasey CLA 2003-06-11 11:25:26 EDT
Created attachment 5162 [details]
Preference page with sans 10

Here is what the same dialog looks like to use with the default font.
Comment 11 Felipe Heidrich CLA 2003-06-11 12:45:33 EDT
Cam-Thu Le or Hwa,
Please, run the command "rpm -qa | grep fonts" in your system and paste the 
output here.
Comment 12 Hwa Truong CLA 2003-06-11 12:51:13 EDT
XFree86-truetype-fonts-4.2.0-72
ttfonts-zh_TW-2.11-15
XFree86-75dpi-fonts-4.2.0-72
taipeifonts-1.2-20
XFree86-base-fonts-4.2.0-72
ttfonts-ja-1.2-16
ttfonts-ko-1.0.11-21
ttfonts-zh_CN-2.11-29
urw-fonts-2.0-26
fonts-ja-8.0-4
kon2-fonts-0.3.9b-13
ghostscript-fonts-5.50-7
XFree86-100dpi-fonts-4.2.0-72
bitmap-fonts-0.2-2
Comment 13 Felipe Heidrich CLA 2003-06-11 14:56:30 EDT
I tried to recreate this problem on:
RedHat 9 / Gtk 2.2.1
RedHat 8 / Gtk 2.2.1
RedHat 8 / Gtk 2.0.6

They all work fine.

(Tod, I added ko_KR locale to the lib C so the error message 'locale not 
support' is fixed).

I worked with Hwa today and we confirm that he was actually running on Gtk 
2.2.0, after updating his machine to Gtk 2.2.1 the problem disappear.

Comment 14 Jeff McAffer CLA 2003-06-11 18:05:43 EDT
There has been alot of confusion around this bug.  At the core of the problem 
is a default font size which is too high on 2.2.0.  The problem can be resolved 
by manually setting the default font size.

Various tests have shown that the problem does not occur on GTK "2.2.1".  While 
this is true, moving to GTK 2.2.1 is not feasible as there are other, quite 
significant, problems in the 2.2.1 available on gtk.org (e.g., tree widget that 
causes Eclipse to hang).  

To further confuse the issue, the 2.2.1 that comes in RedHat 9.0 has a set of 
patches which fixes many of these problems.  The 2.2.1 release available on 
gtk.org does not.  Since the good version of 2.2.1 is not generally available, 
users would be unable to create a suitable execution environment.

Further, the bulk of the TVT work has been done on GTK 2.2.0.  While 2.2.1 (the 
one from RH9.0) has been used in various development scenarios, it has not 
undergone the rigors of TVT.

Summary:  We should clarify the Eclipse runtime environment to spec GTK 2.2.0 
and readme this particular problem to tell users to manually set the default 
font to something with a reasonable size.
Comment 15 Jeff McAffer CLA 2003-06-12 14:06:06 EDT
Slight clarification....

TVT team: We need confirmation that this bug is a general problem on Korean 
rather than just a problem with this particular Korean machine.  Please verify 
that the problem happens on a different Korean machine.  If it does, then we 
will be able to add a readme.  If it cannot be reproduced then it is likely a 
machine-specific problem.
Comment 16 Hwa Truong CLA 2003-06-17 11:13:29 EDT
We have been able to reproduce this on several TVT machines we have setup here.
Comment 17 Hwa Truong CLA 2003-06-17 11:29:28 EDT
This is the readme for Korean - GTK 2.2.0 font problem:

Users who download and compile new versions of GTK, for example to gain DBCS 
support in GTK 2.2.0 on RedHat 8.0, will experience font related problems for 
the Korean translation.  For example, some of the text font may get clipped at 
the top, or windows may resize out of viewable area. 
To circumvent the problem, we recommend user to set high screen resolution, for 
example 1280x1024.  User also needs to manually set the dialog font and banner 
font to gothic font.  To execute, go to Window -> Preferences.  Expand 
Workbench -> Font.  Select Dialog Font.  Click Change button and select gothic 
font.  Click Apply.  Repeat for the Banner Font.
Comment 18 Nick Edgar CLA 2003-06-17 23:45:45 EDT
Added the following to the R2.1.1 readme.

Font problems in Korean translation on GTK 2.2.0 (Linux GTK only)

Users who download and compile new versions of GTK, for example to gain DBCS 
support in GTK 2.2.0 on RedHat 8.0, will experience font related problems for 
the Korean translation. For example, some of the text font may get clipped at 
the top, or windows may resize out of the viewable area. To circumvent the 
problem, we recommend setting a high screen resolution, for example 1280x1024, 
and setting the Dialog Font and Banner Font to a gothic font. The latter can 
be done in the Workbench > Fonts preference page. 
Comment 19 Nick Edgar CLA 2003-06-17 23:46:44 EDT
Fixed.
Comment 20 Nick Edgar CLA 2003-06-18 00:22:06 EDT
That is, this PR is closed because the problem is documented in the readme.
Comment 21 Tod Creasey CLA 2005-05-10 14:54:13 EDT
Marking as closed.