mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-04-14 10:22:17 +02:00
more
This commit is contained in:
parent
256a74bd0f
commit
81b9bf49a6
@ -28,6 +28,8 @@ let rec of_utf8_with_newlines charcode_extractor t =
|
|||||||
if c <> [] then items := Text (charcodes_of_codepoints c)::!items;
|
if c <> [] then items := Text (charcodes_of_codepoints c)::!items;
|
||||||
rev !items
|
rev !items
|
||||||
|
|
||||||
|
(* The optional pdf argument is for providing a pre-embedded font - this will
|
||||||
|
be removed when we re-embed subsetted? *)
|
||||||
let typeset ?pdf ~papersize ~font ~fontsize text =
|
let typeset ?pdf ~papersize ~font ~fontsize text =
|
||||||
let charcode_extractor = Pdftext.charcode_extractor_of_font_real font in
|
let charcode_extractor = Pdftext.charcode_extractor_of_font_real font in
|
||||||
let pdf = match pdf with None -> Pdf.empty () | Some pdf -> pdf in
|
let pdf = match pdf with None -> Pdf.empty () | Some pdf -> pdf in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user