diff options
Diffstat (limited to 'pdf/pdf_interpret.c')
-rw-r--r-- | pdf/pdf_interpret.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_interpret.c b/pdf/pdf_interpret.c index 1c077901..a08fbb8f 100644 --- a/pdf/pdf_interpret.c +++ b/pdf/pdf_interpret.c @@ -804,7 +804,7 @@ pdf_show_char(pdf_csi *csi, int cid) if (fontdesc->wmode == 1) { v = pdf_lookup_vmtx(ctx, fontdesc, cid); - tsm.e -= v.x * gstate->size * 0.001f; + tsm.e -= v.x * fabsf(gstate->size) * 0.001f; tsm.f -= v.y * gstate->size * 0.001f; } |