[vlc-devel] commit: Maemo: Freetype: use Nokia sans-serif bold font ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Oct 19 20:46:12 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Sep 1 22:18:22 2009 +0300| [fefa53d2f6d8f0b95774b325e2ef72ec22b46150] | committer: Rémi Denis-Courmont
Maemo: Freetype: use Nokia sans-serif bold font
The default VLC font does not exist here.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fefa53d2f6d8f0b95774b325e2ef72ec22b46150
---
modules/misc/freetype.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/misc/freetype.c b/modules/misc/freetype.c
index dd89eed..fb690fa 100644
--- a/modules/misc/freetype.c
+++ b/modules/misc/freetype.c
@@ -62,6 +62,9 @@
#elif defined( WIN32 )
#define DEFAULT_FONT "" /* Default font found at run-time */
#define FC_DEFAULT_FONT "Arial"
+#elif defined( HAVE_MAEMO )
+#define DEFAULT_FONT "/usr/share/fonts/nokia/nosnb.ttf"
+#define FC_DEFAULT_FONT "Nokia Sans Bold"
#else
#define DEFAULT_FONT "/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf"
#define FC_DEFAULT_FONT "Serif Bold"
More information about the vlc-devel
mailing list