From b02c7178d1471ae0d844fe533e398df94f2dda42 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Sun, 19 Mar 2023 12:00:39 +0100 Subject: [PATCH] better comments --- src/Atlas.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Atlas.cpp b/src/Atlas.cpp index 2a88e77..83aea22 100644 --- a/src/Atlas.cpp +++ b/src/Atlas.cpp @@ -61,7 +61,11 @@ bool ofxMsdfgen::Atlas::generate(){ fontGeometry.loadCharset(font, 1.0, charset); if(glyphs.size() != settings.characters.length()){ fontGeometry.getGlyphs().empty(); - fontGeometry.loadCharset(font, 1.0, charset, false); + fontGeometry.loadCharset(font, + 1.0, // fontScale + charset, // charset + false, // preprocess geometry + true); // kerning } } // Apply MSDF edge coloring. See edge-coloring.h for other coloring strategies.