summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLRendererConfiguration.h
diff options
context:
space:
mode:
authorLloyd Sheng <i@lloydsheng.com>2019-02-27 14:49:49 +0800
committerGitHub <noreply@github.com>2019-02-27 14:49:49 +0800
commit0a41bb1e666c7c16b49993152682c67a6a1f49c8 (patch)
treef1c77f2566c1f5620447536de557fe48dabd8d10 /platform/darwin/src/MGLRendererConfiguration.h
parentcced7db5118ca947455717574c175e5ce5b1a6f0 (diff)
downloadqtlocation-mapboxgl-0a41bb1e666c7c16b49993152682c67a6a1f49c8.tar.gz
[ios] Make PingFang as the default local font family for GCJ glyphs(#13988)
* Make PingFang as the default local font family * Add a changelog
Diffstat (limited to 'platform/darwin/src/MGLRendererConfiguration.h')
-rw-r--r--platform/darwin/src/MGLRendererConfiguration.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLRendererConfiguration.h b/platform/darwin/src/MGLRendererConfiguration.h
index ea13582488..a2ad4d6cdc 100644
--- a/platform/darwin/src/MGLRendererConfiguration.h
+++ b/platform/darwin/src/MGLRendererConfiguration.h
@@ -34,8 +34,9 @@ MGL_EXPORT
Currently only used for CJK glyphs. Changing this at run time is not currently
supported. Enable client-side rendering of CJK glyphs by setting
`MGLIdeographicFontFamilyName` in your containing app's Info.plist to a value
- which will be available at run time, e.g. "PingFang". */
-@property (nonatomic, readonly) mbgl::optional<std::string> localFontFamilyName;
+ which will be available at run time. Default font for local ideograph font family
+ is "PingFang". */
+@property (nonatomic, readonly) std::string localFontFamilyName;
/**
A Boolean value indicating whether symbol layers may enable per-source symbol