comparison libass/ass.h @ 26582:62ac4f8062ee

Remove libass dependency on global font_fontconfig variable. A new function (ass_set_fonts_nofc) is introduced instead of an extra argument to existing ass_set_fonts to keep binary compatibility with older versions of the library.
author eugeni
date Wed, 30 Apr 2008 14:16:22 +0000
parents 74055622161d
children 0f892cd714b2
comparison
equal deleted inserted replaced
26581:f04ebe286154 26582:62ac4f8062ee
90 90
91 /** 91 /**
92 * \brief set font lookup defaults 92 * \brief set font lookup defaults
93 */ 93 */
94 int ass_set_fonts(ass_renderer_t* priv, const char* default_font, const char* default_family); 94 int ass_set_fonts(ass_renderer_t* priv, const char* default_font, const char* default_family);
95
96 /**
97 * \brief set font lookup defaults, don't use fontconfig even if it is available
98 */
99 int ass_set_fonts_nofc(ass_renderer_t* priv, const char* default_font, const char* default_family);
95 100
96 /** 101 /**
97 * \brief render a frame, producing a list of ass_image_t 102 * \brief render a frame, producing a list of ass_image_t
98 * \param priv library 103 * \param priv library
99 * \param track subtitle track 104 * \param track subtitle track