better comments

This commit is contained in:
jrkb 2023-03-19 12:00:39 +01:00
parent d3359db1e8
commit b02c7178d1

View file

@ -61,7 +61,11 @@ bool ofxMsdfgen::Atlas::generate(){
fontGeometry.loadCharset(font, 1.0, charset); fontGeometry.loadCharset(font, 1.0, charset);
if(glyphs.size() != settings.characters.length()){ if(glyphs.size() != settings.characters.length()){
fontGeometry.getGlyphs().empty(); 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. // Apply MSDF edge coloring. See edge-coloring.h for other coloring strategies.