diff options
author | CrystalP <CrystalP@xbmc.org> | 2011-10-30 00:46:06 -0400 |
---|---|---|
committer | CrystalP <CrystalP@xbmc.org> | 2011-10-30 11:54:58 -0400 |
commit | 967069150774b1aa5142cc64d68502adf960d944 (patch) | |
tree | 03929fa248909a3cbf385eed85f3c52149d83cf5 /system | |
parent | eadf98611eaefb1efd44f036f5d7f2611230ac89 (diff) |
Rearrange the fonts made available to fontconfig. Fixes ticket 12023 sample 2.
- Do not use the system fonts. It takes a long time to index them and mkv files
usually come with the needed fonts. Can be brought back later if needed.
- Specify Arial as the default family
- Add a path that always contains an Arial font so that the libass fallback
actually works.
The sample 2 used the Arial font but did not pack one.
Diffstat (limited to 'system')
-rw-r--r-- | system/players/dvdplayer/etc/fonts/fonts.conf | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/system/players/dvdplayer/etc/fonts/fonts.conf b/system/players/dvdplayer/etc/fonts/fonts.conf index df31883246..542327e05b 100644 --- a/system/players/dvdplayer/etc/fonts/fonts.conf +++ b/system/players/dvdplayer/etc/fonts/fonts.conf @@ -23,8 +23,13 @@ <!-- Font directory list --> - <dir>WINDOWSFONTDIR</dir> - +<!-- + Uncomment this directory if we need libass and fontconfig to access all system fonts. + The drawback is the long initial indexing time by fontconfig, and mkv files usually + include their fonts. + <dir>WINDOWSFONTDIR</dir> +--> + <dir>../../media/Fonts</dir> <dir>~/.fonts</dir> <!-- Font cache directory list --> |