Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use only Roboto as font #1

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ fun createStyle(name: String, accessToken: String, languages: List<String>, colo
val defaultTextStyle = Text(
text = coalesceName(),
size = byZoom(1.0 to 13.0, 24.0 to 64.0),
fonts = listOf("Roboto Regular", "Noto Regular"),
fonts = listOf("Roboto Regular"),
color = colors.text,
outlineColor = colors.textOutline,
outlineWidth = 2.5,
Expand Down Expand Up @@ -436,7 +436,7 @@ fun createStyle(name: String, accessToken: String, languages: List<String>, colo
Layer("labels-country",
src = "place_label",
filter = listOf(tagIs("class", "country")),
paint = defaultTextStyle.copy(fonts = listOf("Roboto Bold", "Noto Bold"))
paint = defaultTextStyle.copy(fonts = listOf("Roboto Bold"))
),

Layer("labels-localities",
Expand Down