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 Atlas::getAtlasPathDir(){
string fontPathNoData = fontPath; string fontPathNoData = fontPath;
ofStringReplace(fontPathNoData, "data/", ""); ofStringReplace(fontPathNoData, "data/", "");
string atlasPath = "data/atlascache/" + fontPathNoData; string atlasPath = "data/atlascache/" + fontPathNoData + "/msdfgen";
return atlasPath; return atlasPath;
} }
string Atlas::getAtlasPath(){ string Atlas::getAtlasPath(){