> Same here on WinXP. I used the font "Adobe Ming Std L", 
> because I don't have "Arial Unicode MS".

The "Arial Unicode MS" is quite handy, if you can find a copy (there are
a few things kicking around the web with that name, but they seem not
all to be the "real thing". The real version is about 22.5 MB in size,
and is very nearly a complete pan-Unicode font.

However, to keep the size down (to only 22.5MB!), they missed out a lot
of the kerning and font hinting information, so the actual rendered
quality is not so very good...

> There are some missing glyphs, however. 
> Particularly the last of the 4th menu entry, this might 
> explain, why my 
> menu appears to be empty. The empty menu box seems to have 
> the correct 
> height, but extends to the left until the display border, no matter 
> where the program window is positioned.
> 
> In my XP version, the window title doesn't look correct.

This is because WinXP uses whatever font you have set for your desktop
as your "Active Window" font (usually Arial or Tahoma I think) and the
localised fonts on western boxes do not have the Chinese glyphs... I
don't think we can fix that from within fltk, you need to use a
different desktop font setting. Mine is set to "Arial Unicode MS" which
works but looks a little bit ugly.

The Segoe-UI font that Vista uses is better in this regard, it has
access to Chinese glyphs even on European PC's, so there the title bar
just works... And is hinted and anti-aliased.

> It looks like a non-initialized variable, maybe when 
> measuring the menu 
> width. I don't know, if this has anything to do with it, but 
> fl_measure() has reference arguments w and h. The input values (or at 
> least w) limit the width of the returned values (with 
> wrapping). Maybe 
> it has something to do with the previous value of such a string 
> measurement variable...

Sounds reasonable. I wish I new where it was going awry, though!
-- 
Ian



SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to