[vlc-commits] freetype: changed the default font for OS X to 'Arial Unicode' (close #6087 )

Felix Paul Kühne git at videolan.org
Tue Feb 28 00:30:15 CET 2012


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Feb 27 21:10:37 2012 +0100| [932a9415eae7f5533600784696a9a4a88770486e] | committer: Jean-Baptiste Kempf

freetype: changed the default font for OS X to 'Arial Unicode' (close #6087)

This appears to be the only sane font installed by default which supports at least Latin, Arabic, Traditional Chinese, Simplified Chinese, Japanese, Korean, Cyrillic, Vietnamese, Hebrew, Devanagari, Gujarati, Urdu, Tamil, Thai and Telugu
(cherry picked from commit ee647c11403dbf64805f4e88e093114be59dea2a)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=932a9415eae7f5533600784696a9a4a88770486e
---

 modules/text_renderer/freetype.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c
index 364149b..a61e18c 100644
--- a/modules/text_renderer/freetype.c
+++ b/modules/text_renderer/freetype.c
@@ -46,8 +46,8 @@
 
 /* Default fonts */
 #ifdef __APPLE__
-# define DEFAULT_FONT_FILE "/Library/Fonts/Arial Black.ttf"
-# define DEFAULT_FAMILY "Arial Black"
+# define DEFAULT_FONT_FILE "/Library/Fonts/Arial Unicode.ttf"
+# define DEFAULT_FAMILY "Arial Unicode MS"
 #elif defined( WIN32 )
 # define DEFAULT_FONT_FILE "arial.ttf" /* Default path font found at run-time */
 # define DEFAULT_FAMILY "Arial"



More information about the vlc-commits mailing list