diff --git a/src/renderer/text_bucket.cpp b/src/renderer/text_bucket.cpp index 7e9633f4b..5823607ac 100644 --- a/src/renderer/text_bucket.cpp +++ b/src/renderer/text_bucket.cpp @@ -112,7 +112,7 @@ void TextBucket::addFeature(const VectorTileFeature &feature, } const Value &value = it_prop->second; - auto it_shaping = shapings.find(value); + auto it_shaping = shapings.find(toString(value)); if (it_shaping == shapings.end()) { if (debug::shapingWarning) { fprintf(stderr, "[WARNING] missing shaping for '%s'\n", toString(value).c_str());