SetaPDF_Core_Font_Glyph_Collection_CollectionInterface An interface for glyph collections

File: /SetaPDF v2/Core/Font/Glyph/Collection/CollectionInterface.php

Implemented in

Summary

Methods

getGlyphWidth()

abstract public SetaPDF_Core_Font_Glyph_Collection_CollectionInterface::getGlyphWidth (
string $char [, string $encoding = 'UTF-16BE' ]
): void

Get the glyph width of a single character.

Parameters
$char : string

The character

$encoding : string

The encoding of the character

getGlyphsWidth()

abstract public SetaPDF_Core_Font_Glyph_Collection_CollectionInterface::getGlyphsWidth (
string $chars [, string $encoding = 'UTF-16BE' ]
): void

Get the glyphs width of a string.

Parameters
$chars : string

The string

$encoding : string

The encoding of the characters