Tahoma font substitute

Mike Hearn mike at theoretic.com
Sat Jan 10 13:05:27 CST 2004


Some apps (*cough*Steam*cough*) request Tahoma specifically and if not
found they simply won't render text.

I've submitted patches like this before, and they were dropped, presumably
because of the hard-coded reference to Bitstream Vera. Unfortunately, very
few fonts are metrically compatible with Tahoma (in fact I don't think
even Vera is, but it's close enough for most apps). I'm really not sure
what we should put here, but I know this patch fixes Steam.

Huw - is there a cleaner way to do this? I'd note that since fontconfig
landed font selection seems a bit messed up anyway, it always chooses the
first font in the list of available fonts.

Index: winedefault.reg
===================================================================
RCS file: /home/wine/wine/winedefault.reg,v
retrieving revision 1.83
diff -u -r1.83 winedefault.reg
--- winedefault.reg     8 Dec 2003 22:19:12 -0000       1.83
+++ winedefault.reg     10 Jan 2004 18:58:59 -0000
@@ -2841,6 +2841,7 @@
 "Times New Roman Greek,161"="Times New Roman,161"
 "Times New Roman TUR,162"="Times New Roman,162"
 "Tms Rmn"="Times New Roman"
+"Tahoma"="Bitstream Vera Sans"
  
 [HKEY_CLASSES_ROOT\AVIFile\Compressors\auds]
 @="{0002000F-0000-0000-C000-000000000046}"





More information about the wine-patches mailing list