This commit is contained in:
jrkb 2023-04-07 09:53:27 +02:00
parent 96f9248edc
commit ad95ad0fe9

View file

@ -93,15 +93,6 @@ void LayerComposition::addLayer(const ComboIdentifier & identifier,
auto props = Layer::Props(); auto props = Layer::Props();
props.text = text; props.text = text;
layer->setProps(props); layer->setProps(props);
//ofxMsdfgen::AtlasSettings as;
//as.characters = "";
//for(const char c : text){
//if(as.characters.find(c) == std::string::npos){
//// not found
//as.characters += c;
//}
//}
//combo->atlas->setup(identifier.fontPath, as);
std::vector <ofxMsdfgen::FontVariation> msdfVariations; std::vector <ofxMsdfgen::FontVariation> msdfVariations;
for(const auto & v : variations){ for(const auto & v : variations){
msdfVariations.push_back({v.name, v.value}); msdfVariations.push_back({v.name, v.value});