aboutsummaryrefslogtreecommitdiffstats
path: root/main/omxplayer/default-font.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-11-21 09:43:44 +0000
committerTimo Teräs <timo.teras@iki.fi>2014-11-21 09:44:13 +0000
commit6242564feffb32797bff21ecc81df5ade1cf57e7 (patch)
treea4fd54d1dd2572cd708310e635fb9742b18fe95c /main/omxplayer/default-font.patch
parent34c7cd2046c880a8fefddf8077c970975bda9aa3 (diff)
downloadaports-6242564feffb32797bff21ecc81df5ade1cf57e7.tar.bz2
aports-6242564feffb32797bff21ecc81df5ade1cf57e7.tar.xz
main/omxplayer: move from testing, refresh snapshot
Diffstat (limited to 'main/omxplayer/default-font.patch')
-rw-r--r--main/omxplayer/default-font.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/omxplayer/default-font.patch b/main/omxplayer/default-font.patch
new file mode 100644
index 0000000000..f5cf99cf8b
--- /dev/null
+++ b/main/omxplayer/default-font.patch
@@ -0,0 +1,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