view libass/ass_fontconfig.h @ 19063:5525af2ee4c7

Use FcPatternAdd-Type instead of FcNameParse. The latter, as it turns out, requires escaping of some characters ('-', maybe more).
author eugeni
date Thu, 13 Jul 2006 18:49:06 +0000
parents 9e95ac641e77
children fa122b7c71c6
line wrap: on
line source

#ifndef __ASS_FONTCONFIG_H__
#define __ASS_FONTCONFIG_H__

typedef struct fc_instance_s fc_instance_t;

fc_instance_t* fontconfig_init(const char* dir, const char* family, const char* path);
char* fontconfig_select(fc_instance_t* priv, const char* family, unsigned bold, unsigned italic, int* index);
void fontconfig_done(fc_instance_t* priv);

#endif