mapbox / mapbox/mapbox-gl-js

Setting localIdeographFontFamily to -apple-system in iPadOS 15 causes map and page to crash

Open
#11,045 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug :lady_beetle: environment-specific :desktop_computer:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

Setting localIdeographFontFamily to -apple-system in iPadOS 15 causes map and page to crash instantly, whenever Chinese, Japanese or Korean symbols are displayed on the map.

iPadOS 15 was released yesterday, there was no issue with iPadOS 14. It is most likely this fatal bug is also present in iOS 15.

However setting localIdeographFontFamily to a normal font, or to sans-serif works fine.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce on iPadOS 15 by setting localIdeographFontFamily to -apple-system and displaying Chinese, Japanese, or Korean symbols on the map. Compare the crash with normal-font and sans-serif settings, then trace the platform-specific font and map rendering path. Done means the map and page no longer crash for this configuration, with the behavior checked against the reported alternatives.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript, typescript
Domain
computer-graphics, frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.