mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-02-03 03:47:45 +01:00
more
This commit is contained in:
parent
8d54241bfe
commit
2585ed4d70
1
cpdf.ml
1
cpdf.ml
@ -2930,6 +2930,7 @@ let make_margin output_mediabox margin tr =
|
||||
in
|
||||
(Pdftransform.matrix_compose shift (Pdftransform.matrix_compose scale tr))
|
||||
|
||||
(* FIXME fixup -center for next release. For now it has been disabled. *)
|
||||
let impose_transforms fit fx fy columns rtl btt center margin mediabox output_mediabox fit_extra_hspace fit_extra_vspace len =
|
||||
let width, height =
|
||||
match Pdf.parse_rectangle mediabox with
|
||||
|
@ -2032,9 +2032,6 @@ and specs =
|
||||
("-impose-btt",
|
||||
Arg.Unit setimposebtt,
|
||||
" Impose bottom-to-top on columns");
|
||||
("-impose-center",
|
||||
Arg.Unit setimposecenter,
|
||||
" Center last partly-empty row or column");
|
||||
("-impose-margin",
|
||||
Arg.Float setimposemargin,
|
||||
" Add margin around whole imposed page");
|
||||
|
Loading…
x
Reference in New Issue
Block a user