From 1d84d62c12e272172416d6b7c65e8b771f0c6f8e Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Thu, 21 Sep 2023 10:11:07 +0200 Subject: [PATCH] add comment --- src/gpufont/font.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gpufont/font.hpp b/src/gpufont/font.hpp index f468077..f5b9a77 100644 --- a/src/gpufont/font.hpp +++ b/src/gpufont/font.hpp @@ -915,6 +915,8 @@ class Font { bufferGlyph.start = static_cast (bufferCurves.size()); bool autoFixOutline = true; + // NOTE: this is a hack that should not be necessary if we use harfbuzz for textshaping + // and interpret font flags properly (we're attempting this, but it's not stable atm) if(autoFixOutline){ short start = 0; int n_contours = face->glyph->outline.n_contours;