OpenTTD Source
20240919-master-gdf0233f4c2
|
Go to the documentation of this file.
10 #ifndef GFX_LAYOUT_FALLBACK_H
11 #define GFX_LAYOUT_FALLBACK_H
26 static size_t AppendToBuffer(char32_t *buff,
const char32_t *buffer_last, char32_t c);
char32_t CharType
Helper for GetLayouter, to get the right type.
Helper class to construct a new FallbackParagraphLayout.
Interface to glue fallback and normal layouter into one.
static const bool SUPPORTS_RTL
Helper for GetLayouter, to get whether the layouter supports RTL.
static size_t AppendToBuffer(char32_t *buff, const char32_t *buffer_last, char32_t c)
Append a wide character to the internal buffer.
static ParagraphLayouter * GetParagraphLayout(char32_t *buff, char32_t *buff_end, FontMap &fontMapping)
Get the actual ParagraphLayout for the given buffer.
std::map< int, Font * > FontMap
Mapping from index to font.