store atlascache in msdfgen subfolder

This commit is contained in:
jrkb 2023-04-11 10:05:06 +02:00
parent 903b03b6c3
commit b0a18dc88a

View file

@ -372,7 +372,7 @@ const vector <ofxMsdfgen::FontVariationAxis> & Atlas::getVariationAxesAvailable(
string Atlas::getAtlasPathDir(){
string fontPathNoData = fontPath;
ofStringReplace(fontPathNoData, "data/", "");
string atlasPath = "data/atlascache/" + fontPathNoData;
string atlasPath = "data/atlascache/" + fontPathNoData + "/msdfgen";
return atlasPath;
}
string Atlas::getAtlasPath(){