From 0903a12c2aeb959dcd14b2cf9cb783143a0f1012 Mon Sep 17 00:00:00 2001 From: "Marc J. Schmidt" Date: Wed, 30 May 2018 10:28:27 +0200 Subject: [PATCH] Fixed documentation example (#1847) --- misc/freetype/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/freetype/README.md b/misc/freetype/README.md index 4038dbcdf..ba633f698 100644 --- a/misc/freetype/README.md +++ b/misc/freetype/README.md @@ -12,7 +12,7 @@ By [Vuhdo](https://github.com/Vuhdo) (Aleksei Skriabin). Improvements by @mikesa ```cpp // See ImGuiFreeType::RasterizationFlags -unsigned int flags = ImGuiFreeType::DisableHinting; +unsigned int flags = ImGuiFreeType::NoHinting; ImGuiFreeType::BuildFontAtlas(io.Fonts, flags); io.Fonts->GetTexDataAsRGBA32(&pixels, &width, &height); ```