Skip to content

Commit

Permalink
fitz/helper-devices.i
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-smith-artifex-com committed Oct 11, 2023
1 parent 87fbb41 commit a05c019
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fitz/helper-devices.i
Original file line number Diff line number Diff line change
Expand Up @@ -668,8 +668,7 @@ jm_trace_text_span(fz_context *ctx, PyObject *out, fz_text_span *span, int type,
m1 = fz_concat(m1, fz_make_matrix(1, 0, 0, 1, char_orig.x, char_orig.y));
x0 = char_orig.x;
x1 = x0 + adv;
if (mat.d > 0 && (dir.x == 1 || dir.x == -1) ||
(mat.b !=0 && mat.b == -mat.c)) { // up-down flip
if ((mat.d > 0 && (dir.x == 1 || dir.x == -1)) || (mat.b !=0 && mat.b == -mat.c)) { // up-down flip
y0 = char_orig.y + dscsize;
y1 = char_orig.y + ascsize;
} else {
Expand Down

0 comments on commit a05c019

Please sign in to comment.