camlpdf

Read, write and modify PDF files
Library camlpdf
Module Pdfcff
type dictop =
| IntOp of int32
| RealOp of float
| Operator of int
| Operator2 of int
val read_card8 : Pdfio.bitstream -> int
val read_card16 : Pdfio.bitstream -> int
val discard_bytes : Pdfio.bitstream -> int -> unit
val read_string : Pdfio.bitstream -> int -> string
val read_index : Pdfio.bitstream -> int list
val read_float_dict_item : char list -> int -> Pdfio.bitstream -> int * float
val read_dict_item : Pdfio.bitstream -> int * dictop
val read_dict : dictop list -> Pdfio.bitstream -> int -> dictop list
val standard_encoding : (int * int) list
val expert_encoding : (int * int) list
val sids : (int * string) list
type topdict_entry =
| CharStringType of int
| CharSetOffset of int
| EncodingOffset of int
| CharStringOffset of int
| PrivateDict of int * int
| FontMatrix of Pdftransform.transform_matrix
val parse_topdict_entry : (dictop * dictop list) -> topdict_entry option
val read_dict_sections : (dictop * dictop list) list -> dictop list -> (dictop * dictop list) list
val parse_topdict : dictop list -> topdict_entry list
val string_of_topdict_entry : topdict_entry -> string
type privatedict_entry =
| Subrs of int
val parse_privatedict_entry : (dictop * dictop list) -> privatedict_entry option
val parse_privatedict : dictop list -> privatedict_entry list
val string_of_privatedict_entry : privatedict_entry -> string
val dbg : bool ref
val read_encoding : Pdfio.bitstream -> int -> (int * int) list * bool
val read_charset : Pdfio.bitstream -> int -> int -> int list
val read_charstrings : Pdfio.bitstream -> 'a -> int -> string list
type charstring_elt =
| CSOperator of int
| CSOperator2 of int
| CSInt of int32
| CSEndHere
val string_of_charstring_elt : charstring_elt -> string
val string_of_charstring : charstring_elt list -> string
val lex_charstring_elt : int -> Pdfio.input -> charstring_elt
val count_hintbits : Pdfio.input -> int
val lex_charstring : string -> charstring_elt list
val mflprint : 'a -> unit
val parse_charstring_inner : (float * float) -> charstring_elt list -> Pdfops.t list -> charstring_elt list -> Pdfops.t list
val parse_charstring : charstring_elt list -> Pdfops.t list
val debug_letter : Pdfops.t list -> unit
val notdef : Pdfgraphics.t
val parse_cff_font : Pdfio.bytes -> (string * Pdfgraphics.t) list * (int * string) list * Pdftransform.transform_matrix
val charprocbytes_of_graphic : Pdfgraphics.t -> Pdftransform.transform_matrix -> Pdf.pdfobject
val bbox_of_graphics : Pdfgraphics.t list -> float * float * float * float
val to_type3 : Pdf.t -> Pdftext.font -> Pdftext.font