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 87fbf359..1682f79a 100644 --- a/pdf/pdf_interpret.c +++ b/pdf/pdf_interpret.c @@ -1681,7 +1681,6 @@ static void pdf_run_TD(pdf_csi *csi) static void pdf_run_Tm(pdf_csi *csi) { - pdf_flush_text(csi); csi->tm.a = csi->stack[0]; csi->tm.b = csi->stack[1]; csi->tm.c = csi->stack[2]; @@ -1938,6 +1937,7 @@ static void pdf_run_v(pdf_csi *csi) static void pdf_run_w(pdf_csi *csi) { pdf_gstate *gstate = csi->gstate + csi->gtop; + pdf_flush_text(csi); /* linewidth affects stroked text rendering mode */ gstate->stroke_state.linewidth = csi->stack[0]; } |