Lines Matching refs:FontData
1359 FontData = NULL;
1459 if (ConfigData[i].FontData && ConfigData[i].FontDataOwnedByAtlas)
1461 ImGui::MemFree(ConfigData[i].FontData);
1462 ConfigData[i].FontData = NULL;
1547 IM_ASSERT(font_cfg->FontData != NULL && font_cfg->FontDataSize > 0);
1562 new_font_cfg.FontData = ImGui::MemAlloc(new_font_cfg.FontDataSize);
1564 memcpy(new_font_cfg.FontData, font_cfg->FontData, (size_t)new_font_cfg.FontDataSize);
1635 IM_ASSERT(font_cfg.FontData == NULL);
1636 font_cfg.FontData = ttf_data;
1651 IM_ASSERT(font_cfg.FontData == NULL);
1823 const int font_offset = stbtt_GetFontOffsetForIndex((unsigned char*)cfg.FontData, cfg.FontNo);
1824 IM_ASSERT(font_offset >= 0 && "FontData is incorrect, or FontNo cannot be found.");
1825 if (!stbtt_InitFont(&src_tmp.FontInfo, (unsigned char*)cfg.FontData, font_offset))