diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-03-29 15:43:31 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-03-29 16:49:18 +0200 |
commit | f68b2a1b1cf0c9d5fd08ca3d130f7ab4ab6ed762 (patch) | |
tree | 371bc7d281b6e4e4fcdd23cc5c8898bfa1fd6092 /source | |
parent | afef491c2f4651d84315bbaf41daa750854f6fe5 (diff) | |
download | mupdf-f68b2a1b1cf0c9d5fd08ca3d130f7ab4ab6ed762.tar.xz |
Fix typo in "Tweak html-layout harfbuzz code" commit.
Diffstat (limited to 'source')
-rw-r--r-- | source/html/html-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/html/html-layout.c b/source/html/html-layout.c index d102d87a..1d76a9c5 100644 --- a/source/html/html-layout.c +++ b/source/html/html-layout.c @@ -1289,7 +1289,7 @@ static void draw_flow_box(fz_context *ctx, fz_html *box, float page_top, float p hb_position_t x_off = *(hb_position_t *)px; hb_position_t y_off = *(hb_position_t *)py; float fx_off = x + (lx + x_off) * node_scale; - float fy_off = x + (lx - y_off) * node_scale; + float fy_off = y + (ly - y_off) * node_scale; #ifdef DEBUG_HARFBUZZ hb_glyph_info_t *g = &walker.glyph_info[gp]; |