#include <FontFace.h>
enum FontFace::FAMILY |
enum FontFace::NAMEID |
enum FontFace::STROKE |
enum FontFace::STYLE |
enum FontFace::VARIANT |
enum FontFace::WEIGHT |
FontFace::FontFace | ( | FontLibrary & | library, | |
const std::string & | fileName | |||
) |
References _checkLicenses(), _checkOrthographies(), _commonName, _face, _fileName, _getPlatform1Encoding0String(), _getPlatform3Encoding1String(), _getUnicodeValues(), _glyphCount, _hasFixedSizes, _hasVerticalMetrics, _isFixedWidth, _nativeName, _reportFragmentary, _reportFull, _reportMissing, _reportPartial, _style, _subFamily, _weight, FontLibrary::get(), NID_FONT_FAMILY, and NID_FONT_SUBFAM.
FontFace::~FontFace | ( | ) |
References _face.
bool FontFace::_checkAllKnownLicenses | ( | const std::string & | licenseString | ) | [private] |
References _checkLicense(), PublicDomain::pData, Freeware::pData, XFree86License::pData, GUSTLicense::pData, MPLUSLicense::pData, MITLicense::pData, STIXLicense::pData, UtopiaLicense::pData, IPALicense::pData, AladdinFreePublicLicense::pData, MagentaOpenLicense::pData, ArphicPublicLicense::pData, BitstreamVeraLicense::pData, LGPL::pData, GPLWithFontException::pData, GPL::pData, and OpenFontLicense::pData.
Referenced by _checkLicenses().
bool FontFace::_checkLicense | ( | const std::string & | test, | |
const LicenseData * | pData | |||
) | [private] |
References _licenseData, and LicenseData::searchKeys.
Referenced by _checkAllKnownLicenses().
void FontFace::_checkLicenses | ( | void | ) | [private] |
References _checkAllKnownLicenses(), _face, _getStringFromTrueTypeFont(), _licenseData, _licenseURL, _storeCopyrightSummary(), NID_COPYRIGHT, NID_LICENSE, NID_URL_LICENSE, and UnknownLicense::pData.
Referenced by FontFace().
void FontFace::_checkOrthographies | ( | void | ) | [private] |
References _checkOrthography(), hasUnicodeValue(), Mongolian::pData, PhagsPa::pData, NewTaiLue::pData, TaiLe::pData, Ethiopic::pData, Vai::pData, Tifinagh::pData, Osmanya::pData, Nko::pData, Hanunoo::pData, Oriya::pData, Gurmukhi::pData, Gujarati::pData, Malayalam::pData, Telugu::pData, Sinhala::pData, Tamil::pData, Kannada::pData, Devanagari::pData, Bengali::pData, ChessSymbols::pData, MathematicalOperators::pData, Yi::pData, Khmer::pData, Runic::pData, Ogham::pData, CanadianSyllabics::pData, Cherokee::pData, Georgian::pData, Myanmar::pData, Tibetan::pData, Lao::pData, Thai::pData, Thaana::pData, Syriac::pData, Hebrew::pData, Armenian::pData, Hangul::pData, Kokuji::pData, Jinmeiyo::pData, Joyo::pData, Kana::pData, ZhuYinFuHao::pData, HongKongSupplementaryCharacterSet::pData, TraditionalChinese::pData, SimplifiedChinese::pData, Uighur::pData, Sindhi::pData, Pashto::pData, Kazakh::pData, Urdu::pData, Farsi::pData, Arabic::pData, BasicCyrillic::pData, Coptic::pData, ArchaicGreekLetters::pData, PolytonicGreek::pData, BasicGreek::pData, IgboOnwu::pData, Venda::pData, ClaudianLetters::pData, LatinLigatures::pData, IPA::pData, Pinyin::pData, Afrikaans::pData, Dutch::pData, PanAfricanLatin::pData, Vietnamese::pData, Romanian::pData, CentralEuropean::pData, Turkish::pData, Baltic::pData, Catalan::pData, Euro::pData, WesternEuropean::pData, and BasicLatin::pData.
Referenced by FontFace().
bool FontFace::_checkOrthography | ( | const OrthographyData * | pData | ) | [private] |
References _supportedOrthographies, hasUnicodeValue(), OrthographyData::key, START_RANGE_PAIR, and OrthographyData::values.
Referenced by _checkOrthographies().
UTF8String FontFace::_getPlatform1Encoding0String | ( | unsigned | length, | |
const FT_Byte * | string | |||
) | const [private] |
References Encoding::macRomanToUTF32().
Referenced by _getStringFromTrueTypeFont(), and FontFace().
UTF8String FontFace::_getPlatform3Encoding1String | ( | unsigned | length, | |
const FT_Byte * | string | |||
) | const [private] |
Referenced by _getStringFromTrueTypeFont(), and FontFace().
UTF8String FontFace::_getStringFromTrueTypeFont | ( | FT_SfntName & | fontName | ) | const [private] |
References _getPlatform1Encoding0String(), and _getPlatform3Encoding1String().
Referenced by _checkLicenses().
unsigned int FontFace::_getUnicodeValues | ( | void | ) | [private] |
References _face, and _unicodeValues.
Referenced by FontFace().
void FontFace::_storeCopyrightSummary | ( | const std::string & | copyrightString | ) | [private] |
References _copyright, COPYRIGHT_SUMMARY_STRING_LENGTH, and UTF8String::unicodeSubStringOnWordBoundary().
Referenced by _checkLicenses().
void FontFace::fillReport | ( | MLR * | mlr | ) |
References _commonName, _copyright, _glyphCount, _hasFixedSizes, _isFixedWidth, _licenseData, _licenseURL, _nativeName, _reportFragmentary, _reportFull, _reportMissing, _reportPartial, _style, _subFamily, _supportedOrthographies, _unicodeValues, _weight, MLR::addKeyValuePair(), BOLD, MLR::end(), MLR::endList(), OrthographyResults::FRAGMENTARY, OrthographyResults::FULL, ITALIC, LicenseData::name, OrthographyResults::PARTIAL, MLR::start(), MLR::startList(), and LicenseData::url.
Referenced by main().
std::string FontFace::getBasicReport | ( | void | ) | const |
References _commonName, _face, _hasFixedSizes, _hasVerticalMetrics, _isFixedWidth, _nativeName, _style, _subFamily, _unicodeValues, _weight, BOLD, and ITALIC.
unsigned FontFace::getCharacterCount | ( | void | ) | const |
References _unicodeValues.
const std::string & FontFace::getCommonName | ( | void | ) | const |
References _commonName.
const std::string & FontFace::getCopyright | ( | void | ) | const |
References _copyright.
FontFace::FAMILY FontFace::getFamily | ( | void | ) | const |
References _genericFamily.
const std::string & FontFace::getFileName | ( | void | ) | const |
References _fileName.
unsigned FontFace::getGlyphCount | ( | void | ) | const |
References _glyphCount.
std::string FontFace::getLicenseReport | ( | void | ) | const |
References _licenseData, LicenseData::name, and LicenseData::url.
const std::string & FontFace::getNativeName | ( | void | ) | const |
References _nativeName.
std::string FontFace::getOrthographyReport | ( | void | ) | const |
FontFace::STROKE FontFace::getStroke | ( | void | ) | const |
References _stroke.
FontFace::STYLE FontFace::getStyle | ( | void | ) | const |
References _style.
const std::string & FontFace::getSubFamily | ( | void | ) | const |
References _subFamily.
FontFace::VARIANT FontFace::getVariant | ( | void | ) | const |
References _variant.
FontFace::WEIGHT FontFace::getWeight | ( | void | ) | const |
References _weight.
bool FontFace::hasFixedSizes | ( | void | ) | const |
References _hasFixedSizes.
bool FontFace::hasUnicodeValue | ( | UTF32 | v | ) | const |
References _unicodeValues.
Referenced by _checkOrthographies(), and _checkOrthography().
bool FontFace::hasVerticalMetrics | ( | void | ) | const |
References _hasVerticalMetrics.
bool FontFace::isFixedWidth | ( | void | ) | const |
References _isFixedWidth.
void FontFace::setReportOnFragmentary | ( | bool | x | ) |
References _reportFragmentary.
Referenced by main().
void FontFace::setReportOnFull | ( | bool | x | ) |
References _reportFull.
Referenced by main().
void FontFace::setReportOnMissing | ( | bool | x | ) |
References _reportMissing.
Referenced by main().
void FontFace::setReportOnPartial | ( | bool | x | ) |
References _reportPartial.
Referenced by main().
std::string FontFace::_commonName [private] |
Referenced by fillReport(), FontFace(), getBasicReport(), getCommonName(), and FontFace::compare::operator()().
std::string FontFace::_copyright [private] |
Referenced by _storeCopyrightSummary(), fillReport(), and getCopyright().
FT_Face FontFace::_face [private] |
Referenced by _checkLicenses(), _getUnicodeValues(), FontFace(), getBasicReport(), and ~FontFace().
std::string FontFace::_fileName [private] |
Referenced by FontFace(), and getFileName().
FAMILY FontFace::_genericFamily [private] |
Referenced by getFamily().
unsigned FontFace::_glyphCount [private] |
Referenced by fillReport(), FontFace(), and getGlyphCount().
bool FontFace::_hasFixedSizes [private] |
Referenced by fillReport(), FontFace(), getBasicReport(), and hasFixedSizes().
bool FontFace::_hasVerticalMetrics [private] |
Referenced by FontFace(), getBasicReport(), and hasVerticalMetrics().
bool FontFace::_isFixedWidth [private] |
Referenced by fillReport(), FontFace(), getBasicReport(), and isFixedWidth().
const LicenseData* FontFace::_licenseData [private] |
Referenced by _checkLicense(), _checkLicenses(), fillReport(), and getLicenseReport().
std::string FontFace::_licenseURL [private] |
Referenced by _checkLicenses(), and fillReport().
std::string FontFace::_nativeName [private] |
Referenced by fillReport(), FontFace(), getBasicReport(), and getNativeName().
bool FontFace::_reportFragmentary [private] |
Referenced by fillReport(), FontFace(), getOrthographyReport(), and setReportOnFragmentary().
bool FontFace::_reportFull [private] |
Referenced by fillReport(), FontFace(), getOrthographyReport(), and setReportOnFull().
bool FontFace::_reportMissing [private] |
Referenced by fillReport(), FontFace(), getOrthographyReport(), and setReportOnMissing().
bool FontFace::_reportPartial [private] |
Referenced by fillReport(), FontFace(), getOrthographyReport(), and setReportOnPartial().
STROKE FontFace::_stroke [private] |
Referenced by getStroke().
STYLE FontFace::_style [private] |
Referenced by fillReport(), FontFace(), getBasicReport(), and getStyle().
std::string FontFace::_subFamily [private] |
Referenced by fillReport(), FontFace(), getBasicReport(), getSubFamily(), and FontFace::compare::operator()().
std::vector< const OrthographyResults * > FontFace::_supportedOrthographies [private] |
Referenced by _checkOrthography(), fillReport(), and getOrthographyReport().
std::set<UTF32> FontFace::_unicodeValues [private] |
Referenced by _getUnicodeValues(), fillReport(), getBasicReport(), getCharacterCount(), and hasUnicodeValue().
VARIANT FontFace::_variant [private] |
Referenced by getVariant().
WEIGHT FontFace::_weight [private] |
Referenced by fillReport(), FontFace(), getBasicReport(), and getWeight().