Fixedsys font (SOLVED)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
dreamstogo
Level 2
Level 2
Posts: 10
Joined: Tue May 13, 2008 8:07 am

Fixedsys font (SOLVED)

Post by dreamstogo »

Dear All,

I have a windows application running under wine on my Linux machine (Ubuntu 8.04, with wine 0.9.61).

When the application starts it complains about a font called Fixedsys not being available.

I can click thro the message and the application starts no problem and appears to be working correctly, so this issue isn't a show stopper, just an annoyance and is the last thing before this very old windows application runs smoothly under wine and Linux.

I can find no Fixedsys.fon file on the web and nothing except that Fixedsys is (was?) a windows system font. A friend has found an entry for it in his XP registry,

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontMapper]
"FIXEDSYS"=dword:00009000

Searching in the wine registry for "fixedsys" brings up nothing.

Can anyone shed any light on this?

Thank you for your help

Hilary
Last edited by dreamstogo on Wed May 14, 2008 11:13 am, edited 1 time in total.
Ove Kaaven

Fixedsys font

Post by Ove Kaaven »

dreamstogo skrev:
I can find no Fixedsys.fon file on the web and nothing except that Fixedsys is (was?) a windows system font. A friend has found an entry for it in his XP registry,
It's actually a virtual font name. On Windows, it's provided by
vgafix.fon for standard resolution and 8514fix.fon for high resolution.
dreamstogo
Level 2
Level 2
Posts: 10
Joined: Tue May 13, 2008 8:07 am

Post by dreamstogo »

Thank you Ove,

I have copied these fonts to the windows/Fonts directory and restarted the application, same problem. Do I have to do anything else?

Hilary
Ove Kaaven

Fixedsys font

Post by Ove Kaaven »

dreamstogo skrev:
Thank you Ove,

I have copied these fonts to the windows/Fonts directory and restarted the application, same problem. Do I have to do anything else?
Make sure you copied all the variants. If your language isn't English,
you'd need a different file. For example, vgafixg.fon for Greek.

If it's not working, I suppose you could create a log with
WINEDEBUG=+font for someone to look at.
dreamstogo
Level 2
Level 2
Posts: 10
Joined: Tue May 13, 2008 8:07 am

Post by dreamstogo »

Thank you again Ove,

I am using an English language setup. I was doing a debug on the program when your message arrived. Here is an excerpt from the windebug=+fonts dump,

trace:font:AddFontToList Loading font file "/home/hilary/.wine/dosdevices/c:/windows/Fonts/vgafix.fon" index 0
warn:font:AddFontToList Unable to load font "/home/hilary/.wine/dosdevices/c:/windows/Fonts/vgafix.fon"/(nil) err = 2
trace:font:AddFontToList Loading font file "/usr/bin/../lib/../share/wine/fonts/vgafix.fon" index 0
warn:font:AddFontToList Unable to load font "/usr/bin/../lib/../share/wine/fonts/vgafix.fon"/(nil) err = 1

The file vgafix.fon is in windows/Fonts, as reported earlier.

I'm wondering whether the file I have is correct; it is 2.7KB dated 1994/12/08.

Now, I do have a windows2000 box, so I turned it on to see if I could compare the vgafix.fon on the Ubuntu box with the windows version. I can find no vgafix.fon anywhere on the windows box. The string is found if I do a registry search on the windows box.

Are these fonts available for download anywhere? I have used winetricks to install the corefonts but it doesn't install vgafix.fon.
dreamstogo
Level 2
Level 2
Posts: 10
Joined: Tue May 13, 2008 8:07 am

Post by dreamstogo »

OK, I solved my problem.

As I started to suspected in my last post above, I had a wrong file in vgafix.fon.

I downloaded freewin.zip which contains the system fonts and loaded them to the windows/Fonts folder.

My application now runs perfectly with no error messages under wine.

Thank you for your help and support
Ove Kaaven

Fixedsys font

Post by Ove Kaaven »

dreamstogo skrev:
Thank you again Ove,

I am using an English language setup. I was doing a debug on the program when your message arrived. Here is an excerpt from the windebug=+fonts dump,

trace:font:AddFontToList Loading font file "/home/hilary/.wine/dosdevices/c:/windows/Fonts/vgafix.fon" index 0
warn:font:AddFontToList Unable to load font "/home/hilary/.wine/dosdevices/c:/windows/Fonts/vgafix.fon"/(nil) err = 2
Your FreeType (the libfreetype6 package) might be too old. It seems
you'll need version 2.3.5 in order to load FON files.
Are these fonts available for download anywhere? I have used winetricks to install the corefonts but it doesn't install vgafix.fon.
Of course not. The corefonts are all TTF files.

If you prefer, there are tools to convert FON files to X fonts if you
want to (wine even comes with a fnt2bdf). But since X fonts can be a bit
messy to handle, you shouldn't be afraid to fiddle a little if you
decide to try that...
Locked