]> granicus.if.org Git - libass/commit
Use glyph properties instead of renderer state in draw_opaque_box
authorOleg Oshmyan <chortos@inbox.lv>
Sun, 16 Dec 2012 21:54:57 +0000 (23:54 +0200)
committerOleg Oshmyan <chortos@inbox.lv>
Fri, 28 Dec 2012 17:01:16 +0000 (19:01 +0200)
commit071e23b7f41382fc07d657699574b24827fa240d
tree81a1546f586df17ffda0732eb92c364a048007a0
parentfb1109b4bdec040dab5cdb00a342557b977e9c12
Use glyph properties instead of renderer state in draw_opaque_box

scale_x, scale_y and hspacing should be read from the GlyphInfo
of the glyph the box is based on, not from render_priv->state.
The values in the renderer state are affected by override tags
specified after this glyph, so they are irrelevant.
libass/ass_render.c