Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

Promote glyphs to a top level element #77

Merged
merged 2 commits into from
Jul 2, 2014
Merged

Promote glyphs to a top level element #77

merged 2 commits into from
Jul 2, 2014

Conversation

kkaefer
Copy link
Member

@kkaefer kkaefer commented Jul 2, 2014

Currently, glyphs are specified in a source, but this doesn't make much sense, since multiple sources can use the same glyph endpoint. If we ever chose to support multiple glyph endpoints in a single stylesheet, we can revisit expanding this property later.

@kkaefer
Copy link
Member Author

kkaefer commented Jul 2, 2014

Explanation: It doesn't make sense conceptually to have glyph SDFs scoped to sources. The glyph SDFs are a stylesheet thing, not a datasource-specific thing. even if you use multiple different data sources, you want to use the same fonts across layers, even if they are from different data sources.
This is very similar to how sprite images work: they are a global per-style thing, not per datasource.

@mikemorris
Copy link

👍

ansis added a commit that referenced this pull request Jul 2, 2014
Promote glyphs to a top level element
@ansis ansis merged commit 5c3ce85 into master Jul 2, 2014
@mourner mourner deleted the toplevel-glyphs branch July 3, 2014 09:11
jfirebaugh added a commit to cutting-room-floor/mapbox-gl-style-lint that referenced this pull request Jul 3, 2014
@kkaefer kkaefer mentioned this pull request Jul 9, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants