Commit graph

54 commits

Author SHA1 Message Date
grovesNL
7eb4d41c25 Update README 2023-01-29 22:11:54 -03:30
grovesNL
14499e4659 Remove HasColor 2023-01-29 22:11:54 -03:30
grovesNL
56bf0d759f Update to latest cosmic-text 2023-01-29 22:11:54 -03:30
grovesNL
981a7d1682 Handle initial window scale factor 2023-01-29 22:11:54 -03:30
grovesNL
cb68955045 Use 4 channel atlas for emojis 2023-01-29 22:11:54 -03:30
grovesNL
47fa03d079 Allow negative offsets 2023-01-29 22:11:54 -03:30
grovesNL
dcdb250e19 Use arabic.txt example and get_image_uncached 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
2a01a1b2e0 Handle negative glyph positions correctly 2022-11-29 14:33:12 -03:30
grovesNL
ca27ec508c Add an example to highlight a layout on mouse over 2022-10-24 22:08:02 -02:30
grovesNL
4ff7d0d824 Add Eq and PartialEq derives to Color 2022-10-24 09:25:20 -02:30
grovesNL
66e44293de Add derives for Color 2022-10-24 09:15:07 -02:30
grovesNL
fa03455457 Allow borrowed layouts for prepare
Allows either `&[layout, overflow]` or `&[&layout, overflow]`
2022-10-21 22:02:43 -02:30
grovesNL
296c99f059 Add documentation to all public types
Fixes #11
2022-10-18 13:25:24 -02:30
grovesNL
7e2983374e Reword error messages 2022-10-18 13:04:06 -02:30
grovesNL
36fd030ecf Update to wgpu 0.14 2022-10-18 13:02:31 -02:30
grovesNL
14c634c8aa Use trunc instead of round
We can allow this to be controlled later on, but `trunc` helps to avoid
text jitter during screen resolution changes for now.
2022-10-18 12:54:16 -02:30
Andrew Wheeler(Genusis)
4075536745 Merge #19 2022-10-18 12:52:00 -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
045515c558 Pad Params in shader 2022-07-13 12:46:57 -02:30
grovesNL
3c7789cd3b Update to wgpu 0.13 2022-07-13 09:43:10 -02:30
grovesNL
bbc5f18cdd Pad to improve WebGL support 2022-06-23 22:21:21 -02:30
grovesNL
73b2562179 Accept atlas in prepare and render 2022-06-03 00:52:35 -02:30
grovesNL
857f8c72c0 Use premultiplied alpha blending from coverage 2022-06-03 00:31:46 -02:30
grovesNL
32a6e1d876 Remove debug bound 2022-05-17 22:15:11 -02:30
grovesNL
e64b4ab63b Use intrusive list to track LRU order 2022-05-17 22:15:11 -02:30
grovesNL
81671d02b8 Validate shared screen resolution 2022-05-17 22:15:11 -02:30
grovesNL
7aa2bd7b72 Free least recently used 2022-05-17 22:15:11 -02:30
grovesNL
4b4594492a Share text atlas between renderers 2022-05-17 22:15:11 -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
a4509a4665 Update badge 2022-05-10 09:38:07 -02:30
grovesNL
e8218f3b8d Rename workflow 2022-05-10 09:37:38 -02:30
grovesNL
ebb8ff712e Add funding 2022-05-10 09:35:00 -02:30
grovesNL
ecb9e625b0 Rename workflow 2022-05-10 09:34:45 -02:30
grovesNL
77df7101e5 Move emoji 2022-05-10 09:33:03 -02:30
grovesNL
5538a8491f Merge branch 'main' of https://github.com/grovesNL/glyphon 2022-05-10 09:31:36 -02:30
grovesNL
f77ad567eb Remove override 2022-05-10 09:31:32 -02:30
Josh Groves
59b9ec8d37
Create rust.yml 2022-05-10 09:29:10 -02:30
grovesNL
7b382ee3bb Remove lock 2022-05-10 09:21:45 -02:30
grovesNL
b0d0dfaf3d Add space 2022-05-10 08:55:00 -02:30
grovesNL
781bed2c42 Use oversized buffers 2022-05-10 08:48:28 -02:30
grovesNL
8bf8533ead Rename Color trait to HasColor, add Color 2022-05-09 22:53:09 -02:30
grovesNL
5605879164 Add Color trait 2022-05-09 22:40:00 -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
ded1ba3310 Use resolution later 2022-05-09 12:29:23 -02:30
grovesNL
a973504abd Setup badges 2022-05-09 12:09:30 -02:30