zakaluka
bc2d245368
Add link to homebrew from README ( #56 )
2026-09-06 09:00:56 +02:00
meehl
51476da1d9
Make clippy happy
2026-09-02 18:46:37 +02:00
meehl
30bc02252b
Add libluajit-5.1-dev as system dependency in CI workflow
2026-09-02 18:42:24 +02:00
meehl
d5f9801d49
Add missing system dependency to CI workflow
2026-09-02 18:35:12 +02:00
meehl
0b608602d1
Disable the system feature for parley
...
System fonts are not needed since we provide our own custom fonts.
Disabling the system feature also removes the dependency on fontconfig
during compilation, which was previously undocumented.
2026-09-02 18:03:56 +02:00
meehl
ef32139e14
Add CI workflow
2026-09-02 17:45:44 +02:00
meehl
20a1db073d
Lint
2026-09-02 16:37:59 +02:00
meehl
aa1bfb768e
Add helpers for appending to Lua's package.path
2026-09-02 11:16:21 +02:00
meehl
29e2958dd3
Replace unwrap
2026-09-02 11:15:42 +02:00
meehl
5cbabed095
Simplify return value
2026-09-01 22:05:37 +02:00
meehl
5ba4100589
Small cleanup
2026-09-01 19:18:58 +02:00
meehl
fc4d913930
Remove misleading comment
2026-09-01 17:47:37 +02:00
meehl
dc9300bca2
Ensure compatibility of partial update with existing texture.
...
+ some improvements around querying texture loading status.
2026-09-01 14:47:00 +02:00
meehl
e90396ff28
Add support for partial GPU texture updates
...
Mainly used for font atlas changes. Each glyph allocation now only
triggers a partial texture update instead of creating a full new
texture.
2026-09-01 10:17:34 +02:00
meehl
e3288b96ac
Implement get_draw_layer API function
2026-08-29 23:36:50 +02:00
meehl
749dd69589
Fix double regex matching and iteration in get_index_at_cur
2026-08-29 23:09:08 +02:00
meehl
1a6631c4ad
Refactor PoBStringSegmentIterator
2026-08-29 21:46:51 +02:00
meehl
078269653e
Restructure api functions
2026-08-29 19:08:49 +02:00
meehl
fe96786aca
Update comments about PoB alignment argument
2026-08-29 16:35:11 +02:00
meehl
4b344d15ae
Refactor mouse and keyboard input handling
2026-08-29 16:12:45 +02:00
meehl
c297eeaca6
Improve ergonomics of calling Lua callbacks
2026-08-29 11:28:30 +02:00
meehl
77e1d615e0
Lint
2026-08-28 20:12:42 +02:00
meehl
6f0d678790
Add better docs for subscripts
2026-08-28 20:11:25 +02:00
meehl
38f81cab3e
Restructure Subscript::handle_calls
2026-08-28 19:37:18 +02:00
meehl
a6c158424f
Simply conversion to/from NativeMultiValue
2026-08-28 19:04:13 +02:00
meehl
8556ebf772
Lint
2026-08-28 18:19:16 +02:00
meehl
09f1a16071
Update README
2026-08-28 16:25:12 +02:00
meehl
6f0eef7cf8
Get rid of unwraps
2026-08-27 18:02:24 +02:00
meehl
8cfc82d668
Construct wgpu::VertexBufferLayout directly from Vertex
2026-08-27 17:48:17 +02:00
meehl
9d45b78d64
Use channel to handle async image load results in texture manager
2026-08-27 16:56:03 +02:00
meehl
692e530867
Add profiling scope for call to OnInit
2026-08-27 16:34:40 +02:00
meehl
4e67aa72c0
Acquire context reference after argument validation in image_handle_load
...
luaL_error can perform a long jump and never return. `drop` might not
get called on the AppDataRef, leaving it permanently borrowed.
2026-08-27 15:31:03 +02:00
meehl
ac8cf3946e
Remove TODO comment
2026-08-27 13:00:43 +02:00
meehl
49fab3c787
Use constant for number of texture slots in batch
2026-08-27 12:59:23 +02:00
meehl
93ce072d40
Remove unnecessary binding array size constant in shader
2026-08-27 12:43:29 +02:00
meehl
1f5e30ae5a
Decouple anchor offset from parley alignment
2026-08-26 17:59:01 +02:00
meehl
d217af94c3
Pass scale factor to layout builder.
...
This means `parley::Layout`'s internal coordinates are now in physical
space.
2026-08-26 17:34:11 +02:00
meehl
fe9434e4f0
Warm glyph cache for correct scale factor
2026-08-26 16:16:14 +02:00
meehl
f0be43cbdd
Add helper for iterating glyph runs
2026-08-26 15:51:42 +02:00
meehl
a678c8148d
Clean up glyph rasterization
2026-08-26 14:41:32 +02:00
meehl
963a9ba1d1
Add comments about glyph baseline offset
2026-08-26 11:59:01 +02:00
meehl
e6c5ec3d42
Move font style cache into separate file
2026-08-26 11:18:16 +02:00
meehl
8f98a9c8f1
Store size instead of rect for cached glyphs.
...
Their origin is always at (0.0, 0.0).
2026-08-26 10:24:13 +02:00
meehl
a50ea4cdaf
Introduce new coordinate space for glyph positions within a layout
2026-08-25 12:11:49 +02:00
meehl
7b925876a5
Cleanup of UV space handling
2026-08-25 10:46:12 +02:00
meehl
8d17f8e64f
Use euclid::Scale to convert between physical and logical coord spaces
2026-08-24 23:57:19 +02:00
meehl
8ba72fd7df
Cull draw command if shape does not intersect viewport.
2026-08-24 11:41:57 +02:00
meehl
2bbfd14c1b
Add profileing scope around OnFrame and remove mut ref to context
2026-08-24 10:48:31 +02:00
meehl
99dd50de62
cargo update
2026-08-24 10:38:51 +02:00
meehl
6224a1b0a4
Lint
2026-08-24 10:24:51 +02:00