diff options
author | Chris Loer <chris.loer@gmail.com> | 2017-12-08 10:44:05 -0800 |
---|---|---|
committer | Chris Loer <chris.loer@mapbox.com> | 2017-12-11 10:43:00 -0800 |
commit | 6dbb9eb22a43923a12440df8822fafaee8fe6731 (patch) | |
tree | 0196c3a8d0a6e196c8e39040a29507a643cbba5a /platform | |
parent | 05f70257c940ba36b2310d2b378502b1c7234a74 (diff) | |
download | qtlocation-mapboxgl-6dbb9eb22a43923a12440df8822fafaee8fe6731.tar.gz |
[ios,macos] Update docs to use Apple-friendly "PingFang" font example.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/darwin/src/MGLRendererConfiguration.h | 2 | ||||
-rw-r--r-- | platform/ios/app/Info.plist | 2 | ||||
-rw-r--r-- | platform/ios/docs/guides/Info.plist Keys.md | 2 | ||||
-rw-r--r-- | 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<std::string> 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 @@ <string>7877</string> <key>LSRequiresIPhoneOS</key> <true/> - <key>MGLIdeographicFontFamilyName</key> + <key>MGLIdeographFontFamilyName</key> <string>PingFang</string> <key>NSHumanReadableCopyright</key> <string>© 2014–2017 Mapbox</string> 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`. |