summaryrefslogtreecommitdiff
path: root/src/mbgl/text/local_glyph_rasterizer.hpp
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2017-11-28 15:21:40 -0800
committerChris Loer <chris.loer@gmail.com>2017-11-29 13:50:15 -0800
commit132e13fe9a4b789a57574c6f2ca168bbb50d6a06 (patch)
tree1b7947773fe6f91f10ac48c7d173bfe4213abca9 /src/mbgl/text/local_glyph_rasterizer.hpp
parent97100b1209062fac359d57f39e3549391fd08d4b (diff)
downloadqtlocation-mapboxgl-132e13fe9a4b789a57574c6f2ca168bbb50d6a06.tar.gz
Change LocalGlyphRasterizer configuration to just a plain "font family" string, plumb it out as far as the Renderer constructor.
Diffstat (limited to 'src/mbgl/text/local_glyph_rasterizer.hpp')
-rw-r--r--src/mbgl/text/local_glyph_rasterizer.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/text/local_glyph_rasterizer.hpp b/src/mbgl/text/local_glyph_rasterizer.hpp
index f43676dfa4..82b16b534d 100644
--- a/src/mbgl/text/local_glyph_rasterizer.hpp
+++ b/src/mbgl/text/local_glyph_rasterizer.hpp
@@ -33,7 +33,7 @@ namespace mbgl {
class LocalGlyphRasterizer {
public:
virtual ~LocalGlyphRasterizer();
- LocalGlyphRasterizer(void* configuration = nullptr);
+ LocalGlyphRasterizer(const optional<std::string> fontFamily = optional<std::string>());
// virtual so that test harness can override platform-specific behavior
virtual bool canRasterizeGlyph(const FontStack&, GlyphID);