class-Com.Tecnick.Pdf.Font.Buffer

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 Buffer

Com\Tecnick\Pdf\Font\Buffer

Direct known subclasses

Com\Tecnick\Pdf\Font\Stack
Abstract
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 Buffer.php
Methods summary
public string
# __construct( float $kunit, boolean $subset = false, boolean $unicode = true, boolean $pdfa = false )

Initialize fonts buffer

public boolean
# isSubsetMode( )

Get the default subset mode

public array
# getFonts( )

Returns the fonts buffer

public array
# getEncDiffs( )

Returns the fonts buffer

public boolean
# isValidKey( string $key )

Returns true if the specified font key exist on buffer

public array|boolean
# getFont( string $key )

Get font by key

public
# setFontSubKey( integer $key, integer $subkey, mixed $data )

Set font sub-key value

public
# addSubsetChar( integer $key, integer $char )

Add a character to the subset list

public string
# add( integer & $objnum, string $font, string $style = '', string $ifile = '', boolean $subset = null )

Add a new font to the fonts buffer

protected
# setFontFile( string $key )

Set font file and subset

protected
# setFontDiff( string $key )

Set font diff

Properties summary
protected array $font

Array containing all fonts data

# array()
protected integer $numfonts

Font counter

# 0
protected array $encdiff

Array containing encoding differences

# array()
protected integer $numdiffs

Index for Encoding differences

# 0
protected array $file

Array containing font definitions grouped by file

# array()
protected boolean $subset

Default subset mode

# false
protected boolean $unicode

True if we are in Unicode mode, False otherwhise.

# true
protected boolean $pdfa

True if we are in PDF/A mode.

# false
protected float $kunit

Unit of measure conversion ratio

# 1.0
 

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