mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-04-27 00:08:45 +02:00
Fix typo in trim mark calculation
This commit is contained in:
parent
a42886db03
commit
49678c077b
@ -1032,7 +1032,7 @@ let trim_marks_page fast pdf n page =
|
|||||||
Pdfops.Op_K (1., 1., 1., 1.);
|
Pdfops.Op_K (1., 1., 1., 1.);
|
||||||
Pdfops.Op_w 1.]
|
Pdfops.Op_w 1.]
|
||||||
@ [Pdfops.begin_artifact]
|
@ [Pdfops.begin_artifact]
|
||||||
@ line (minx, tmaxy, tminy -. allowance, tmaxy) (* top left *)
|
@ line (minx, tmaxy, tminx -. allowance, tmaxy) (* top left *)
|
||||||
@ line (tminx, tmaxy +. allowance, tminx, maxy)
|
@ line (tminx, tmaxy +. allowance, tminx, maxy)
|
||||||
@ line (tmaxx +. allowance, tmaxy, maxx, tmaxy) (* top right *)
|
@ line (tmaxx +. allowance, tmaxy, maxx, tmaxy) (* top right *)
|
||||||
@ line (tmaxx, tmaxy +. allowance, tmaxx, maxy)
|
@ line (tmaxx, tmaxy +. allowance, tmaxx, maxy)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user