diff options
author | Chris Loer <chris.loer@gmail.com> | 2017-11-27 12:50:28 -0800 |
---|---|---|
committer | Chris Loer <chris.loer@mapbox.com> | 2017-12-11 10:43:00 -0800 |
commit | cb380064bb768c1a20d2260ac4a032dbcd3184fe (patch) | |
tree | e833b8e057b63c93626f0aea4804f926156bb8cd /include | |
parent | 1661af1cb409505bb362e2274cb61f097ad25864 (diff) | |
download | qtlocation-mapboxgl-cb380064bb768c1a20d2260ac4a032dbcd3184fe.tar.gz |
[ios,macos] Darwin implementation of a CoreText-based LocalGlyphRasterizer.
- Changing font weight does not currently appear to be working.
- Glyph metric extraction code not working; currently unused.
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/renderer/renderer.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mbgl/renderer/renderer.hpp b/include/mbgl/renderer/renderer.hpp index 0937e9334b..db28ee92fc 100644 --- a/include/mbgl/renderer/renderer.hpp +++ b/include/mbgl/renderer/renderer.hpp @@ -25,7 +25,8 @@ class Renderer { public: Renderer(RendererBackend&, float pixelRatio_, FileSource&, Scheduler&, GLContextMode = GLContextMode::Unique, - const optional<std::string> programCacheDir = {}); + const optional<std::string> programCacheDir = {}, + const optional<std::string> localFontFamily = {}); ~Renderer(); void markContextLost(); |