[MPlayer-dev-eng] [PATCH] Windows1250 to ISO8859-2 subtitles

Alex Beregszaszi alex at naxine.org
Wed Mar 27 11:59:22 CET 2002


Hi,

> > > yes, but there are still no unicode fonts available...
> > subfont-c can generate them with --unicode option.
> yes, but, who has any .ttf file having chars for _all_ (at least european)
> languages? and what about various chinese/korean/russian sets?
> 
> or we should make a font manager, importing many localized version of the
> same font (for example arial.ttf from various localized windows versions)
> and making an uniqe set of them?
> 
> > I have got a few ideas for i18n in MPlayer:
> > - is any point in creating alternate conversion mechanism besides 
> > iconv() (like placing conversion tables in font.desc) for platforms 
> > without iconv?
> > - what about using locales for conversion (mbrtowc())?
could you explain these two points above?

> > - what about placing multiple charsets in a single *.raw file 
> > (multi-language fonts)?
> > - what about creating and using only Unicode fonts with MPlayer?
> 
> i still say: allow users to pass their own .ttf and mplayer should runtime
> build the font from that. maybe save most common sets in something called
> font cache, max size limited in config file :)
> it only means depedency on libft2, but it can be acceptable imho, especially
> as XF 4.x includes it by default (dunno if built-in static or lib*.so form?).
This could be optional. Optional runtime font generation, depending if FreeType
lib support was compiled in.

-
alex



More information about the MPlayer-dev-eng mailing list