| 3607 | } |
| 3608 | |
| 3609 | void ImFontAtlasFontSourceAddToFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* src) |
| 3610 | { |
| 3611 | if (src->MergeMode == false) |
| 3612 | { |
| 3613 | font->ClearOutputData(); |
| 3614 | //font->FontSize = src->SizePixels; |
| 3615 | font->ContainerAtlas = atlas; |
| 3616 | IM_ASSERT(font->Sources[0] == src); |
| 3617 | } |
| 3618 | atlas->TexIsBuilt = false; // For legacy backends |
| 3619 | ImFontAtlasBuildSetupFontSpecialGlyphs(atlas, font, src); |
| 3620 | } |
| 3621 | |
| 3622 | void ImFontAtlasFontDestroySourceData(ImFontAtlas* atlas, ImFontConfig* src) |
| 3623 | { |
no test coverage detected