Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Font usage Foxpro 2.6
Message
From
26/05/1998 16:14:59
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00101504
Message ID:
00102093
Views:
24
>I checked this in Visual Foxpro and here the same problem occures.
>This means that I have not been able to use these fonts because the script-option can not be used.
>
>Can anyone give me a solution on how the access these fonts?

Fox (any Windows Fox) uses the script which is proper for the Ansi codepage installed on the machine. You may play with your registry a little; take a look at mine:
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"="852"

It's the ACP entry that actually does the trick, but you surely need all the .nls files mentioned, and, besides, your machine may hang if wrong screen fonts are installed - if you just edit your registry and don't have the .nls and .fo? files as they should be, you won't be able to boot. Just to make sure, export this
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\Nls\Codepage] key to something like C:\oldreg.reg, and if your machine hangs, boot into DOS7 and issue

Regedit oldreg.reg

else you may find yourself reinstalling Windows.
This also means you can't have other codepages extracted from your multipage fonts (i.e. the Arial, Times and Courier, or, from Office97, Garamond, Letter Gothic and Tahoma - recognized by their size being over 150K each) - just the one your Windows are installed for. In your forms, it means only one codepage.

Another approach is to have single-page fonts, for each codepage separately, and use them in appropriate places.

HTH

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