Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change form caption font?
Message
From
28/12/1997 10:26:33
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
27/12/1997 15:21:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00067445
Message ID:
00068140
Views:
80
I you add a arial cyrillic font script from
control panel/windows setup/.../multilanguage
settings/russian, can you set the title bar to use this font?
font selection for all title bars list Arial, Arial Black, Courier, ....
How to specify the arial cyrillic font?
 
I have a boot menu configured in my config.sys, and in the corresponding section of autoexec.bat I run

Regedit cp1250.reg
    or
Regeditt cp1251.reg
...depending on my desire to have latin or cyrillic fonts in VFP (and Outlook, and some other apps). The .reg files go like this:

REGEDIT4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\Nls\Codepage]
"1250"="cp_1250.nls"
"1251"="cp_1251.nls"
"1252"="cp_1252.nls"
"1253"=""
"1254"=""
"1255"=""
"1256"=""
"1257"=""
"1361"=""
"437"="cp_437.nls"
"737"=""
"775"=""
"850"="cp_850.nls"
"852"="cp_852.nls"
"857"=""
"855"=""
"862"=""
"864"=""
"866"=""
"869"=""
"874"=""
"932"=""
"936"=""
"949"=""
"950"=""
"20866"="cp_20866.nls"
"28592"="cp_28592.nls"
"28593"="cp_28593.nls"
"28594"="cp_28594.nls"
"28597"="cp_28597.nls"
"ACP"="1250"
"OEMCP"="850"

The thing which may crash your machine is if in the last two lines you mention something that you don't have a .nls file for (I did that while I was insisting on codepage 852 as OEMCP - all the icons were stacked in one corner, W95 never booted completely, but crashed very oddly).

As for VFP, its behavior with scripts is rather fuzzy - you can have scripts for any window which gets its preferences stored into foxuser.dbf, namely all the editing windows and memos, and there's no way to have anything than ACP character set in your forms, menus, reports and other irrelevant objects ;)

And there's another limitation: most of the fonts supplied with W95, and also all of the older fonts, are not Unicode fonts, and therefore contain only one codepage, i.e. the codepage they were designed for. With W95 the good fonts, containing more than one codepage, are Times New Roman, Arial and Courier. With Office 97 you also get Garamond, Tahoma and Verdana, and maybe Bookman Old Style, but sometimes it installs single-codepage Verdana - can't remember which app does it. Unicode fonts are usually twice as big (in bytes), 120-160K. If you have found the PowerToys (little utilities supplied unofficially by the M$ W95 team), there's also the property.exe, which adds extra pages to the font property window, showing codepages as well.

Of course, an easier solution for deciding which font allows for multiple codepages is Insert/Symbol (from Office), it lets you scroll thru all the codepages in the font; it would be better if FontView.exe would show all instead of "Old Brown Fox..." (and it could say "Good old visual fox..." instead :). .Signature { margin-top: 12px; color: #666666; } .Signature a { color: #666666; }


back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform