From dcdb1457135456c962c5b9e9c703bdaa348664f5 Mon Sep 17 00:00:00 2001 From: sakiodre <136492105+sakiodre@users.noreply.github.com> Date: Tue, 4 Jul 2023 17:23:13 +0700 Subject: [PATCH] Docs: Fix outdated link in freetype docs (#6568) --- 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 140ae2257..b25b85d5a 100644 --- a/misc/freetype/README.md +++ b/misc/freetype/README.md @@ -12,7 +12,7 @@ Build font atlases using FreeType instead of stb_truetype (which is the default ### About Gamma Correct Blending FreeType assumes blending in linear space rather than gamma space. -See FreeType note for [FT_Render_Glyph](https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_Render_Glyph). +See FreeType note for [FT_Render_Glyph](https://freetype.org/freetype2/docs/reference/ft2-glyph_retrieval.html#ft_render_glyph). For correct results you need to be using sRGB and convert to linear space in the pixel shader output. The default Dear ImGui styles will be impacted by this change (alpha values will need tweaking).