package cpdf
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
PDF command line tools
Install
dune-project
Dependency
Authors
Maintainers
Sources
v2.8.tar.gz
md5=d79b6abd10bd4a231f1f91cdbefb3998
sha512=0a77525252a5acb8ac4fdcbdd1620d2e14b5309235521089c7183e73e95d0efba104e5afc3dc890a73b965d7a644d190c2b611ab39aa3fde3cfdaf651980ba6b
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).
val cmaps : Pdfio.bytes -> (int * int) listReturn the list of cmaps from a font file (used for PDF/UA verification).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>