[MPlayer-dev-eng] [PATCH] let mplayer build with iconv

Frederick Bruckman fredb at immanent.net
Tue May 27 04:39:58 CEST 2003


On Mon, 26 May 2003, D Richard Felker III wrote:

> On Sun, May 25, 2003 at 08:46:45AM -0500, Frederick Bruckman wrote:
> > 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
>
> WTF?!?!?! iconv is not a .ttf font converter!!! That command will
> produce nothing but a corrupt file as output!

Duh, thanks for the hint. Yes, freetype seems to work fine without
"libiconv". All I have to do is to make ~/.mplayer/subfont a symlink
to either "luximr.ttf" or "luximri.ttf" (both supplied with XFree86),
and with the latter the menu changes to italic script.

Frederick



More information about the MPlayer-dev-eng mailing list