view sub_cc.h @ 24827:4ec67a66ef54

Check return value of add_face. This fixes segfault when reselecting fonts and the new font could not be loaded (because of a bad font file, or too many font faces already loaded). Patch by Glen Nakamura, glen at imodulo dot com.
author eugeni
date Thu, 25 Oct 2007 21:19:20 +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*/