1
0
Fork 0

FontEngine: remove hinting (exists in FontDescripion class) and let child classes handle it.

This commit is contained in:
Henrik Hautakoski 2020-01-06 00:19:12 +01:00
parent 6e14209aae
commit f72178ffd0
No known key found for this signature in database
GPG key ID: 96765B12FEAC4745
5 changed files with 8 additions and 31 deletions

View file

@ -12,11 +12,6 @@ namespace sp {
class FontEngine
{
public :
FontEngine();
void setHinting(bool value);
virtual bool setCharacterSize(unsigned int size) = 0;
virtual bool loadFromFile(const std::string& filename) = 0;
@ -24,11 +19,6 @@ public :
virtual Glyph loadGlyph(unsigned int codepoint, Image& img, unsigned int outlineSize = 0) = 0;
virtual std::string getName() = 0;
protected :
// True if hinting is enabled. false otherwise.
bool m_hinting;
};
} // namespace sp