Searched refs:new_font_cfg (Results 1 – 1 of 1) sorted by relevance
1557 ImFontConfig& new_font_cfg = ConfigData.back(); in AddFont() local1558 if (new_font_cfg.DstFont == NULL) in AddFont()1559 new_font_cfg.DstFont = Fonts.back(); in AddFont()1560 if (!new_font_cfg.FontDataOwnedByAtlas) in AddFont()1562 new_font_cfg.FontData = ImGui::MemAlloc(new_font_cfg.FontDataSize); in AddFont()1563 new_font_cfg.FontDataOwnedByAtlas = true; in AddFont()1564 memcpy(new_font_cfg.FontData, font_cfg->FontData, (size_t)new_font_cfg.FontDataSize); in AddFont()1569 return new_font_cfg.DstFont; in AddFont()