Simon Hausmann
c7641a528d
Fix use of default font family with Skia
...
Go through the default font manager in style matching first, so that the empty family is matched against system defaults.
Otherwise the first registered custom font because the overall default.
2022-08-02 12:00:56 +02:00
Simon Hausmann
4da67036ac
Add support for custom fonts
2022-08-02 12:00:56 +02:00
Olivier Goffart
4ff8daa2ac
skia: implement text vertical alignment
2022-08-02 12:00:56 +02:00
Olivier Goffart
183d58b876
Skia: attempt to get text eliding and alignment
2022-08-02 12:00:56 +02:00
Simon Hausmann
38e1a4f9c8
Set font weight and letter spacing
2022-08-02 12:00:56 +02:00
Simon Hausmann
480da2506c
Remove unused import (oops)
2022-08-02 12:00:56 +02:00
Simon Hausmann
c587c3a270
Avoid re-creating the font collection every time we lay out text
2022-08-02 12:00:56 +02:00
Simon Hausmann
780775a303
Begin work on text rendering
2022-08-02 12:00:56 +02:00