sambitdash / PDFIO.jl

PDF Reader Library for Native Julia.
Other
128 stars 13 forks source link

Subsequent Tj or TJ operators without Td operators do not update text matrix #21

Closed sambitdash closed 6 years ago

sambitdash commented 6 years ago

When there are consecutive TJ or Tj operators, without any Td or TD operators that update the text matrix from the text line matrix the computed bounding box for the text run can be wrong.

The Tm text matrix should be updated after every showtext operation.

sambitdash commented 6 years ago

Closing as now fixed with the change https://github.com/sambitdash/PDFIO.jl/commit/3840c873def722be10601687d9ed049b8e98bd5b