This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
Stretchable icons #16030
Merged
Merged
Stretchable icons #16030
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
c39c72b
[core] Upgrade shaders and add new vertices to SymbolLayout
kkaefer 66a6f1f
[core] add pixelOffset and minFontScale to SymbolQuads
kkaefer 7966d06
[core] getGlyphQuad -> getGlyphQuads
kkaefer ba90f7b
[core] Add stretches and content to style::Image
kkaefer 660a9f0
[core] parse stretchX, stretchX, and content from sprite JSON files
kkaefer 2c9cc9c
[core] add stretches + content to ImagePosition
kkaefer 047c257
[core] Change ImagePosition from storing non-padded rect to padded re…
kkaefer 924c11c
[core] Remove unused WritingMode from getIconQuads
kkaefer 42211e3
[core] move icon rotation from shaping to quad generation to mirror JS
kkaefer 9991dfd
[core] implement stretchable icons for icon-text-fit
kkaefer 9300477
[metrics] Baselines for stretchable icons feature
alexshalamov 3fce98b
[test-runner] Add stretchable icons resources to cache
alexshalamov 7fd838c
[core] Update changelog
alexshalamov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule mapbox-gl-js
updated
93 files
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 34 | ||
| ], | ||
| [ | ||
| 192, | ||
| 192 | ||
| 224, | ||
| 224 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 34 | ||
| ], | ||
| [ | ||
| 192, | ||
| 192 | ||
| 224, | ||
| 224 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 94 | ||
| ], | ||
| [ | ||
| 272, | ||
| 272 | ||
| 304, | ||
| 304 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 94 | ||
| ], | ||
| [ | ||
| 444, | ||
| 444 | ||
| 476, | ||
| 476 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 66 | ||
| ], | ||
| [ | ||
| 212, | ||
| 212 | ||
| 244, | ||
| 244 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 66 | ||
| ], | ||
| [ | ||
| 212, | ||
| 212 | ||
| 244, | ||
| 244 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 94 | ||
| ], | ||
| [ | ||
| 272, | ||
| 272 | ||
| 304, | ||
| 304 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 34 | ||
| ], | ||
| [ | ||
| 192, | ||
| 192 | ||
| 224, | ||
| 224 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 82 | ||
| ], | ||
| [ | ||
| 272, | ||
| 272 | ||
| 304, | ||
| 304 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 34 | ||
| ], | ||
| [ | ||
| 192, | ||
| 192 | ||
| 224, | ||
| 224 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 34 | ||
| ], | ||
| [ | ||
| 192, | ||
| 192 | ||
| 224, | ||
| 224 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 34 | ||
| ], | ||
| [ | ||
| 192, | ||
| 192 | ||
| 224, | ||
| 224 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 94 | ||
| ], | ||
| [ | ||
| 272, | ||
| 272 | ||
| 304, | ||
| 304 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 94 | ||
| ], | ||
| [ | ||
| 444, | ||
| 444 | ||
| 476, | ||
| 476 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 66 | ||
| ], | ||
| [ | ||
| 212, | ||
| 212 | ||
| 244, | ||
| 244 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 66 | ||
| ], | ||
| [ | ||
| 212, | ||
| 212 | ||
| 244, | ||
| 244 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 94 | ||
| ], | ||
| [ | ||
| 272, | ||
| 272 | ||
| 304, | ||
| 304 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 34 | ||
| ], | ||
| [ | ||
| 192, | ||
| 192 | ||
| 224, | ||
| 224 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 82 | ||
| ], | ||
| [ | ||
| 272, | ||
| 272 | ||
| 304, | ||
| 304 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 34 | ||
| ], | ||
| [ | ||
| 192, | ||
| 192 | ||
| 224, | ||
| 224 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 46 | ||
| ], | ||
| [ | ||
| 320, | ||
| 320 | ||
| 384, | ||
| 384 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 1578 | ||
| ], | ||
| [ | ||
| 13856, | ||
| 13856 | ||
| 15648, | ||
| 15648 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 102 | ||
| ], | ||
| [ | ||
| 768, | ||
| 768 | ||
| 896, | ||
| 896 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 790 | ||
| ], | ||
| [ | ||
| 7232, | ||
| 7232 | ||
| 8256, | ||
| 8256 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 30814 | ||
| ], | ||
| [ | ||
| 286816, | ||
| 286816 | ||
| 327232, | ||
| 327232 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ | |
| 30814 | ||
| ], | ||
| [ | ||
| 286816, | ||
| 286816 | ||
| 327232, | ||
| 327232 | ||
| ] | ||
| ] | ||
| ] | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.