summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-25 19:23:52 +0200
committerwm4 <wm4@nowhere>2013-09-26 00:39:13 +0200
commit4f542f2b9d003125c3b04416074078c3d81c0d6c (patch)
tree0cb8817499bd558a08e1d21a514fa9e2c1afa7fb /libass/ass_render.h
parent9b48357234806a4fe29ec97eba6c998a26033b5d (diff)
downloadlibass-4f542f2b9d003125c3b04416074078c3d81c0d6c.tar.bz2
libass-4f542f2b9d003125c3b04416074078c3d81c0d6c.tar.xz
Fix Hinting again
Commit 05eb520 missed some duplicated bits in ass_shaper.c. <wm4> oh crap <zgreg> oh crap indeed Instead of duplicating the logic in ass_shaper.c, just change the glyphs before they even get into processing. This way, all code reading the font size etc. is affected. This essentially reverts commit c207000c, because it's not needed anymore.
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r--libass/ass_render.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h
index ecfca61..3a7c6d9 100644
--- a/libass/ass_render.h
+++ b/libass/ass_render.h
@@ -143,6 +143,7 @@ typedef struct glyph_info {
double frx, fry, frz; // rotation
double fax, fay; // text shearing
double scale_x, scale_y;
+ double orig_scale_x, orig_scale_y; // scale_x,y before fix_glyph_scaling
int border_style;
double border_x, border_y;
double hspacing;