[MPlayer-dev-eng] [PATCH] let mplayer build with iconv
fredb at immanent.net
Sun May 25 15:46:45 CEST 2003
On Sun, 25 May 2003, Arpi wrote:
> > }.
> > +#else.
> > + charset_size = 0;.
> > + mp_msg(MSGT_OSD, MSGL_ERR, "subtitle font: font isn't unicode.\n");.
> > +#endif.
> > }.
> do you think (know) it's usable?
> afair there was similar patch a half year ago, when freetype support was added
> but it didn't work.
Hmm. Maybe not. I tried
iconv -f ISO-8859-1 -t UTF-8 /usr/X11R6/lib/X11/fonts/TTF/luximr.ttf >~/.mplayer/subfont.ttf
after moving ~/fonts and $PREFIX/share/mplayer/fonts out of the way,
and it gives:
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Also with UTF-7 and UCS-4, and the OSD menu now doesn't come up. Is
there another way to produce a unicode font?
More information about the MPlayer-dev-eng