On 12 Nov 2008, at 22:11, Greg Ercolano wrote: > I wasn't able to test this on my XP box because I didn't have the > Chinese > fonts installed. > > Just got around to adding them: > > 1. Control Panel->Regional And Language Options > 2. Clicked the "Advanced" tab, and under "Code Page Conversion > Tables", checkbox'ed the "10002 MAC - Traditional Chinese Big 5" font > 3. Went into the "Languages" tab, and checkbox'ed "Install > files for > East Asian Languages" > 4. (Used the Windows XP CD where needed) > 5. Reboot > > Now when I run the app, it runs fine on XP in all respects: > > * Title bar looks like it should. > > * No matter what I do with the menus (tried about 15 times), > I could not replicate the giant "List" menu. > Tried opening the first "Submenu" in different ways > (dragging, click-releasing), and optionally navigating > its submenus, then sliding into the "List" menu.. > always the List menu displayed correctly and correctly sized. > > I'm using the same executables I used for the Vista test.
That's great - I had no idea Windows could even do that! This is excellent. > One thing I noticed in Ian's zip version of the program was leading > spaces > in some of the font names. Removing the leading space, but that > didn't seem > to change the behavior in any way I could see. Yup - that's a fltk-ism. It is used to denote a font that is neither bold nor italic... The fltk font-name parsing tests the first char of the name and decodes it like: BXXX - bold font named XXX IXXX - italic font named XXX PXXX - bold italic font named XXX If the font name begins with any lower-case letter, or any Cap other than B, I, P, or it begins with a space, it is just treated "as is". I have no idea if/where this is documented. It was the "existing system" when I was doing the XFT and UTF-8 stuff, so I just left it in, but it is a slightly odd convention... > > In fact, I found I could comment out *all* the Fl::set_font() > stuff, and > it still worked fine. Something I noticed about 1.3.x (and like!) > is that > no set_font() stuff was needed to get the Asian fonts to display. This should make WinXX much easier to support... > And when adding the font in the control panel, I /only/ checkbox'ed > the > "10002 MAC - Traditional Chinese Big5" font; I ignored the other fonts > that said things like "Simplified Chinese". Oh - they will not like you in Beijing then! -- Ian _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
