comment
This commit is contained in:
parent
7d1a43cb5e
commit
036a028ecd
1 changed files with 3 additions and 0 deletions
|
@ -148,6 +148,9 @@ bool Atlas::generate(bool useCache,
|
|||
msdf_atlas::FontGeometry _fontGeometry(&variationGlyphs);
|
||||
fontGeometry = _fontGeometry;
|
||||
|
||||
// this function silently fails, if variation is not available
|
||||
// which is absolutely fine, and allows to set a random
|
||||
// variation step for non-variable fonts.
|
||||
msdfgen::setFontVariationAxis(ft,
|
||||
font,
|
||||
variation.name.c_str(),
|
||||
|
|
Loading…
Reference in a new issue