From: Petr Broz / CPE

Subject: Re: cg:message-font does not respect *locale* setting

Date: 2001-2-25 5:25

Dmitri Ivanov wrote:

> Hello! > > In my Window Control Panel, MS Sans Serif (size 8) font is specified for > both Message Text and Menu Item elements. Regional Setting are Russian. > > In Allegro I've got: > > CG-USER(109): *locale* > #<locale "Russian_Russia" [:CRLF-1251-BASE] @ #x20c22ad2> > CG-USER(110): (message-font) > #.(MAKE-FONT-EX NIL "MS Sans Serif / ANSI" 11 NIL) > CG-USER(112): (menu-font) > #.(MAKE-FONT-EX NIL "MS Sans Serif / ANSI" 11 NIL) > > This seems not corresponding to OS locale language. The net effect is > that text in Russian is rendered incorrectly when used in the prompt > argument for the functions: > pop-up-message-dialog or ask-user-for-choice. > Although, specifying strings in Russian for button arguments works all > right. > > I'd like to change these two settings to something like > #.(make-font-ex :swiss "MS Sans Serif / Russian" 13 nil) > In what way? > --- > Sincerely, > Dmitri Ivanov > www.aha.ru/~divanov > > P.S. AFAIR other vital fonts could be set as (configuration *system*) > properties, e.g. > custom-status-bar-font or custom-tooltip-font. > > Version: ACL6.0 Trial (allegro-ansi). > System: Windows NT 4 sp6
Recently I was sending a bug-report to Franz Inc. that is in my opinion related to this problem (see attachment) as well; unfortunately still not having an answer. It seems that CG has to be somewhat more robust regarding these issues and perhaps it would require some coding-work to implement it... Bye. <pb>