diff options
author | Grigori Goronzy <greg@blackbox> | 2009-08-22 01:03:46 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2009-08-22 05:36:30 +0200 |
commit | 9d008b0c51f2b6693e347c4a959d35b03cbc5383 (patch) | |
tree | 77dd1b41b30b527d5be0592bfc7f73bb2da14bbf /libass/ass_render.h | |
parent | 96226455142018927a96c676980a90206d60714e (diff) | |
download | libass-9d008b0c51f2b6693e347c4a959d35b03cbc5383.tar.bz2 libass-9d008b0c51f2b6693e347c4a959d35b03cbc5383.tar.xz |
Trim whitespace after line wrapping
Mark leading and trailing spaces on lines and adjust layouting code
to respect these marks and skip the spaces.
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 1b07cfe2..dad3dbd1 100644 --- a/libass/ass_render.h +++ b/libass/ass_render.h @@ -94,6 +94,7 @@ typedef enum { // GlyphInfo and TextInfo are used for text centering and word-wrapping operations typedef struct { unsigned symbol; + unsigned skip; // skip glyph when layouting text FT_Glyph glyph; FT_Glyph outline_glyph; Bitmap *bm; // glyph bitmap |