aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--DOCS/man/en/options.rst7
-rw-r--r--TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf7
2 files changed, 9 insertions, 5 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst
index 1c07403ea7..f9a75779f7 100644
--- a/DOCS/man/en/options.rst
+++ b/DOCS/man/en/options.rst
@@ -1452,6 +1452,13 @@
options) are ignored when ASS-subtitles are rendered, unless the
``--no-ass`` option is specified.
+ .. note::
+
+ By default the OS X Application Bundle ships with a default fontconfig
+ fonts.conf that looks for fonts in the ``~/.mpv/fonts`` folder. It does
+ not include standard OS X paths to reduce the time spent to build
+ fontconfig's cache.
+
``--osd-font-size=<size>``, ``--sub-text-font-size=<size>``
Specify the OSD/sub font size. The unit is the size in scaled pixels at a
window height of 720. The actual pixel size is scaled with the window
diff --git a/TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf b/TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf
index 5a2e3d2222..c229cd13c0 100644
--- a/TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf
+++ b/TOOLS/osxbundle/mpv.app/Contents/Resources/fonts.conf
@@ -1,11 +1,8 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
- <dir>/System/Library/Fonts</dir>
- <dir>/Library/Fonts</dir>
- <dir>~/Library/Fonts</dir>
- <dir>/Network/Library/Fonts</dir>
- <cachedir>~/.fontconfig</cachedir>
+ <dir>~/.mpv/fonts</dir>
+ <cachedir>~/.mpv/.fontconfig-cache</cachedir>
<!--
Accept deprecated 'mono' alias, replacing it with 'monospace'