9 #include <ewol/debug.hpp> 13 #include <gale/resource/Resource.hpp> 22 addResourceType(
"ewol::FontFreeType");
24 void init(
const std::string& _fontName) {
25 gale::Resource::init(_fontName);
30 virtual bool getGlyphProperty(int32_t _fontSize,
37 int8_t _posInImage) = 0;
42 int32_t _borderSize = 0) = 0;
44 virtual vec2 getSize(int32_t _fontSize,
const std::string& _unicodeString) = 0;
45 virtual float getSizeWithHeight(
float _fontHeight) = 0;
47 virtual int32_t getHeight(int32_t _fontSize) = 0;
49 virtual void generateKerning(int32_t _fontSize, std::vector<ewol::GlyphProperty>& _listGlyph) { };
51 virtual void display() {};
Definition: FontBase.hpp:19
Definition: GlyphProperty.hpp:48