diff options
author | Joe Wilm <joe@jwilm.com> | 2017-01-02 18:52:41 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2017-01-02 19:49:38 -0800 |
commit | 86301856391b05047f1fd9f2e8999d61b26d982e (patch) | |
tree | 2163b2fead9d1c45bb72670b32558cb781f2d4a5 /README.md | |
parent | 04d69e3c2902bca56605ad59e60b2ae1e5ce91a3 (diff) |
Rework font loading
This work started because we wanted to be able to simply say "monospace"
on Linux and have it give us some sort of font. The config format for
fonts changed to accomodate this new paradigm. As a result, italic and
bold can have different families from the normal (roman) face.
The fontconfig based font resolution probably works a lot better than
the CoreText version at this point. With CoreText, we simply iterate
over fonts and check it they match the requested properties. What's
worse is that the CoreText version requires a valid family. With
fontconfig, it will just provide the closest matching thing and use it
(unless a specific style is requested).
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions