Used for test
| 433 | |
| 434 | // Used for test |
| 435 | FontResult GetOrCreateGlyph(dmRender::HFontMap font_map, HFont font, uint32_t codepoint, FontGlyph** glyph) |
| 436 | { |
| 437 | uint32_t glyph_index = FontGetGlyphIndex(font, codepoint); |
| 438 | return GetOrCreateGlyphByIndex(font_map, font, glyph_index, glyph); |
| 439 | } |
| 440 | |
| 441 | void AddGlyphByIndex(dmRender::HFontMap font_map, HFont font, uint32_t glyph_index, FontGlyph* glyph) |
| 442 | { |