diff options
author | Grigori Goronzy <greg@blackbox> | 2011-08-01 15:51:27 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2011-08-01 15:51:27 +0200 |
commit | c979365946b2dc2499ede862b6f7da15f9bc0ed1 (patch) | |
tree | 688d0ecc6d17dbdd2df22719a2702ecba29a8b69 /libass/ass_types.h | |
parent | d7544850775344879dd3049046c5b7ce2d52d3b3 (diff) | |
download | libass-c979365946b2dc2499ede862b6f7da15f9bc0ed1.tar.bz2 libass-c979365946b2dc2499ede862b6f7da15f9bc0ed1.tar.xz |
Support language hint in the Script Info section
Parse a hint in the form "Language: xx" with xx being an ISO 639-1
language code, and pass it to HarfBuzz. This can be useful to render
scripts with language-specific character variants.
Diffstat (limited to 'libass/ass_types.h')
-rw-r--r-- | libass/ass_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass_types.h b/libass/ass_types.h index 6a6f1ae..20fd825 100644 --- a/libass/ass_types.h +++ b/libass/ass_types.h @@ -112,6 +112,7 @@ typedef struct ass_track { int WrapStyle; int ScaledBorderAndShadow; int Kerning; + char *Language; int default_style; // index of default style char *name; // file name in case of external subs, 0 for streams |