From 03d81dc30594f63016d0283e1841e4a09a93a0bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jan 2020 17:05:34 +0100 Subject: omxplayer: try to enable for aarch64 --- omxplayer/default-font.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 omxplayer/default-font.patch (limited to 'omxplayer/default-font.patch') diff --git a/omxplayer/default-font.patch b/omxplayer/default-font.patch new file mode 100644 index 0000000..b140e90 --- /dev/null +++ b/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/FreeSans.ttf"; ++std::string m_italic_font_path = "/usr/share/fonts/TTF/FreeSansOblique.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 -- cgit v1.2.3