[ios,macos] Update docs to use Apple-friendly "PingFang" font example.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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`.
|
||||
|
||||
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user