FontEngine: remove hinting (exists in FontDescripion class) and let child classes handle it.
This commit is contained in:
parent
6e14209aae
commit
f72178ffd0
5 changed files with 8 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue