Sgss_Font_Truetype_Mapper_Cmap_Byteencoding
Represents a TrueType cmap in the byte-encoding format

Description

Class diagram:
Sgss_Font_Truetype_Mapper_Cmap
 + Sgss_Font_Truetype_Mapper_Cmap_Byteencoding
Author:
Matsuda Shota
Copyright:
(c) 2007-2008 Matsuda Shota
License:
http://creativecommons.org/licenses/GPL/2.0/
Located in:
/Font/Truetype/Mapper/Cmap/Byteencoding.php (line 51)

Class overview

Methods

__construct (Sgss_Font_Cache $cache)

The constructor

int charToGlyph (int $char)

Converts the specified character code to the corresponding glyph code

Inherited from Sgss_Font_Truetype_Mapper_Cmap:
charsToGlyphs(), charToGlyph(), factory()

Method detail

__construct

The constructor

Parameters:
Signature:
public __construct (Sgss_Font_Cache $cache)


charToGlyph

Converts the specified character code to the corresponding glyph code

Parameters:
  • int $char

    Character code to be converted

Returns:
int -- Glyph code
Overrides:
Related subject:
Sgss_Font_Mapper_Truetype_Cmap::charToGlyph()
Signature:
public int charToGlyph (int $char)