#include <fonts.hpp>
|
| font ()=default |
|
| ~font () |
|
bool | can_display (char32_t ch_in) const |
|
void | make_glyph (char32_t ch_in) |
|
float | base_glyph_width (char32_t ch_in) |
|
float | line_height (int32_t size) const |
|
float | ascender (int32_t size) const |
|
float | descender (int32_t size) const |
|
float | top_adjustment (int32_t size) const |
|
float | text_extent (sys::state &state, stored_glyphs const &txt, uint32_t starting_offset, uint32_t count, int32_t size) |
|
void | remake_cache (sys::state &state, font_selection type, stored_glyphs &txt, std::string const &source) |
|
void | remake_cache (stored_glyphs &txt, std::string const &source) |
|
void | remake_cache (sys::state &state, font_selection type, stored_glyphs &txt, std::span< uint16_t > source) |
|
void | remake_bidiless_cache (sys::state &state, font_selection type, stored_glyphs &txt, std::span< uint16_t > source) |
|
| font (font &&o) noexcept |
|
font & | operator= (font &&o) noexcept |
|
Definition at line 101 of file fonts.hpp.
◆ font() [1/2]
◆ ~font()
◆ font() [2/2]
text::font::font |
( |
font && |
o | ) |
|
|
inlinenoexcept |
◆ ascender()
float text::font::ascender |
( |
int32_t |
size | ) |
const |
◆ base_glyph_width()
float text::font::base_glyph_width |
( |
char32_t |
ch_in | ) |
|
◆ can_display()
bool text::font::can_display |
( |
char32_t |
ch_in | ) |
const |
◆ descender()
float text::font::descender |
( |
int32_t |
size | ) |
const |
◆ line_height()
float text::font::line_height |
( |
int32_t |
size | ) |
const |
◆ make_glyph()
void text::font::make_glyph |
( |
char32_t |
ch_in | ) |
|
◆ operator=()
font & text::font::operator= |
( |
font && |
o | ) |
|
|
inlinenoexcept |
◆ remake_bidiless_cache()
◆ remake_cache() [1/3]
void text::font::remake_cache |
( |
stored_glyphs & |
txt, |
|
|
std::string const & |
source |
|
) |
| |
◆ remake_cache() [2/3]
◆ remake_cache() [3/3]
◆ text_extent()
◆ top_adjustment()
float text::font::top_adjustment |
( |
int32_t |
size | ) |
const |
◆ font_manager
◆ file_data
std::unique_ptr<FT_Byte[]> text::font::file_data |
◆ file_name
std::string text::font::file_name |
◆ first_free_slot
uint16_t text::font::first_free_slot = 0 |
◆ font_face
FT_Face text::font::font_face = nullptr |
◆ glyph_positions
ankerl::unordered_dense::map<char32_t, glyph_sub_offset> text::font::glyph_positions |
◆ hb_buf
hb_buffer_t* text::font::hb_buf = nullptr |
◆ hb_font_face
hb_font_t* text::font::hb_font_face = nullptr |
◆ internal_ascender
float text::font::internal_ascender = 0.0f |
◆ internal_descender
float text::font::internal_descender = 0.0f |
◆ internal_line_height
float text::font::internal_line_height = 0.0f |
◆ internal_top_adj
float text::font::internal_top_adj = 0.0f |
◆ only_raw_codepoints
bool text::font::only_raw_codepoints = false |
◆ textures
std::vector<uint32_t> text::font::textures |
◆ win1252_codepoints
std::array<FT_ULong, 256> text::font::win1252_codepoints |
The documentation for this class was generated from the following files: