[MPlayer-dev-eng] [PATCH] autodetecting freetype

Wojtek Kaniewski wojtekka at bydg.pdi.net
Tue Dec 10 20:42:47 CET 2002


On Tue, 10 Dec 2002, Arpi wrote:
> try to open as RAW (it has 8-byte ID in header at offset 0) and if it
> failed, then try with freetype.

and what if it will succeds? what should mplayer do with raw file
without font.desc?

> don't rely on file extension, we are not under m$ platforms.

-font option doesn't with my patch. it doesn't rely on file extension.
it tries to open fiven file as an oldstyle font description and if it
fails, tries to open it with freetype.

anyway, i can make a patch to try out all supported extensions, if
anyone needs or wants it.

regards,
wojtek




More information about the MPlayer-dev-eng mailing list