[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.
This commit is contained in:
Chris Loer
2017-11-27 12:50:28 -08:00
committed by Chris Loer
parent 1661af1cb4
commit cb380064bb
15 changed files with 309 additions and 28 deletions

View File

@@ -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();