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

Add support for excluding ideographic characters from offline downloads #11561

Closed

Description

@ChrisLoer

I just took a look at a ~200MB offline cache I collected for a narrow area around Beijing. It appeared to have ~24MB of tiles and ~161MB of font data. I suspect a large amount of that font data is CJK ideographs, which I don't need because I'm using the cache with an app that renders ideographs locally. We should add an option to OfflineDownload to exclude requests for glyph ranges that are part of i18n::allowsFixedWidthGlyphGeneration, expose the option in the various users of OfflineDownload (mbgl-offline, MGLOfflineStorage, ...?), and figure out how to document it appropriately.

/cc @kkaefer @tobrun @1ec5

Activity

  1. self-assigned this
    on Mar 29, 2018
  2. mb12 commented on Mar 29, 2018

    @mb12

    @ChrisLoer Another approach to reduce the download bandwidth would be to download the .ttf file and generate the pbfs locally using node-fontnik. For 'Open Sans' fonts, this can reduce bandwidth by 6x (uncompressed).

  3. stale commented on Oct 25, 2018

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  4. added
    archived
    on Oct 25, 2018
  5. removed
    archived
    on Oct 25, 2018
  6. ChrisLoer commented on Dec 21, 2018

    @ChrisLoer
    ContributorAuthor

    Implemented in #13607.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

good first issueoffline

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions