Sgss_Font_Composite_Interface 
Provides for handling composite font

Description

Author:
Matsuda Shota
Copyright:
(c) 2007-2008 Matsuda Shota
License:
http://creativecommons.org/licenses/GPL/2.0/
Located in:
/Font/Composite/Interface.php (line 46)

Class overview

Methods

Sgss_Font_Composite_Rangemap_Abstract getRangemap ()

Returns character code range map of this font

Sgss_Font_Composite_Interface range (string|array|null $range)

Sets or adds the character ranges of previous composition

Sgss_Font_Composite_Interface transform (array|Sgss_Graphics_Transform|null $trans)

Sets the transformation of previous composition

Inherited from Sgss_Font_Interface:
composite(), getCoverage(), getFamily(), getGlyph(), getGlyphCode(), getGlyphCodes(), getGlyphs(), getMapper(), getMetrics(), getName(), getProfiler(), getStretch(), getStretchName(), getStyle(), getStyleName(), getSubfamily(), getWeight(), getWeightName(), hasGlyph(), hasGlyphs()

Method detail

getRangemap

Returns character code range map of this font

Returns:
Sgss_Font_Composite_Rangemap_Abstract -- Character code range map
Signature:
public Sgss_Font_Composite_Rangemap_Abstract getRangemap ()


range

Sets or adds the character ranges of previous composition

Parameters:
  • string|array|null $range

    Unicode range(s)

Returns:
Sgss_Font_Composite_Interface -- This font for convenience
Uses:
Sgss_Font_Composite_Rangemap_Abstract::addRange()
Used by:
Sgss_Graphics_Font::range()
Signature:
public Sgss_Font_Composite_Interface range (string|array|null $range)


transform

Sets the transformation of previous composition

Parameters:
Returns:
Sgss_Font_Composite_Interface -- This font for convenience
Used by:
Sgss_Graphics_Font::transform()
Signature:
public Sgss_Font_Composite_Interface transform (array|Sgss_Graphics_Transform|null $trans)