27#ifndef __PLATFORMFONT_H__
28#define __PLATFORMFONT_H__
30#include "../../objects/PFont.h"
31#include "../../objects/PColor.h"
32#include "../../utility/rc_ptrs.h"
33#include "../../base/PEBLObject.h"
54#include <harfbuzz/hb.h>
55#include <harfbuzz/hb-ft.h>
82 SDL_Texture *
RenderText(
const std::wstring & text);
86 unsigned int GetPosition(
const std::string & text,
unsigned int x);
87 virtual std::string
ObjectName()
const{
return "Platform Font";};
94 std::string StripText(
const std::string & text);
97 FT_Library * mLibrary;
102 SDL_Color mSDL_FGColor;
103 SDL_Color mSDL_BGColor;