package cpdf
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
High-level PDF tools based on CamlPDF
Install
dune-project
Dependency
Authors
Maintainers
Sources
v2.7.zip
md5=8dd7b420b71374640679351cfa618c44
sha512=ddb2f30d10699ef4b843d06d30620ba018dbaec1ac9180b3fb7e85d1100718ece13212d56eca18139fdf1a19e4b27dbc6f31f628c4296273813448fb29d624e0
doc/cpdf/Cpdftruetype/index.html
Module Cpdftruetype
Parse and subset TrueType fonts
type t = {flags : int;minx : int;miny : int;maxx : int;maxy : int;italicangle : int;ascent : int;descent : int;capheight : int;stemv : int;xheight : int;avgwidth : int;maxwidth : int;firstchar : int;lastchar : int;widths : int array;subset_fontfile : Pdfio.bytes;subset : int list;tounicode : (int, string) Hashtbl.t option;
}The type of a single parsed font, including everything needed to build a PDF font.
val parse : subset:int list -> Pdfio.bytes -> Pdftext.encoding -> t listParse the given TrueType font file. It will return one or more fonts. The first, a plain Latin font in the given encoding. Others are for the additional characters in the font. You should supply a subset (a list of unicode codepoints whose corresponding glyphs are required).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>