fonts *.fon

Questions about Wine on Linux
Locked
Opako
Level 3
Level 3
Posts: 80
Joined: Mon Jun 08, 2020 9:23 am

fonts *.fon

Post by Opako »

In the folder

Code: Select all

/opt/wine-staging/share/wine/fonts/
I found the fonts
-coure.fon
-couree.fon
-coureg.fon
-courer.fon
-couret.fon

In windows 7 I only found "coure.fon".

1. Qustion:
What are couree.fon, coureg.fon, courer.fon, couret.fon ? Are this complete other fonts?

2. Question:
Why do we need couree.fon, coureg.fon, courer.fon, couret.fon, whereas in Windows 7 it is enough only to have coure.fon ?

3. Question:
What happens, when I delete couree.fon, coureg.fon, courer.fon, couret.fon and only keep coure.fon .

Thank you.

(Same question for
-smalle/e/g/r/t .fon and
-sserife/e/g/r/t .fon and
-sseriff/e/g/r/t .fon and
-vgasys/e/g/r/t .fon)

4. Question:
But why doesn't wine need vgafixe.fon, vgafixg.fon, vgafixr.fon and vgafixt.fon ?
Here it seems to be enough to have only vgafix.fon.
Why is it here different?

Would be very interested. Thank you.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: fonts *.fon

Post by spoon0042 »

They appear to be for different code pages. The names show up in dlls/gdi32/freetype.c at least and e/g/r/t seem to correspond to Eastern Europe / Greek / Russian (or Cyrillic) / Turkish.

No idea what differences there are. Maybe older versions of windows only installed the localized version as coure.fon? Anyway they are all generated at build time from fonts/courier.ttf etc.

I assume vgafix is some special case? freetype.c has an entry for vgafixe.fon and others, don't know from just glancing at it what that's about. freetype.c has a bunch of comments if you really want to read about things.
Locked