Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[core] don't force downloading of Open Sans fonts #11057

Merged
merged 1 commit into from
Jan 26, 2018

Conversation

kkaefer
Copy link
Contributor

@kkaefer kkaefer commented Jan 26, 2018

Backport #11055

@kkaefer kkaefer added the Core The cross-platform C++ core, aka mbgl label Jan 26, 2018
When a SymbolLayer doesn't have a text-font defined, we automatically add Open Sans/Arial Unicode MS. However, when the SymbolLayer is only used for rendering icons, it doesn't have text-field defined either. In those cases, we still force downloading Open Sans/Arial Unicode MS during offline pack creation. If the user doesn't use this font, this change should save ~15MB and a few seconds in download time.
@kkaefer kkaefer merged commit ce429dc into release-boba Jan 26, 2018
@kkaefer kkaefer deleted the release-boba__no-open-sans branch January 26, 2018 22:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants