Mercurial > mplayer.hg
view sub_cc.h @ 21619:b4b51eb2904f
Keep reselected fonts in an array, adding new ones to the end. Glyph
lookup prefers earlier opened fonts.
This way glyph lookup is stable, which means that:
- cache cleanup is never required after font reselecting;
- a single unrecognized char won't change the appearance of all the others.
author | eugeni |
---|---|
date | Sat, 16 Dec 2006 19:34:00 +0000 |
parents | f580a7755ac5 |
children | 3baf6a2283da |
line wrap: on
line source
#ifndef SUB_CC_H #define SUB_CC_H extern int subcc_enabled; void subcc_init(void); void subcc_process_data(unsigned char *inputdata,unsigned int len); #endif /*SUB_CC_H*/