Describes a font match. More...
Public Member Functions | |
FontMatch () | |
Creates a non-matching font. | |
FontMatch (const std::string &fileName, double quality) | |
Creates a match with a font in the given file name. | |
std::string | fileName () const |
Returns the font file. | |
double | quality () const |
Returns the match quality. |
Describes a font match.
double Wt::WPdfImage::FontMatch::quality | ( | ) | const |
Returns the match quality.
This is a number between 0 and 1, where 1 indicates a perfect match and 0 indicates no match.