Documentation

AbstractStandard
in package

AbstractYes

Pdf abstract standard font class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
5.2.0

Table of Contents

Properties

$cmap  : array<string|int, mixed>
Font character map
$glyphWidths  : array<string|int, mixed>
Font glyph widths
$unitsPerEm  : int
Font units per em

Methods

getGlyphWidth()  : mixed
Get character glyph width
getUnitsPerEm()  : int
Get units per em

Properties

$glyphWidths

Font glyph widths

protected array<string|int, mixed> $glyphWidths = []

Methods

getGlyphWidth()

Get character glyph width

public getGlyphWidth(int $code) : mixed
Parameters
$code : int

getUnitsPerEm()

Get units per em

public getUnitsPerEm() : int
Return values
int

        
On this page

Search results