Sgss_Font_Coverage_Interface 
Provides for determination of font glyph coverage

Description

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

Class overview

Methods

boolean hasAllRanges (array $ranges)

Determines whether this font contains one of the glyph corresponding to the characters inside the specified ranges

boolean hasClass (string $class)

Determines whether this font contains one of the glyph corresponding to the characters inside the specified class

boolean hasRange (string $range)

Determines whether this font contains one of the glyph corresponding to the characters inside the specified range

array hasRanges (array $ranges)

Determines whether this font contains one of the glyph corresponding to the characters inside the specified ranges

Method detail

hasAllRanges

Determines whether this font contains one of the glyph corresponding to the characters inside the specified ranges

Parameters:
  • array $ranges

    Unicode range names

Returns:
boolean -- True when this font contains one of the glyph corresponding to the characters inside all the ranges
Signature:
public boolean hasAllRanges (array $ranges)


hasClass

Determines whether this font contains one of the glyph corresponding to the characters inside the specified class

Parameters:
  • string $class

    Unicode class name

Returns:
boolean -- True when this font contains one of the glyph corresponding to the characters inside the class
Signature:
public boolean hasClass (string $class)


hasRange

Determines whether this font contains one of the glyph corresponding to the characters inside the specified range

Parameters:
  • string $range

    Unicode range name

Returns:
boolean -- True when this font contains one of the glyph corresponding to the characters inside the range
Used by:
Sgss_Font_Coverage_Abstract::hasRanges()
Signature:
public boolean hasRange (string $range)


hasRanges

Determines whether this font contains one of the glyph corresponding to the characters inside the specified ranges

Parameters:
  • array $ranges

    Unicode range names

Returns:
array -- Array containing all the result of the hasRange()
Signature:
public array hasRanges (array $ranges)