mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-04 20:46:29 +03:00
More improvements for text shaping.
This commit is contained in:
@@ -133,6 +133,8 @@ class EE_API FontTrueType : public Font {
|
||||
|
||||
void* hb() const { return mHBFont; }
|
||||
|
||||
bool setCurrentSize( unsigned int characterSize ) const;
|
||||
|
||||
protected:
|
||||
friend class Text;
|
||||
|
||||
@@ -179,8 +181,6 @@ class EE_API FontTrueType : public Font {
|
||||
|
||||
Rect findGlyphRect( Page& page, unsigned int width, unsigned int height ) const;
|
||||
|
||||
bool setCurrentSize( unsigned int characterSize ) const;
|
||||
|
||||
Page& getPage( unsigned int characterSize ) const;
|
||||
|
||||
typedef UnorderedMap<unsigned int, std::unique_ptr<Page>>
|
||||
|
||||
Reference in New Issue
Block a user