package camlimages
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Image processing library
Install
dune-project
Dependency
Authors
Maintainers
Sources
camlimages-5.0.4.tar.bz2
sha256=1c9a68bdc3d348c9f859d490dadf384926213e47a584159832f7fc4a20242865
md5=1ddba74d210b86a899b5d6565f45c2dc
doc/camlimages.freetype/Freetype/index.html
Module FreetypeSource
type for Freetype library
init () initializes the Freetype library. The returned library is required to load fonts.
Type for face
Source
type face_info = {num_faces : int;num_glyphs : int;family_name : string;style_name : string;has_horizontal : bool;has_vertical : bool;has_kerning : bool;is_scalable : bool;is_sfnt : bool;is_fixed_width : bool;has_fixed_sizes : bool;has_fast_glyphs : bool;has_glyph_names : bool;has_multiple_masters : bool;
}new_face library fontfile n loads n-th font stored in the font file fontfile, and returns its face and face information.
Returns number of glyphs stored in the face. Equivalent to face_info.num_glyphs
set_char_size face charw charh resh resv sets the character size of face. charw and charh are the points of the characters in width and height. resh and resv are the horizontal and vertical resolution (in dpi)
set_pixel_sizes face pixw pixh also sets the character size of face. pixw and pixh are standard width and height of characters in pixels.
matrix and vector
bitmap ops
glyph metrics
Source
type glyph_metrics = {gm_width : float;gm_height : float;gm_hori : bearing_advance;gm_vert : bearing_advance;
}size metrics
outline info
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>