1
mirror of https://github.com/mpv-player/mpv synced 2024-07-11 23:47:56 +02:00

Revert "osxbundle: fonts.conf: only look for fonts in ~/.mpv/fonts"

Commit broke text subtitles without embedded fonts. Will look for a better
solution later. Revert it for now, since I'm starting to get bug reports.

This reverts commit 4a9f618d9f.
This commit is contained in:
Stefano Pigozzi 2013-09-19 21:39:16 +02:00
parent 2115c4a3ad
commit 00d8e85373
2 changed files with 5 additions and 9 deletions

View File

@ -1452,13 +1452,6 @@
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

View File

@ -1,8 +1,11 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>~/.mpv/fonts</dir>
<cachedir>~/.mpv/.fontconfig-cache</cachedir>
<dir>/System/Library/Fonts</dir>
<dir>/Library/Fonts</dir>
<dir>~/Library/Fonts</dir>
<dir>/Network/Library/Fonts</dir>
<cachedir>~/.fontconfig</cachedir>
<!--
Accept deprecated 'mono' alias, replacing it with 'monospace'