diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2018-10-12 00:22:53 -0500 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2019-09-26 16:48:42 +0300 |
commit | 6d98071cf6c5dbd48660ff8799b1000837600b0e (patch) | |
tree | 4e33fdc5eab5915a3ad99ac1523664fa78f97ed0 /libass/ass_font.h | |
parent | e52fd88b3b52e3da2dba167f3fbadb8342c6da56 (diff) | |
download | libass-6d98071cf6c5dbd48660ff8799b1000837600b0e.tar.bz2 libass-6d98071cf6c5dbd48660ff8799b1000837600b0e.tar.xz |
font: add function to get the actual weight of a font face
Diffstat (limited to 'libass/ass_font.h')
-rw-r--r-- | libass/ass_font.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass_font.h b/libass/ass_font.h index 9bf418d..05b776b 100644 --- a/libass/ass_font.h +++ b/libass/ass_font.h @@ -61,6 +61,7 @@ void charmap_magic(ASS_Library *library, FT_Face face); ASS_Font *ass_font_new(ASS_Renderer *render_priv, ASS_FontDesc *desc); void ass_face_set_size(FT_Face face, double size); void ass_font_set_size(ASS_Font *font, double size); +int ass_face_get_weight(FT_Face face); void ass_font_get_asc_desc(ASS_Font *font, int face_index, int *asc, int *desc); int ass_font_get_index(ASS_FontSelector *fontsel, ASS_Font *font, |