Ryan Fleury
b18e437337
git normalize all files
2024-07-26 11:13:47 -07:00
Ryan Fleury
38090b6273
extend font provider backend with ability to independently toggle hinting & full anti-aliasing; fix up ui text measurement/placement; introduce per-window settings for adjusting font rendering parameters
2024-06-28 15:31:27 -07:00
Ryan Fleury
16863b1f5a
fix run-list size calculation, accounting for advance vs. end pad
2024-06-22 20:29:38 -07:00
Ryan Fleury
f9abb397f3
adjust px offset -> byte offset path for new text measuring fixes
2024-06-22 20:19:24 -07:00
Ryan Fleury
6ac870dac0
improvements in text layout, focus visualization, smooth text rasterization for icons; checkpoint in ui visuals pass
2024-06-22 15:58:40 -07:00
Ryan Fleury
5f23820f9d
checkpoint on ui/palettes/visuals pass
2024-06-21 22:06:40 -07:00
Ryan Fleury
8319850666
fix precision tab alignment issue
2024-05-28 06:10:12 -07:00
Ryan Fleury
50d401e4ce
formalize tab size in all ui codepaths, per-box; pick 4*columnsize by default in text views
2024-05-24 16:34:42 -07:00
Ryan Fleury
d716159faf
feed base column & tab width through all font rendering paths; use temporary constants
2024-05-24 15:12:40 -07:00
Ryan Fleury
5074b7f62e
expand f_push_run_from_... to basing its tab-advance logic on what base column it is starting at - currently assume this is 0, basically doing the most naive tab alignment version that will work for leading spaces but for nothing else, and also assume 4-space tab width for now
2024-05-24 14:40:07 -07:00
Martins Mozeiko
fd982d38fc
Fixes bad resource usage in rendering
...
D3D11 is quite strict about how resources are supposed to be used - read/write & CPU access.
This changes Tex2DKind and BufferKind into one uniform ResourceKind (because it's the same thing really).
And it is more strict about usage:
1) Static is not allowed to update, resource is immutable, data provided at creation
2) Dynamic allows CPU to update GPU resource occasionally via UpdateSubresource
3) Stream allows CPU to update GPU resource often via Map/Unmap (currently unused)
2024-05-24 14:04:42 -07:00
Ryan Fleury
89af8124c7
ui truncated string hovering -> display full string as a tooltip
2024-01-26 09:04:29 -08:00
Ryan Fleury
834f4f7d20
dont render entire atlas region for font run pieces; render more minimal rasterization size
2024-01-22 15:07:20 -08:00
Ryan Fleury
a42ec6aeff
initial upload
2024-01-10 19:57:50 -08:00