diff options
author | wm4 <wm4@nowhere> | 2015-02-26 20:49:18 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-26 21:18:49 +0100 |
commit | 51a93b5571acf51d3c7fe841d3e1e34720524c23 (patch) | |
tree | c53e64261140c251f3b0077b278f66605d99b819 /libass/ass_render.h | |
parent | 230f855fd3a80a6acfefe753b778b422191be26f (diff) | |
download | libass-51a93b5571acf51d3c7fe841d3e1e34720524c23.tar.bz2 libass-51a93b5571acf51d3c7fe841d3e1e34720524c23.tar.xz |
Allow more fine grained control over style overrides
Add tons of ASS_OVERRIDE_ flags, which control whether certain ASS_Style
fields are copied when doing selective style overrides with
ass_set_selective_style_override_enabled().
This comes with some cleanup. It should be fully backwards-compatible.
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r-- | libass/ass_render.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h index b0892ce..d7416e1 100644 --- a/libass/ass_render.h +++ b/libass/ass_render.h @@ -85,7 +85,7 @@ typedef struct { double par; // user defined pixel aspect ratio (0 = unset) ASS_Hinting hinting; ASS_ShapingLevel shaper; - int selective_style_overrides; + int selective_style_overrides; // ASS_OVERRIDE_* flags char *default_font; char *default_family; @@ -273,6 +273,8 @@ typedef struct { // combination of ASS_OVERRIDE_BIT_* flags that apply right now unsigned overrides; + // whether to apply font_scale + int apply_font_scale; // used to store RenderContext.style when doing selective style overrides ASS_Style override_style_temp_storage; |