osd: convert OSD font to OpenType
commit6c87a981baa4972fd71c25dfddea017b5a972e89
authorwm4 <wm4@nowhere>
Sat, 27 Apr 2013 15:56:47 +0000 (27 17:56 +0200)
committerUoti Urpala <uau@mplayer2.org>
Sun, 28 Apr 2013 10:41:12 +0000 (28 13:41 +0300)
treed8d7a0159bb953a524eea4f398394129c37137a4
parent7f5ac4dea082a67a3578998b53d6206d51156c71
osd: convert OSD font to OpenType

The old OSD font was a PostScript Type 1 font. Convert it to OpenType
to work around a bug in latest fontconfig [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
Makefile
sub/osd_font.otf [new file with mode: 0644]
sub/osd_font.pfb [deleted file]