classes-Com-Tecnick-Pdf-Font-Import-TrueType

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

TrueType

in package

Com\Tecnick\Pdf\Font\Import\TrueType

Tags
since
2011-05-23
category

Library

author

Nicola Asuni info@tecnick.com

copyright

2011-2024 Nicola Asuni - Tecnick.com LTD

license

http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)

link
https://github.com/tecnickcom/tc-lib-pdf-font
phpstan-import-type

TFontData from \Com\Tecnick\Pdf\Font\Load

SuppressWarnings

(PHPMD.ExcessiveClassComplexity)

SuppressWarnings

(PHPMD.ExcessiveClassLength)

Table of Contents

Methods

__construct()  : mixed
Process TrueType font
getFontMetrics()  : TFontData
Get all the extracted font metrics
getSubGlyphs()  : array<int, bool>
Get glyphs in the subset

Methods

__construct()

Process TrueType font

public __construct(string $font, TFontData $fdt, Byte $fbyte[, array<int, bool> $subchars = [] ]) : mixed
Parameters
$font : string

Content of the input font file

$fdt : TFontData

Extracted font metrics

$fbyte : Byte

Object used to read font bytes

$subchars : array<int, bool> = []

Array containing subset chars

Tags
throws
Exception

in case of error

getFontMetrics()

Get all the extracted font metrics

public getFontMetrics() : TFontData
Return values
TFontData

getSubGlyphs()

Get glyphs in the subset

public getSubGlyphs() : array<int, bool>
Return values
array<int, bool>
On this page
 

© 2004-2024 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy