From: Dmitri Ivanov

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

Date: 2001-2-23 14:03

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