| 376 | }; |
| 377 | |
| 378 | struct ImFontBuildSrcDataFT |
| 379 | { |
| 380 | FreeTypeFont Font; |
| 381 | stbrp_rect* Rects; // Rectangle to pack. We first fill in their size and the packer will give us their position. |
| 382 | const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request too much, e.g. 0x0020..0xFFFF) |
| 383 | int DstIndex; // Index into atlas->Fonts[] and dst_tmp_array[] |
| 384 | int GlyphsHighest; // Highest requested codepoint |
| 385 | int GlyphsCount; // Glyph count (excluding missing glyphs and glyphs already set by an earlier source font) |
| 386 | ImBitVector GlyphsSet; // Glyph bit map (random access, 1-bit per codepoint. This will be a maximum of 8KB) |
| 387 | ImVector<ImFontBuildSrcGlyphFT> GlyphsList; |
| 388 | }; |
| 389 | |
| 390 | // Temporary data for one destination ImFont* (multiple source fonts can be merged into one destination ImFont) |
| 391 | struct ImFontBuildDstDataFT |
nothing calls this directly
no outgoing calls
no test coverage detected