camlpdf

Read, write and modify PDF files
Library camlpdf
Module Pdftruetype
val dbg : bool ref
val dbgg : bool ref
val read_fixed : Pdfio.bitstream -> int * int
val read_ushort : Pdfio.bitstream -> int
val read_ulong : Pdfio.bitstream -> int32
val read_byte : Pdfio.bitstream -> int
val read_short : Pdfio.bitstream -> int
val read_fword : Pdfio.bitstream -> int
val read_f2dot14 : Pdfio.bitstream -> float
val discard_bytes : Pdfio.bitstream -> int -> unit
val read_longdatetime : Pdfio.bitstream -> int
val notdef : Pdfgraphics.t
val string_of_tag : int32 -> string
val tag_cmap : int32
val tag_glyf : int32
val tag_maxp : int32
val tag_loca : int32
val tag_head : int32
val read_format_6_encoding_table : Pdfio.bitstream -> int array
val read_encoding_table : int -> 'a -> 'b -> Pdfio.bitstream -> int array
val read_loca_table : int -> int -> Pdfio.bitstream -> int32 array
val lastval : (bool * bool * bool * bool * bool) ref
val repeats : int ref
val read_flags : Pdfio.bitstream -> int -> (bool * bool * bool * bool * bool) list
val prev : int ref
val read_coordinates : Pdfio.bitstream -> (bool * bool) list -> int list
type point = float * float
type part =
| Line of point * point
| QuadBezier of point * point * point
val break_coordinates_inner : part list -> (bool * (float * float)) list -> part list
val all_points_off : (bool * 'a) list -> bool
val cycle_true_first : (bool * 'a) list -> (bool * 'a) list
val print_unbroken_coordinates : (bool * (int * int)) -> unit
val break_coordinates : (bool * (int * int)) list -> part list
val sofp : (float * float) -> string
val string_of_coordinate : part -> string
val print_coordinates : part list -> unit
val mkcubicbezier : (float * float) -> (float * float) -> (float * float) -> Pdfgraphics.segment
val graphic_of_contours : part list list -> Pdfgraphics.t
val merge_components : Pdfgraphics.t list -> Pdfgraphics.t
val arg_1_and_2_are_words : int
val args_are_xy_values : int
val round_xy_to_grid : int
val we_have_a_scale : int
val more_components : int
val we_have_an_x_and_y_scale : int
val we_have_a_two_by_two : int
val we_have_instructions : int
val use_my_metrics : int
val read_composite_glyph : ( int -> Pdfgraphics.t ) -> Pdfio.bitstream -> Pdfgraphics.t
val read_glyph : ( int -> Pdfgraphics.t ) -> Pdfio.bitstream -> Pdfgraphics.t
val parse_truetype_font : Pdfio.bytes -> Pdfgraphics.t list * Pdftransform.transform_matrix
val charprocbytes_of_graphic : Pdfgraphics.t -> Pdftransform.transform_matrix -> Pdf.pdfobject
val to_type3 : Pdf.t -> Pdftext.font -> Pdftext.font