more
This commit is contained in:
parent
dcaa04affa
commit
f116c0b840
|
@ -160,8 +160,11 @@ let paginate tmargin bmargin papersize i =
|
||||||
s.fontsize <- fs;
|
s.fontsize <- fs;
|
||||||
o := Font (f, fs)::!o
|
o := Font (f, fs)::!o
|
||||||
| NewPage ->
|
| NewPage ->
|
||||||
s.ypos <- tmargin;
|
s.ypos <- tmargin +. s.fontsize;
|
||||||
o := NewPage::!o
|
o := NewPage::!o
|
||||||
|
| BeginDocument ->
|
||||||
|
s.ypos <- tmargin +. s.fontsize;
|
||||||
|
o := BeginDocument::!o
|
||||||
| x -> o := x::!o
|
| x -> o := x::!o
|
||||||
in
|
in
|
||||||
iter process i;
|
iter process i;
|
||||||
|
|
Loading…
Reference in New Issue