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

Render CJK glyphs at client side [Android/iOS] #10340

Closed
chriswu42 opened this issue Oct 31, 2017 · 4 comments
Closed

Render CJK glyphs at client side [Android/iOS] #10340

chriswu42 opened this issue Oct 31, 2017 · 4 comments
Labels
Android Mapbox Maps SDK for Android Core The cross-platform C++ core, aka mbgl iOS Mapbox Maps SDK for iOS

Comments

@chriswu42
Copy link

Summary

Loading CJK glyphs at the client side enables significantly faster map loads than downloading font packages per query. For example, we can reduce the overall map package from 15mb to 1.5mb using this technique - this is something that many developers/customers in Asia are looking to optimize when adding maps on their mobile apps / websites.

@ChrisLoer implemented CJK loading at client side on GL JS using TinySDF and we are looking to add support on native SDKs for Android and iOS.

Technical lifts

  1. gl-native “core” support for using TinySDF
  2. Android-specific font-loading and configuration
  3. iOS-specific font-loading and configuration.

Per voice with @ChrisLoer, he could tackle the first item, but we are looking for support from the Android and iOS teams for items 2 and 3, respectively. @zugaldia @boundsj

@ChrisLoer please add in any technical details I may be missing.

cc @mourner

@zugaldia
Copy link
Member

zugaldia commented Nov 1, 2017

cc: @lilykaiser

@1ec5
Copy link
Contributor

1ec5 commented Nov 11, 2017

Rendering system or local fonts for all scripts, not just CJK, is also tracked in #7862.

@kkaefer kkaefer added Android Mapbox Maps SDK for Android Core The cross-platform C++ core, aka mbgl iOS Mapbox Maps SDK for iOS labels Nov 24, 2017
@kkaefer
Copy link
Member

kkaefer commented Nov 24, 2017

First part of this PR is in #10522

@lilykaiser
Copy link

Since #10522 has merged, I believe this can be closed. If I'm wrong, please reopen!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android Core The cross-platform C++ core, aka mbgl iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

5 participants