Hussein Shafie wrote:

> I personally work on a Windows XP 1600x1050 laptop, therefore I know how 
> painful is using tiny fonts. Here's what I did:
> 
> * I changed the windows setup to use large fonts because without this 
> the menu, buttons, etc, fonts were much to small for any application, 
> not only XXE.
> 
> * I used Options|Options, Style Tab and changed to default font size 
> from 12pt to 14pt.
> 
> * I used Options|Options, Style Tab and changed the Monospaced font from 
> Monospaced (it seems to be an alias for "Courier New" on Windows) to 
> "Lucida Console".
> 
> After this, I got a usable XXE.

Thank you very much for your quick and helpful anwsers. I've already 
made a similar customization, except for the 'large fonts' setting (I 
got a physically larger display, instead).

> 
> The fact that 12pt is rendered like 9pt fonts in native Windows 
> applications is something controlled by the Java runtime , not by us. 
> Therefore it is not easy to improve this situation.

A Google search confirm this. I seems that there is a font scaling bug 
in Sun's Java runtime for Windows, and that Sun apparently refuses to 
correct it. As I suspected, the Windows screen resolution is always 
assumed to be 72 dpi.

However, my search also find pointers to sites with solutions (or 
workarounds) to this problem. I think these are the most promising ones, 
in case you decide to address this question in some future version of XXE:

http://www.3rd-evolution.de/tkrammer/docs/java_font_size.html
http://forum.java.sun.com/thread.jsp?thread=424811&forum=57&message=1955818
https://looks.dev.java.net/

Thanks again for your support.
-- 
------------------------------------------------------------------------
Manuel Collado Machuca                    | Facultad de Informatica UPM
Universidad Politecnica de Madrid         | Campus de Montegancedo
Dep. LSIIS                                | Boadilla del Monte
Tel.+34-91-336.74.57 Fax.+34-91-336.74.12 | 28660  MADRID  -  SPAIN
------------------------------------------------------------------------



Reply via email to