From 760ef23ac3faf4437cadb52983383c9501336964 Mon Sep 17 00:00:00 2001 From: Andrew Kitchen Date: Fri, 15 Dec 2017 16:07:14 -0800 Subject: [ios, macos] Updates documentation with default CJK font recommendations Also updates the font to use for rendering CJK ideographs in our sample apps to `PingFang TC`, as simply specifying `PingFang` was always triggering iOS's font fallback behavior. [Fixes #10675] --- platform/macos/app/Info.plist | 2 ++ platform/macos/docs/guides/Info.plist Keys.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'platform/macos') diff --git a/platform/macos/app/Info.plist b/platform/macos/app/Info.plist index 21b86bfc75..8bb225358c 100644 --- a/platform/macos/app/Info.plist +++ b/platform/macos/app/Info.plist @@ -2,6 +2,8 @@ + MGLIdeographicFontFamilyName + PingFang TC CFBundleDevelopmentRegion en CFBundleDocumentTypes diff --git a/platform/macos/docs/guides/Info.plist Keys.md b/platform/macos/docs/guides/Info.plist Keys.md index c60635162f..be6096d167 100644 --- a/platform/macos/docs/guides/Info.plist Keys.md +++ b/platform/macos/docs/guides/Info.plist Keys.md @@ -18,4 +18,4 @@ The default value is `https://api.mapbox.com`. ## MGLIdeographicFontFamilyName -The name of the font family to use for client-side text rendering of CJK ideographs. Set this to the name of a font family which will be available at run time, e.g. `PingFang`. +The name of the font family to use for client-side text rendering of CJK ideographs. Set this to the name of a font family which will be available at run time, e.g. `PingFang TC` (iOS 9+), `Heiti TC` (iOS 8+), another appropriate built-in font, or a font provided by your application. Note that if a non-existent font is specified, iOS will fall back to using Helvetica which is likely not to include support for the glyphs needed to render maps in your application. \ No newline at end of file -- cgit v1.2.1