| Sgss_Font_Composite | Represents a composite font |
| Sgss_Font_Format_Abstract | Abstract class representing a format font |
|
$_coverage
Unicode coverage of this font |
|
$_mapper
Character code to glyph code map of this font |
|
$_metrics
Font and glyph metrics aggregate of this font |
|
$_profiler
Font profile of this font |
Sgss_Font_Coverage_Interface |
getCoverage ()
Returns the unicode coverage of this font |
string |
getFamily ()
Returns the family name of this font in default locale |
Sgss_Font_Metrics_Glyph |
getGlyph (int|string|Sgss_String $char)
Returns the glyph metrics corresponding to the specified character |
int |
getGlyphCode (int|string|Sgss_String $char)
Converts the specified character to the corresponding glyph code |
array |
getGlyphCodes (array|string|Sgss_String $chars)
Converts the specified characters to the corresponding glyph codes array |
array |
getGlyphs (array|string|Sgss_String $chars)
Returns the glyph metrices array corresponding to the specified characters |
Sgss_Font_Mapper_Interface |
getMapper ()
Returns the character code to glyph code map of this font |
Sgss_Font_Metrics_Interface |
getMetrics ()
Returns the font and glyph metrics aggregate of this font |
string |
getName ()
Returns the name of this font in default locale |
Sgss_Font_Profiler_Interface |
getProfiler ()
Returns the font profile of this font |
int |
getStretch ()
Returns the stretch value of this font |
string |
getStretchName ()
Returns the stretch name of this font in default locale |
int |
getStyle ()
Returns the style identifier of this font |
string |
getStyleName ()
Returns the style name of this font in default locale |
string |
getSubfamily ()
Returns the subfamily name of this font in default locale |
int |
getWeight ()
Returns the weight value of this font |
string |
getWeightName ()
Returns the weight name of this font in default locale |
boolean |
hasGlyph (int|string|Sgss_String $char)
Determines whether this font has the glyph corresponding to the specified character |
boolean |
hasGlyphs (array|string|Sgss_String $chars)
Determines whether this font has all the glyphs corresponding to the specified characters |
string |
__toString ()
|
Unicode coverage of this font
protected Sgss_Font_Coverage_Interface $_coverage
Character code to glyph code map of this font
protected Sgss_Font_Mapper_Interface $_mapper
Font and glyph metrics aggregate of this font
protected Sgss_Font_Metrics_Interface $_metrics
Font profile of this font
protected Sgss_Font_Profiler_Interface $_profiler
Returns the unicode coverage of this font
Returns the unicode coverage of this font
public Sgss_Font_Coverage_Interface getCoverage ()
Returns the family name of this font in default locale
Returns the family name of this font in default locale
public string getFamily ()
Returns the glyph metrics corresponding to the specified character
The $char parameter can be either an unicode codepoint or character. This determines the first character if string supplied.
int|string|Sgss_String $char
Unicode codepoint or character
Returns the glyph metrics corresponding to the specified character
public Sgss_Font_Metrics_Glyph getGlyph (int|string|Sgss_String $char)
Converts the specified character to the corresponding glyph code
The $char parameter can be either an unicode codepoint or character. This converts the first character if string specified.
int|string|Sgss_String $char
Unicode codepoint or character
Converts the specified character to the corresponding glyph code
public int getGlyphCode (int|string|Sgss_String $char)
Converts the specified characters to the corresponding glyph codes array
The $chars parameter can be either an array of unicode codepoints or a string.
array|string|Sgss_String $chars
Unicode codepoints or string
Converts the specified characters to the corresponding glyph codes array
public array getGlyphCodes (array|string|Sgss_String $chars)
Returns the glyph metrices array corresponding to the specified characters
The $chars parameter is expected to be either an array of unicode codepoints or a string.
array|string|Sgss_String $chars
Unicode codepoints or string
Returns the glyph metrices array corresponding to the specified characters
public array getGlyphs (array|string|Sgss_String $chars)
Returns the character code to glyph code map of this font
Returns the character code to glyph code map of this font
public Sgss_Font_Mapper_Interface getMapper ()
Returns the font and glyph metrics aggregate of this font
Returns the font and glyph metrics aggregate of this font
public Sgss_Font_Metrics_Interface getMetrics ()
Returns the name of this font in default locale
Returns the name of this font in default locale
public string getName ()
Returns the font profile of this font
Returns the font profile of this font
public Sgss_Font_Profiler_Interface getProfiler ()
Returns the stretch value of this font
Returns the stretch value of this font
public int getStretch ()
Returns the stretch name of this font in default locale
Returns the stretch name of this font in default locale
public string getStretchName ()
Returns the style identifier of this font
Returns the style identifier of this font
public int getStyle ()
Returns the style name of this font in default locale
Returns the style name of this font in default locale
public string getStyleName ()
Returns the subfamily name of this font in default locale
Returns the subfamily name of this font in default locale
public string getSubfamily ()
Returns the weight value of this font
Returns the weight value of this font
public int getWeight ()
Returns the weight name of this font in default locale
Returns the weight name of this font in default locale
public string getWeightName ()
Determines whether this font has the glyph corresponding to the specified character
The $char parameter can be either an unicode codepoint or character. This determines the first character if string specified.
int|string|Sgss_String $char
Unicode codepoint or character to determine
Determines whether this font has the glyph corresponding to the specified character
public boolean hasGlyph (int|string|Sgss_String $char)
Determines whether this font has all the glyphs corresponding to the specified characters
The $chars parameter can to be either an array of unicode codepoints or a string.
array|string|Sgss_String $chars
Unicode codepoints or string to determine
Determines whether this font has all the glyphs corresponding to the specified characters
public boolean hasGlyphs (array|string|Sgss_String $chars)
public string __toString ()