mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
Correct TTF fontname from cpdfcommand.ml
This commit is contained in:
@@ -1728,9 +1728,10 @@ let setidironlypdfs () =
|
|||||||
let setnowarnrotate () =
|
let setnowarnrotate () =
|
||||||
args.no_warn_rotate <- true
|
args.no_warn_rotate <- true
|
||||||
|
|
||||||
|
|
||||||
let setfontttf s =
|
let setfontttf s =
|
||||||
args.font <- EmbeddedFont s
|
let fontname, _ = Hashtbl.find ttfs s in
|
||||||
|
args.font <- EmbeddedFont s;
|
||||||
|
args.fontname <- fontname
|
||||||
|
|
||||||
let setfontttfencoding s =
|
let setfontttfencoding s =
|
||||||
args.fontencoding <-
|
args.fontencoding <-
|
||||||
@@ -1759,9 +1760,6 @@ let addop o =
|
|||||||
| (n, ops)::t -> drawops := (n, (o::ops))::t
|
| (n, ops)::t -> drawops := (n, (o::ops))::t
|
||||||
| [] -> error "no drawops"
|
| [] -> error "no drawops"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
let endxobj () =
|
let endxobj () =
|
||||||
match !drawops with
|
match !drawops with
|
||||||
| (n, ops)::t ->
|
| (n, ops)::t ->
|
||||||
|
Reference in New Issue
Block a user