[MPlayer-dev-eng] [PATCH] dynamic font generation

Arpi arpi at thot.banki.hu
Fri Aug 16 01:27:23 CEST 2002


Hi,

> > using Michael's ideas:
> > skipping color=255 (black) pixels in outline algo:
> black is 255?
hmm
actually 0 is black and 255 is white if you view the .raw file with xnview
or other app
but in mplayer the alpha value 0 means full transparency and 255 means full
opacity of the font bitmap, and for outline the 255 means the black and 0
the transparent.
yes i know it's messy... what is not? :)

> outline:  506763 us
...
> outline:   79030 us

ups, hard to believe... and the output raw files are bit equal! :)
anyway your code seems to ignore the 'base' parameter but it can be applie
dto the matrix or later to the alpha image. or just forget it, it has no much
sense.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list