aboutsummaryrefslogtreecommitdiffstats
path: root/main/omxplayer/default-font.patch
blob: f5cf99cf8bce49ebfc76d5fc8e0767ef0eb0a314 (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
25
26
--- 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;
--- omxplayer-6ee9a0a5488119786990b6f91990d59d6e35427c/README.md.orig
+++ omxplayer-6ee9a0a5488119786990b6f91990d59d6e35427c/README.md
@@ -80,8 +80,8 @@
         --no-osd                Do not display status information on screen
         --no-keys               Disable keyboard input (prevents hangs for certain TTYs)
         --subtitles path        External subtitles in UTF-8 srt format
-        --font path             Default: /usr/share/fonts/truetype/freefont/FreeSans.ttf
-        --italic-font path      Default: /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf
+        --font path             Default: /usr/share/fonts/TTF/FreeSans.ttf
+        --italic-font path      Default: /usr/share/fonts/TTF/FreeSansOblique.ttf
         --font-size size        Font size in 1/1000 screen height (default: 55)
         --align left/center     Subtitle alignment (default: left)
         --no-ghost-box          No semitransparent boxes behind subtitles