summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-04-27 17:56:47 +0200
committerwm4 <wm4@nowhere>2013-04-27 18:03:19 +0200
commit4982083b2bf21d89e6d842c1dec07b030da57572 (patch)
tree5cf67b6dc0a554b23022494defcd978dfd9b15ee /Makefile
parentdaee1a04e7eea66f820934368371c6e2b8c759ba (diff)
downloadmpv-4982083b2bf21d89e6d842c1dec07b030da57572.tar.bz2
mpv-4982083b2bf21d89e6d842c1dec07b030da57572.tar.xz
osd: convert OSD font to OpenType
The old OSD font was a PostScript Type 1 font. Convert it to OpenType to work around a fontconfig bug [1]. OpenType is a more modern format, and the font file is quite a bit smaller, so this is actually a nice change. The conversion was done by opening the font with fontforge and saving it as OpenType (CFF). fontforge showed a warning when doing this: The font contains errors. Self Intersecting Bad Private Dictionary These seem to be harmless. [1] https://bugs.freedesktop.org/show_bug.cgi?id=63922
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 421f243d61..9e565c829d 100644
--- a/Makefile
+++ b/Makefile
@@ -377,7 +377,7 @@ video/out/gl_video_shaders.h: TOOLS/file2string.pl video/out/gl_video_shaders.gl
./$^ >$@
sub/osd_libass.c: sub/osd_font.h
-sub/osd_font.h: TOOLS/file2string.pl sub/osd_font.pfb
+sub/osd_font.h: TOOLS/file2string.pl sub/osd_font.otf
./$^ >$@
# ./configure must be rerun if it changed