diff options
author | Grigori Goronzy <greg@blackbox> | 2011-08-08 00:22:32 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2011-08-08 00:22:32 +0200 |
commit | 0d391f67d3d1c87cd8e8cff907bd7c6b3b1f9cd8 (patch) | |
tree | 8a7b2c0d04cb490c94c9b45be9cafeaa5fc19788 /libass/ass_render.h | |
parent | 37fe952c045963c8c86bc630b6a673df9d728dcc (diff) | |
download | libass-0d391f67d3d1c87cd8e8cff907bd7c6b3b1f9cd8.tar.bz2 libass-0d391f67d3d1c87cd8e8cff907bd7c6b3b1f9cd8.tar.xz |
Runtime shaper selection
Add an API call, ass_set_shaper, and infrastructure to make shapers
selectable at runtime. Currently, this allows to switch between two
shapers: a SIMPLE shaper that maps to FriBidi and a COMPLEX shaper that
maps to HarfBuzz.
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r-- | libass/ass_render.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h index 05c4974..d3c1bbb 100644 --- a/libass/ass_render.h +++ b/libass/ass_render.h @@ -76,6 +76,7 @@ typedef struct { double aspect; // frame aspect ratio, d_width / d_height. double storage_aspect; // pixel ratio of the source image ASS_Hinting hinting; + ASS_ShapingLevel shaper; char *default_font; char *default_family; |