Important! This assume by ImFontConfig::GlyphExcludeRanges[] is a SMALL ARRAY (e.g. <10 entries) Use "Input Glyphs Overlap Detection Tool" to display a list of glyphs provided by multiple sources in order to set this array up.
| 4509 | // Important! This assume by ImFontConfig::GlyphExcludeRanges[] is a SMALL ARRAY (e.g. <10 entries) |
| 4510 | // Use "Input Glyphs Overlap Detection Tool" to display a list of glyphs provided by multiple sources in order to set this array up. |
| 4511 | static bool ImFontAtlasBuildAcceptCodepointForSource(ImFontConfig* src, ImWchar codepoint) |
| 4512 | { |
| 4513 | if (const ImWchar* exclude_list = src->GlyphExcludeRanges) |
| 4514 | for (; exclude_list[0] != 0; exclude_list += 2) |
| 4515 | if (codepoint >= exclude_list[0] && codepoint <= exclude_list[1]) |
| 4516 | return false; |
| 4517 | return true; |
| 4518 | } |
| 4519 | |
| 4520 | static void ImFontBaked_BuildGrowIndex(ImFontBaked* baked, int new_size) |
| 4521 | { |
no outgoing calls
no test coverage detected