Commit graph

31 commits

Author SHA1 Message Date
grovesNL
33c64acbcf Release 0.3.0 2023-07-26 22:42:37 -02:30
grovesNL
8f89ffed13 Bump lru to 0.11 2023-07-26 22:39:13 -02:30
Héctor Ramón Jiménez
81dedbd042 Implement subpixel glyph positioning and scaling
The latest `cosmic-text` release performs bucketing calculations after
layouting. This allows us to provide proper subpixel offsets, as well as
scale any buffer thanks to its linear layout properties.

See https://github.com/pop-os/cosmic-text/pull/143.
2023-07-11 00:18:25 -02:30
Héctor Ramón Jiménez
bc9cc82050 Use new etagere release 🎉 2023-07-04 14:54:05 -02:30
Héctor Ramón Jiménez
f64771c2c3 Grow internal packer and re-upload glyphs automatically 2023-07-04 14:54:05 -02:30
Héctor Ramón Jiménez
80e8465af6 Update wgpu to 0.16 2023-05-03 13:29:20 -02:30
Héctor Ramón Jiménez
ddaaae295c Update wgpu to 0.15 2023-04-08 12:43:37 -02:30
Héctor Ramón Jiménez
b9430c39b6 Update cosmic-text to 0.8 2023-04-08 12:43:04 -02:30
Héctor Ramón Jiménez
2af2f357c5 Update cosmic-text to latest 2023-03-27 23:02:28 -02:30
grovesNL
1dcb1735b4 Update to latest cosmic-text 2023-02-24 12:33:03 -03:30
Héctor Ramón Jiménez
da4bb4af5c Use lru for glyph caching
I noticed that the `RecentlyUsed` map was actually a `RecentlyInserted`
map. This caused panics when trying to reduce the initial texture atlas size and
dynamically increase it (coming in another PR!).
2023-02-08 00:49:37 -03:30
grovesNL
bbe26f9c54 Move version back to 0.2.0 for now 2023-01-29 22:17:31 -03:30
grovesNL
05939b2731 Release 0.3.0 2023-01-29 22:15:32 -03:30
grovesNL
288cd89cf8 Simplify re-exports paths 2023-01-29 22:11:54 -03:30
grovesNL
06766de965 Update to latest cosmic-text 2023-01-29 22:11:54 -03:30
Joshua Groves
65ff0a6eec Update to latest cosmic-text 2023-01-29 22:11:54 -03:30
grovesNL
8a1153039e Update to latest cosmic 2023-01-29 22:11:54 -03:30
grovesNL
7eb4d41c25 Update README 2023-01-29 22:11:54 -03:30
grovesNL
56bf0d759f Update to latest cosmic-text 2023-01-29 22:11:54 -03:30
grovesNL
7fe35bdce3 Update to latest cosmic-text 2023-01-29 22:11:54 -03:30
grovesNL
75fc8f978f Start cosmic-text implementation 2023-01-29 22:11:54 -03:30
grovesNL
36fd030ecf Update to wgpu 0.14 2022-10-18 13:02:31 -02:30
grovesNL
afab881559 Handle text overflow
Cull glyphs fully outside the bounds, and clip glyphs intersecting the
bounds. This is all done on the CPU for now.

Fixes #2
2022-10-18 12:52:00 -02:30
grovesNL
4e9e10061f Release 0.2.0 2022-07-13 12:47:16 -02:30
grovesNL
3c7789cd3b Update to wgpu 0.13 2022-07-13 09:43:10 -02:30
grovesNL
a2c65f86d7 Move pollster to dev-dependencies 2022-05-17 22:15:11 -02:30
grovesNL
ce74ffc620 Use wgpu main for now
Fixes #8
2022-05-12 11:47:28 -02:30
grovesNL
f77ad567eb Remove override 2022-05-10 09:31:32 -02:30
grovesNL
63a1a8f7ce Fix override path 2022-05-09 12:30:28 -02:30
grovesNL
e05a48b439 Use override temporarily 2022-05-09 12:29:37 -02:30
grovesNL
f5648e0f94 Initial commit 2022-05-09 10:19:10 -02:30