22 #ifndef ULTIMA8_GFX_FONTS_SHAPEFONT_H 23 #define ULTIMA8_GFX_FONTS_SHAPEFONT_H 25 #include "ultima/ultima8/gfx/fonts/font.h" 26 #include "ultima/ultima8/gfx/shape.h" 36 bool _crusaderCharMap;
40 const uint16 flexId,
const uint32 shapenum);
48 int getVlead()
const {
51 int getHlead()
const {
55 void setVLead(
int vl) {
58 void setHLead(
int hl) {
62 int charToFrameNum(
char c)
const;
65 int32 &width, int32 &height)
override;
68 unsigned int &remaining, int32 width = 0, int32 height = 0,
69 TextAlign align = TEXT_LEFT,
bool u8specials =
false,
70 bool pagebreaks =
false,
71 Std::string::size_type cursor = Std::string::npos)
override;
Definition: shape_font.h:31
RenderedText * renderText(const Std::string &text, unsigned int &remaining, int32 width=0, int32 height=0, TextAlign align=TEXT_LEFT, bool u8specials=false, bool pagebreaks=false, Std::string::size_type cursor=Std::string::npos) override
int getBaselineSkip() override
get the baselineskip of the font (distance between two baselines)
int getBaseline() override
get the baseline of the font (relative from the top)
Definition: rendered_text.h:30
Definition: detection.h:27
int getHeight() override
get the height of the font
void getStringSize(const Std::string &text, int32 &width, int32 &height) override