[android] Expose "local ideograph font family" in MapSnapshotter::Options

Use local glyph generation in test app's MapSnapshotterActivity.
This commit is contained in:
Chris Loer
2018-11-20 13:46:26 -08:00
committed by Chris Loer
parent 336409b861
commit 0bba794e98
4 changed files with 39 additions and 7 deletions

View File

@@ -68,7 +68,8 @@ public class MapSnapshotterActivity extends AppCompatActivity {
.withPixelRatio(1)
// Optionally the style
.withStyle((column + row) % 2 == 0 ? Style.MAPBOX_STREETS : Style.DARK);
.withStyle((column + row) % 2 == 0 ? Style.MAPBOX_STREETS : Style.DARK)
.withLocalIdeographFontFamily("sans-serif");
// Optionally the visible region
if (row % 2 == 0) {