diff options
author | Grigori Goronzy <greg@blackbox> | 2011-07-06 23:37:01 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2011-07-06 23:37:01 +0200 |
commit | 5b9dec61a50fb3974809a18479dd0d33ccbb8792 (patch) | |
tree | a9d700209f33e3820ac315eb27528beacc39e60e | |
parent | 3bb8743641c398e0807322ea74754d7e54fbbc3d (diff) | |
download | libass-5b9dec61a50fb3974809a18479dd0d33ccbb8792.tar.bz2 libass-5b9dec61a50fb3974809a18479dd0d33ccbb8792.tar.xz |
shaper: print version info string
-rw-r--r-- | libass/ass_render.c | 2 | ||||
-rw-r--r-- | libass/ass_shaper.c | 9 | ||||
-rw-r--r-- | libass/ass_shaper.h | 1 |
3 files changed, 12 insertions, 0 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c index 78c8606..7e37b41 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -75,6 +75,8 @@ ASS_Renderer *ass_renderer_init(ASS_Library *library) priv->settings.font_size_coeff = 1.; + ass_shaper_info(library); + ass_init_exit: if (priv) ass_msg(library, MSGL_V, "Init"); diff --git a/libass/ass_shaper.c b/libass/ass_shaper.c index 86814be..24f5f00 100644 --- a/libass/ass_shaper.c +++ b/libass/ass_shaper.c @@ -22,6 +22,15 @@ #include "ass_shaper.h" /** + * \brief Print version information + */ +void ass_shaper_info(ASS_Library *lib) +{ + ass_msg(lib, MSGL_V, "Complex text layout enabled, using FriBidi " + FRIBIDI_VERSION); +} + +/** * \brief Shape an event's text. Calculates directional runs and shapes them. * \param text_info event's text * \param ctypes returns character types diff --git a/libass/ass_shaper.h b/libass/ass_shaper.h index 7dc2f27..597e4df 100644 --- a/libass/ass_shaper.h +++ b/libass/ass_shaper.h @@ -21,6 +21,7 @@ #include <fribidi/fribidi.h> +void ass_shaper_info(ASS_Library *lib); void ass_shaper_shape(TextInfo *text_info, FriBidiCharType *ctypes, FriBidiLevel *emblevels); void ass_shaper_reorder(TextInfo *text_info, FriBidiCharType *ctypes, |