diff --git a/extra_fonts/README.txt b/extra_fonts/README.txt index 0e135a95..468fe578 100644 --- a/extra_fonts/README.txt +++ b/extra_fonts/README.txt @@ -81,7 +81,7 @@ ImFontConfig config; config.MergeMode = true; io.Fonts->AddFontFromFileTTF("fontawesome-webfont.ttf", 16.0f, &config, ranges); - io.Fonts->AddFontFromFileTTF("myfontfile.ttf", size_pixels, NULL, &config, io.Fonts->GetGlyphRangesJapanese()); + io.Fonts->AddFontFromFileTTF("myfontfile.ttf", size_pixels, &config, io.Fonts->GetGlyphRangesJapanese()); Add a fourth parameter to bake specific font ranges only: