Commit graph

49 commits

Author SHA1 Message Date
Erich Gubler
9def853042
build: upgrade wgpu 0.20 → 22 (#106) 2024-07-24 00:46:06 -02:30
Billy Messenger
47f4126f99
update to cosmic-text 0.12 and rustc-hash 2.0 (#104) 2024-07-08 10:22:33 -02:30
EggShark
670140e2a1
update to wgpu 0.20.0 (#93) 2024-04-29 13:01:15 -02:30
Héctor Ramón
3e281d1828
Use rustc-hash for HashSet of glyphs_in_use (#90) 2024-03-29 22:47:39 -02:30
Xavier Lambein
c16b6eb957
Bump cosmic text to 0.11 (#89)
Co-authored-by: Xavier Lambein <xavier@lambein.xyz>
2024-03-25 21:56:37 -02:30
Jengamon
4700e54f16
Do a little feature magic to allow to build for web (#83)
* Remove default features

* Enable default features for dev (testing) builds

* Enable WGSL unconditionally
2024-02-21 21:19:54 -03:30
grovesNL
4590abae08 Release 0.5.0 2024-01-17 20:33:06 -03:30
TheEggShark
65825aa0d4 update to wgpu 0.19.0 2024-01-17 20:25:33 -03:30
grovesNL
3425efd522 Release 0.4.1 2024-01-15 21:36:08 -03:30
grovesNL
7f9afac93e Release 0.4.0 2024-01-15 16:24:45 -03:30
grovesNL
1bb46e41ff Update lru 2024-01-15 16:04:27 -03:30
grovesNL
c2469de817 Update winit 2024-01-15 16:04:27 -03:30
julianbraha
f554de853b Update etagere 2023-11-19 22:41:54 -03:30
Héctor Ramón Jiménez
2caa9fc5e5 Update wgpu to 0.18 2023-10-26 22:52:50 -02:30
Duncan Dean
6aaaf5071e Bump cosmic-text to 0.10 2023-10-19 14:37:22 -02:30
Azur冰弦
9e25714a44 Bump winit to 0.28.7 2023-10-12 13:38:25 -02:30
Lixou
1de354c05d Bump wgpu to 0.17.1 2023-10-10 13:33:47 -02:30
Ian Douglas Scott
20f0f8fa80 Update wgpu (and dev-dependecies) 2023-08-14 22:14:06 -02:30
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