Commit graph

25 commits

Author SHA1 Message Date
Jeremy Soller
ea18576032 Make it possible to set and use default family 2022-10-25 21:16:02 -06:00
Jeremy Soller
d04337075a Make fontdb database public 2022-10-25 20:56:31 -06:00
Jeremy Soller
22036a0f9e Font does not need to store index, it is part of info 2022-10-25 19:17:40 -06:00
Jeremy Soller
3e8e28f0b3
Do not require lifetime for swash fontref 2022-10-25 18:16:14 -06:00
Jeremy Soller
59a4f8a4c1
Produce FontMatches inside of Buffer 2022-10-25 16:13:07 -06:00
Jeremy Soller
085231c153
Move font matching to Attrs 2022-10-25 15:51:28 -06:00
Jeremy Soller
324c8837fd
Cache fonts 2022-10-25 15:47:55 -06:00
Jeremy Soller
1a5b01575d
Record font mapping time 2022-10-25 14:52:43 -06:00
Jeremy Soller
66885686a0
Move fontdb source handling to font 2022-10-25 14:49:44 -06:00
Jeremy Soller
84f4381cdf
Add text attributes 2022-10-25 14:14:23 -06:00
Jeremy Soller
a9b7b4e914
Add layout run iterator 2022-10-25 12:52:46 -06:00
Jeremy Soller
0f446368ca
Have TextBuffer own FontMatches 2022-10-25 11:10:44 -06:00
Jeremy Soller
1c341f3126
Make swash optional, add swash cache abstraction 2022-10-25 10:55:24 -06:00
Jeremy Soller
42de42d59e
Do not store reference to font in shape or layout glyphs 2022-10-25 10:13:44 -06:00
Andrew Wheeler(Genusis)
5200f67196 Clippy Fixes 2022-10-25 08:58:40 -06:00
Jeremy Soller
d6d896688f
Track span rtl status in layout glyph 2022-10-24 17:14:30 -06:00
Jeremy Soller
92a83fc4a6
Revert "Switch unicode-linebreak to xi-unicode for ~25% faster builds"
This fixes ZJW emoji support.

This reverts commit c1262eca74.
2022-10-24 14:12:23 -06:00
Jeremy Soller
564dab009c Relicense MIT OR Apache 2.0 2022-10-24 12:58:15 -06:00
Jeremy Soller
81cc65ca01
Store font ID with CacheKey 2022-10-24 11:47:49 -06:00
Ian Kettlewell
c1262eca74 Switch unicode-linebreak to xi-unicode for ~25% faster builds 2022-10-23 12:57:35 -06:00
Jeremy Soller
441112b5e2
More implementation of new buffer abstraction 2022-10-20 19:34:56 -06:00
Jeremy Soller
8fa691b912
Improved mono fallback 2022-10-19 13:18:23 -06:00
Jeremy Soller
ad6555e79f
Fixes for RTL selection 2022-10-19 10:44:21 -06:00
Jeremy Soller
a242d817e9
Add documentation and improve API 2022-10-18 17:14:03 -06:00
Jeremy Soller
410d4ee674
Text library moved from libcosmic 2022-10-18 12:07:22 -06:00