package camlpdf

  1. Overview
  2. Docs
type dictop =
  1. | IntOp of int32
  2. | RealOp of float
  3. | Operator of int
  4. | 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 =
  1. | CharStringType of int
  2. | CharSetOffset of int
  3. | EncodingOffset of int
  4. | CharStringOffset of int
  5. | PrivateDict of int * int
  6. | 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 =
  1. | 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 =
  1. | CSOperator of int
  2. | CSOperator2 of int
  3. | CSInt of int32
  4. | 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
OCaml

Innovation. Community. Security.