Huw Davies : gdi32: Add the liberation fonts to the default fallback lists.

Alexandre Julliard julliard at winehq.org
Wed Oct 12 14:31:18 CDT 2011


Module: wine
Branch: master
Commit: 3b9669017bc8425f04860f331d8a1f689c8d63e0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3b9669017bc8425f04860f331d8a1f689c8d63e0

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Oct 12 11:55:13 2011 +0100

gdi32: Add the liberation fonts to the default fallback lists.

---

 dlls/gdi32/freetype.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 6bd49ed..086fdab 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -420,11 +420,15 @@ static const WCHAR bitstream_vera_sans[] = {'B','i','t','s','t','r','e','a','m',
 static const WCHAR bitstream_vera_sans_mono[] = {'B','i','t','s','t','r','e','a','m',' ','V','e','r','a',' ','S','a','n','s',' ','M','o','n','o',0};
 static const WCHAR bitstream_vera_serif[] = {'B','i','t','s','t','r','e','a','m',' ','V','e','r','a',' ','S','e','r','i','f',0};
 static const WCHAR courier_new[] = {'C','o','u','r','i','e','r',' ','N','e','w',0};
+static const WCHAR liberation_mono[] = {'L','i','b','e','r','a','t','i','o','n',' ','M','o','n','o',0};
+static const WCHAR liberation_sans[] = {'L','i','b','e','r','a','t','i','o','n',' ','S','a','n','s',0};
+static const WCHAR liberation_serif[] = {'L','i','b','e','r','a','t','i','o','n',' ','S','e','r','i','f',0};
 static const WCHAR times_new_roman[] = {'T','i','m','e','s',' ','N','e','w',' ','R','o','m','a','n',0};
 
 static const WCHAR *default_serif_list[] =
 {
     times_new_roman,
+    liberation_serif,
     bitstream_vera_serif,
     NULL
 };
@@ -432,6 +436,7 @@ static const WCHAR *default_serif_list[] =
 static const WCHAR *default_fixed_list[] =
 {
     courier_new,
+    liberation_mono,
     bitstream_vera_sans_mono,
     NULL
 };
@@ -439,6 +444,7 @@ static const WCHAR *default_fixed_list[] =
 static const WCHAR *default_sans_list[] =
 {
     arial,
+    liberation_sans,
     bitstream_vera_sans,
     NULL
 };




More information about the wine-cvs mailing list