mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-04-25 07:18:59 +02:00
more
This commit is contained in:
parent
b5e16382e8
commit
dface55e76
@ -215,7 +215,7 @@ let parse_rectangle pdf s =
|
|||||||
| [x; y; w; h] -> x, y, w, h
|
| [x; y; w; h] -> x, y, w, h
|
||||||
| _ -> error ("Bad rectangle specification " ^ s)
|
| _ -> error ("Bad rectangle specification " ^ s)
|
||||||
with
|
with
|
||||||
_ -> error ("Bad rectangle specification " ^ s)
|
e -> error ("Bad rectangle specification " ^ s ^ " : " ^ Printexc.to_string e)
|
||||||
|
|
||||||
let parse_rectangles pdf s =
|
let parse_rectangles pdf s =
|
||||||
try
|
try
|
||||||
@ -227,7 +227,7 @@ let parse_rectangles pdf s =
|
|||||||
| _ -> error ("Bad rectangle specification " ^ s))
|
| _ -> error ("Bad rectangle specification " ^ s))
|
||||||
groups
|
groups
|
||||||
with
|
with
|
||||||
_ -> error ("Bad rectangle specification " ^ s)
|
e -> error ("Bad rectangle specification " ^ s ^ " : " ^ Printexc.to_string e)
|
||||||
|
|
||||||
let parse_coordinate pdf s =
|
let parse_coordinate pdf s =
|
||||||
try
|
try
|
||||||
|
Loading…
x
Reference in New Issue
Block a user