Going round in circles with fonts, regional settings, codepages..

  • Thread starter Thread starter Mark Gillespie
  • Start date Start date
M

Mark Gillespie

I am still trying to get my image to work correctly with regards to font
issues. I have fixed most of the problems, however, I have 1 remaning
issue, wich is being very tricky to resolve.

We use a console application using a fixed size font, it's being displayed
at the wrong size. I have tried adding allsorts of fonts, and messing
with the registy for font substitution.

if I switch regions between English (UK) and English (US) a few times, it
eventually sorts itself out. I have no idea how to fix this now.

I don't think it's missing fonts, as I have chucked loads of fonts at the
problem, with no luck. Codepages seem to make a difference sometimes (as
described above).

Any plans on how to tackle this. Can someone explain how codepages and
font substitution works, is there any way of debugging the system?
 
Hi Mark

This may be similar to a problem I had back in '04 when I first started
using XPe. We use fixed fonts in our application. It all worked well in XP
Pro but not XPe. There were some registry entries missing. I had created an
..sld to correct this.

Here is part of two posts I made in June '04:

"I have posted on this at least twice in last two weeks regarding my
application not using the system fixed font and how to correct this problem.
The application runs correctly under XP Pro but not XPe. I was finally able
to track down the problem. There are at least two registry entries missing.
I am surprised these are missing since they appear to be critical if an
application uses these stock fonts. It is not enought that they are in the
font directory.


Where I now need help is modifying the vgafix_fon component of Windows to
add the registry data. How can I modify this component? Or do I create a new
component?


I added both entries, so I am not yet sure if both are needed to correct the
problem. I added them manually to the registry to get the application to use
the correct font. The registry entries are:


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware
Profiles\Current\Software\Fonts]
"FONTS.FON"="VGASYS.FON"
"FIXEDFON.FON"="VGAFIX.FON"
"OEMFONT.FON"="VGAOEM.FON"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\GRE_Initialize]
"FONTS.FON"="VGASYS.FON"
"FIXEDFON.FON"="VGAFIX.FON"
"OEMFONT.FON"="VGAOEM.FON"

Post with sld info to correct above:

For those who may run into similar problem I have posted a component .sld on
the www.xpefiles.com website. Add this to your configuration to correct the
font problem.

It is under the "Other" category. the file is called sysfonts.sld
"

Good luck
 
Here is a link to Mark's component....

http://www.xpefiles.com/viewtopic.php?t=121

I changed around some of the categories awhile back. :-)

Brad


Mark Kraft said:
Hi Mark

This may be similar to a problem I had back in '04 when I first started
using XPe. We use fixed fonts in our application. It all worked well in XP
Pro but not XPe. There were some registry entries missing. I had created
an
.sld to correct this.

Here is part of two posts I made in June '04:

"I have posted on this at least twice in last two weeks regarding my
application not using the system fixed font and how to correct this
problem.
The application runs correctly under XP Pro but not XPe. I was finally
able
to track down the problem. There are at least two registry entries
missing.
I am surprised these are missing since they appear to be critical if an
application uses these stock fonts. It is not enought that they are in the
font directory.


Where I now need help is modifying the vgafix_fon component of Windows to
add the registry data. How can I modify this component? Or do I create a
new
component?


I added both entries, so I am not yet sure if both are needed to correct
the
problem. I added them manually to the registry to get the application to
use
the correct font. The registry entries are:


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware
Profiles\Current\Software\Fonts]
"FONTS.FON"="VGASYS.FON"
"FIXEDFON.FON"="VGAFIX.FON"
"OEMFONT.FON"="VGAOEM.FON"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\GRE_Initialize]
"FONTS.FON"="VGASYS.FON"
"FIXEDFON.FON"="VGAFIX.FON"
"OEMFONT.FON"="VGAOEM.FON"

Post with sld info to correct above:

For those who may run into similar problem I have posted a component .sld
on
the www.xpefiles.com website. Add this to your configuration to correct
the
font problem.

It is under the "Other" category. the file is called sysfonts.sld
"

Good luck



Mark Gillespie said:
I am still trying to get my image to work correctly with regards to font
issues. I have fixed most of the problems, however, I have 1 remaning
issue, wich is being very tricky to resolve.

We use a console application using a fixed size font, it's being
displayed
at the wrong size. I have tried adding allsorts of fonts, and messing
with the registy for font substitution.

if I switch regions between English (UK) and English (US) a few times, it
eventually sorts itself out. I have no idea how to fix this now.

I don't think it's missing fonts, as I have chucked loads of fonts at the
problem, with no luck. Codepages seem to make a difference sometimes (as
described above).

Any plans on how to tackle this. Can someone explain how codepages and
font substitution works, is there any way of debugging the system?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Codepage and Font 7
Problems with locales 2
Codepage in Excel 2003 2
keyboard support 2
Regional Settings 2
Dcount the values 0
Still Having Font Problems :-( 2
MDI Parent-Child Multiple Events Firing 0

Back
Top