aboutsummaryrefslogtreecommitdiffstats
path: root/testing/omxplayer/default-font.patch
blob: 2141bd448fec01a5bf24bc35d1e128c9746bad41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- omxplayer-7af21f596378e5efeceebedff9c4a298e2d06d98.orig/omxplayer.cpp
+++ omxplayer-7af21f596378e5efeceebedff9c4a298e2d06d98/omxplayer.cpp
@@ -88,8 +88,8 @@
 bool              m_osd                 = true;
 std::string       m_external_subtitles_path;
 bool              m_has_external_subtitles = false;
-std::string       m_font_path           = "/usr/share/fonts/truetype/freefont/FreeSans.ttf";
-std::string       m_italic_font_path    = "/usr/share/fonts/truetype/freefont/FreeSansOblique.ttf";
+std::string       m_font_path           = "/usr/share/fonts/TTF/DejaVuSans.ttf";
+std::string       m_italic_font_path    = "/usr/share/fonts/TTF/DejaVuSans-Oblique.ttf";
 std::string       m_dbus_name           = "org.mpris.MediaPlayer2.omxplayer";
 bool              m_asked_for_font      = false;
 bool              m_asked_for_italic_font = false;
@@ -170,8 +170,8 @@
   printf("              --no-osd                  do not display status information on screen\n");
   printf("              --subtitles path          external subtitles in UTF-8 srt format\n");
   printf("              --font path               subtitle font\n");
-  printf("                                        (default: /usr/share/fonts/truetype/freefont/FreeSans.ttf)\n");
-  printf("              --italic-font path        (default: /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf)\n");
+  printf("                                        (default: /usr/share/fonts/TTF/DejaVuSans.ttf)\n");
+  printf("              --italic-font path        (default: /usr/share/fonts/TTF/DejaVuSans-Oblique.ttf)\n");
   printf("              --font-size size          font size as thousandths of screen height\n");
   printf("                                        (default: 55)\n");
   printf("              --align left/center       subtitle alignment (default: left)\n");