From 6dbb9eb22a43923a12440df8822fafaee8fe6731 Mon Sep 17 00:00:00 2001 From: Chris Loer Date: Fri, 8 Dec 2017 10:44:05 -0800 Subject: [ios,macos] Update docs to use Apple-friendly "PingFang" font example. --- platform/darwin/src/MGLRendererConfiguration.h | 2 +- platform/ios/app/Info.plist | 2 +- platform/ios/docs/guides/Info.plist Keys.md | 2 +- platform/macos/docs/guides/Info.plist Keys.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/darwin/src/MGLRendererConfiguration.h b/platform/darwin/src/MGLRendererConfiguration.h index 676cc91719..dc434a4fbb 100644 --- a/platform/darwin/src/MGLRendererConfiguration.h +++ b/platform/darwin/src/MGLRendererConfiguration.h @@ -32,7 +32,7 @@ NS_ASSUME_NONNULL_BEGIN Currently only used for CJK glyphs. Changing this at run time is not currently supported. Enable client-side rendering of CJK glyphs by setting `MGLIdeographFontFamilyName` in your containing app's Info.plist to a value - which will be available at run time, i.e. "Arial Unicode MS". */ + which will be available at run time, e.g. "PingFang". */ @property (nonatomic, readonly) mbgl::optional localFontFamilyName; @end diff --git a/platform/ios/app/Info.plist b/platform/ios/app/Info.plist index 9f772324c5..e04976ba2a 100644 --- a/platform/ios/app/Info.plist +++ b/platform/ios/app/Info.plist @@ -24,7 +24,7 @@ 7877 LSRequiresIPhoneOS - MGLIdeographicFontFamilyName + MGLIdeographFontFamilyName PingFang NSHumanReadableCopyright © 2014–2017 Mapbox diff --git a/platform/ios/docs/guides/Info.plist Keys.md b/platform/ios/docs/guides/Info.plist Keys.md index dc9e0a302a..40d53fb9f8 100644 --- a/platform/ios/docs/guides/Info.plist Keys.md +++ b/platform/ios/docs/guides/Info.plist Keys.md @@ -22,4 +22,4 @@ If you have implemented custom opt-out of Mapbox Telemetry within the user inter ## MGLIdeographFontFamilyName -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, i.e. `Arial Unicode MS`. +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`. diff --git a/platform/macos/docs/guides/Info.plist Keys.md b/platform/macos/docs/guides/Info.plist Keys.md index 3a3edd33f1..736f1cf7e6 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`. ## MGLIdeographFontFamilyName -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, i.e. `Arial Unicode MS`. +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`. -- cgit v1.2.1