diff options
author | Young Hahn <young@mapbox.com> | 2014-05-29 22:54:46 -0400 |
---|---|---|
committer | Young Hahn <young@mapbox.com> | 2014-05-29 22:54:46 -0400 |
commit | 6e53a0328b5de4609f9bc187d6f076ee9f65ecaa (patch) | |
tree | 043fe0fc0f75be692cd3af7f281d9b6f1d2f376a /proto | |
parent | 0b9c45721f4feedee49475454eb2a3f0c193d069 (diff) | |
download | qtlocation-mapboxgl-6e53a0328b5de4609f9bc187d6f076ee9f65ecaa.tar.gz |
Remove VectorTileGlyph, VectorTileFace, IndexedFaces, Faces and glyph related parts of vector_tile.proto. Refs #274.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/vector_tile.proto | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/proto/vector_tile.proto b/proto/vector_tile.proto index e982c1a018..ea482adb26 100644 --- a/proto/vector_tile.proto +++ b/proto/vector_tile.proto @@ -75,43 +75,6 @@ message feature { optional uint32 vertex_count = 6; } -// Stores a glyph with metrics and optional SDF bitmap information. -message glyph { - required uint32 id = 1; - - // A signed distance field of the glyph with a border of 3 pixels. - optional bytes bitmap = 2; - - // Glyph metrics. - required uint32 width = 3; - required uint32 height = 4; - required sint32 left = 5; - required sint32 top = 6; - required uint32 advance = 7; -} - -// Stores font face information and a list of glyphs. -message face { - required string family = 1; - required string style = 2; - repeated glyph glyphs = 5; -} - -// Stores the shaping information for the label with a given text -message label { - // The original value ID this shaping information is for. - required uint32 text = 1; - - // References the index of the font stack in the layer's fontstack array. - required uint32 stack = 2; - - // Parallel arrays of face ID, glyph ID and position. - repeated uint32 faces = 3 [packed = true]; - repeated uint32 glyphs = 4 [packed = true]; - repeated uint32 x = 5 [packed = true]; - repeated uint32 y = 6 [packed = true]; -} - message layer { // Any compliant implementation must first read the version // number encoded in this message and choose the correct @@ -136,18 +99,11 @@ message layer { // Total vertex count in this layer. optional uint32 vertex_count = 6; - // Shaping information for labels contained in this tile. - repeated string faces = 7; - repeated label labels = 8; - repeated string stacks = 9; - extensions 16 to max; } message tile { repeated layer layers = 3; - repeated face faces = 4; - extensions 16 to 8191; } |