SetaPDF_Core_Font_TrueType_Subset_Table_IndexToLocation This class represents the "loca" table in a sub-setting context.

File: /SetaPDF v2/Core/Font/TrueType/Subset/Table/IndexToLocation.php

See https://www.microsoft.com/typography/otspec/loca.htm for more details.

Class hierarchy

Summary

Properties

$_changedData

The modified data.

$_format

$_locations

The glyph locations.


Static Methods

getClassName()

public static SetaPDF_Core_Font_TrueType_Subset_Table::getClassName (
string $tag
): string

Get a class name by tag name.

Parameters
$tag : string
 
Exceptions

Throws InvalidArgumentException


Methods

cleanUp()

Release memory and cycled references.

getOriginalTable()

setFormat()

Set the location format.

0 for short offsets (Offset16), 1 for long (Offset32).

Parameters
$value : int
 
See

setLocations()

Set the glyph locations.

Parameters
$data : int[]