Commit 5b143370 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Freetype: code cosmetics

parent 1e11d864
......@@ -75,9 +75,9 @@ typedef uint32_t uni_char_t;
typedef struct vlc_family_t vlc_family_t;
struct filter_sys_t
{
FT_Library p_library; /* handle to library */
FT_Face p_face; /* handle to face object */
FT_Stroker p_stroker; /* handle to path stroker object */
FT_Library p_library; /* handle to library */
FT_Face p_face; /* handle to face object */
FT_Stroker p_stroker; /* handle to path stroker object */
text_style_t *p_default_style;
text_style_t *p_forced_style; /* Renderer overridings */
......@@ -112,6 +112,8 @@ struct filter_sys_t
vlc_dictionary_t face_map;
int i_fallback_counter;
/* Current scaling of the text, default is 100 (%) */
int i_scale;
/**
......
......@@ -97,16 +97,16 @@
typedef struct vlc_font_t vlc_font_t;
struct vlc_font_t
{
vlc_font_t *p_next; /**< next font in the chain */
vlc_font_t *p_next; /**< next font in the chain */
/**
* path to the font file on disk, or ":/x" for font attachments, where x
* is the attachment index within \ref filter_sys_t::pp_font_attachments
*/
char *psz_fontfile;
int i_index; /**< index of the font in the font file, starts at 0 */
bool b_bold; /**< if the font is a bold version */
bool b_italic; /**< if the font is an italic version */
FT_Face p_face; /**< the freetype structure for the font */
int i_index; /**< index of the font in the font file, starts at 0 */
bool b_bold; /**< if the font is a bold version */
bool b_italic; /**< if the font is an italic version */
FT_Face p_face; /**< the freetype structure for the font */
};
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment