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 Common::String::size_type cursor = Common::String::npos)
override;
Definition: rendered_text.h:32
Definition: shape_font.h:31
int getHeight() override
get the height of the font
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)
void getStringSize(const Common::String &text, int32 &width, int32 &height) override
RenderedText * renderText(const Common::String &text, unsigned int &remaining, int32 width=0, int32 height=0, TextAlign align=TEXT_LEFT, bool u8specials=false, bool pagebreaks=false, Common::String::size_type cursor=Common::String::npos) override