add text letterSpacing

This commit is contained in:
Ansis Brammanis
2014-05-30 04:02:23 -04:00
parent 7c653895c6
commit 9ac55e0d74
5 changed files with 14 additions and 4 deletions

View File

@@ -227,7 +227,7 @@ std::unique_ptr<Bucket> TileParser::createTextBucket(const VectorTileLayer& laye
// Shape labels.
const Shaping shaped = fontStack.getShaping(string, bucket_desc.geometry.max_width,
bucket_desc.geometry.line_height, bucket_desc.geometry.alignment,
bucket_desc.geometry.vertical_alignment);
bucket_desc.geometry.vertical_alignment, bucket_desc.geometry.letter_spacing);
shaping.emplace(toString(it_prop->second), shaped);
// Place labels.