mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
Fix to work with CamlPDF new getnum
This commit is contained in:
@@ -203,7 +203,7 @@ let thinlines range width pdf =
|
||||
| None -> []
|
||||
| Some gdict ->
|
||||
match Pdf.lookup_direct pdf "/LW" gdict with
|
||||
| Some s -> (try [Pdfops.Op_w (Pdf.getnum s)] with _ -> [])
|
||||
| Some s -> (try [Pdfops.Op_w (Pdf.getnum pdf s)] with _ -> [])
|
||||
| None -> []
|
||||
in
|
||||
replace_operators (opw @ ((Pdfops.Op_gs gsname)::prev)) more
|
||||
|
Reference in New Issue
Block a user