class-Com.Tecnick.Pdf.Font.Subset

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.

Class Subset

Com\Tecnick\Pdf\Font\Subset

Namespace: Com\Tecnick\Pdf\Font
Package: PdfFont
Category: Library
Copyright: 2011-2015 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2011-05-23
Link: https://github.com/tecnickcom/tc-lib-pdf-font
Located at Subset.php
Methods summary
public
# __construct( string $font, array $fdt, array $subchars = array() )

Process TrueType font

public string
# getSubsetFont( )

Get all the extracted font metrics

protected integer
# getTableChecksum( string $table, integer $length )

Returs the checksum of a TTF table.

protected
# addCompositeGlyphs( )

Add composite glyphs

protected array
# findCompositeGlyphs( array $new_sga, integer $key )

Add composite glyphs

protected
# removeUnusedTables( )

Remove unused tables

protected
# addProcessedTables( )

Add glyf and loca tables

protected
# buildSubsetFont( )

build new subset font

Properties summary
protected string $font

Content of the input font file

# ''
protected Com\Tecnick\File\Byte $fbyte

Object used to read font bytes

protected array $fdt

Extracted font metrics

# array()
protected array $subglyphs

Array containing subset glyphs indexes of chars from cmap table

# array()
protected string $subfont

Subset font

# ''
 

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