Commit Graph

138 Commits

Author SHA1 Message Date
ed 8f491fd843 Update scripts doc 2025-01-12 10:42:22 -05:00
ed 989be15390 More proofing 2025-01-12 10:34:44 -05:00
ed 207fa94803 Proofing 2025-01-12 10:29:11 -05:00
ed 470800af2a Added note in backend guide about UV convention. 2025-01-12 09:52:10 -05:00
ed a47937f615 Completed initial draft for guide_backend.odin 2025-01-12 09:38:24 -05:00
ed a4dafe01c8 Finish ### draw_text procedures draft in docs/readme.md 2025-01-11 23:10:00 -05:00
ed e8218f3bf8 Finished inital draft for draw list generation docs in guide_architecture.md 2025-01-11 22:59:52 -05:00
ed b220812950 Initial draft of shaping pass guide 2025-01-11 20:39:03 -05:00
ed 046c69c477 Realized while writing the docs that I need to preseve non-visible glyphs in the shape. (Fixed some crashing as well)
So the shaper has been adjusted along with downstream codepaths in drawlist gen pass.
2025-01-11 20:38:43 -05:00
ed f7e4278300 formatting, cleanup, more progress on docs 2025-01-11 17:31:32 -05:00
ed e8a7b21eba fix parser handling of glyph shape freeing 2025-01-11 17:31:21 -05:00
ed b78a544aa8 Progress on documentation 2025-01-11 11:29:48 -05:00
ed dbe97a7176 Made sure alpha sharpen is only applied when the color alpha is at or above 1.0 2025-01-11 08:47:11 -05:00
ed d56e1d608c Finalize picking for demo
Won't be satsified, just need to fix the actual rendering so the tuning isn't required.
2025-01-11 01:41:50 -05:00
ed a1b4bcf77f Update Readme.md 2025-01-11 01:36:51 -05:00
ed 4f9de8f539 refinement to demo 2025-01-11 01:08:56 -05:00
ed 48927fd008 Fixed shaper bug, removed shaper_shape_text_uncached_advanced (intergrated into harfbuzz) 2025-01-11 00:51:39 -05:00
ed c64f8132dc Add assignable allocator support to stb_truetype 2025-01-10 22:44:39 -05:00
ed 87ab22c207 Fixed size issue (parsesr_scale convention needs to be em_to_pixels by default). 2025-01-10 20:50:33 -05:00
ed 79498efbf3 oops : dumb mistakes 2025-01-10 20:41:09 -05:00
ed a584497563 left zoom compute to its own proc 2025-01-10 20:36:30 -05:00
ed c995af36e7 Got zoom implemented on library's side. Still figuring out font size issue 2025-01-10 20:16:51 -05:00
ed 3b59ac75bf update ignore for thirdparty 2025-01-10 17:54:18 -05:00
ed 7af3c49dfc remove ols.json 2025-01-10 17:53:11 -05:00
ed 4afa50f1df made get_normalized_position_scale (got rid of get_snapped_position), more docs 2025-01-10 17:45:21 -05:00
ed 52584f888c fixing some normalized space calculation issues
I need to review the convention I'm using for the "view" or at least how I interpret these coordinate spaces so its inutitive for the interface.
At the end of the day, the draw_list should be in normalized space, however how it gets digested to that state needs to be better documented or made more explicit in its transformation from the usual user calls.
2025-01-10 16:15:09 -05:00
ed 91e8af8839 Got the demo to show text again (but with lots of errors) 2025-01-10 15:27:51 -05:00
ed 99a1f77699 remove proc using stmt usage in backend_sokol.odin 2025-01-10 13:29:10 -05:00
ed a14e4faf29 remove using usage from sokol_demo.odin 2025-01-10 13:24:58 -05:00
ed 572abf5d86 compiling.. borken tho... 2025-01-10 13:09:52 -05:00
ed f6ea780747 progress on updating sokol backend & demo 2025-01-10 12:45:15 -05:00
ed 2eb94e077f More cleanup, doc updates 2025-01-10 12:44:53 -05:00
ed 18decf3e46 Add local version of stb_truetype 2025-01-10 12:13:45 -05:00
ed ddfd529993 Progress on cleanup 2025-01-10 09:52:44 -05:00
ed 77cf07ce16 Updating shaders 2025-01-10 09:52:28 -05:00
ed 36cc557975 WIP: Updating public repo with latest version 2025-01-10 09:07:26 -05:00
ed d329327555 incorrect heading 2024-12-29 19:41:51 -05:00
ed c41e09f377 Update to interface doc. 2024-12-29 19:41:19 -05:00
ed f1a47223ea Update Readme.md
Added a screencap of showcase section
2024-12-29 18:46:48 -05:00
ed e53abccc98 Update Readme.md
* Added an mp4 of the demo
* Removed todos going to convert them to issues on github
2024-12-29 18:35:31 -05:00
ed 90ca01bdaa General improvements (text and features)
* Added clear_atlas_region_caches & clear_shape_cache to VEFontCache (Usage Example: On hot-reloads to force refresh the caches if tuning the library)
* Made glyph_draw's over_sample a vec2 for initialization (incase user wants to do some float value multiple of 4x4)
* ADVANCE_SNAP_SMALLFONT_SIZE made a runtime option: Shaper_Context.adv_snap_small_font_threshold
* Some improvement to text hinting and general rendering of text
* Better defaults for initialization of the library
2024-12-29 18:27:46 -05:00
ed 55a4c3dee6 Updates for breaking changes (nov 7 Sokol pr) 2024-11-26 10:13:10 -05:00
ed 137eea9da4 Maint update (November Odin compiler release) 2024-11-24 18:39:43 -05:00
ed 20e9a556ce Minor update on the scripts readme on MacOS and Linux testing 2024-10-19 15:53:03 -04:00
ed cc411b0e1e macos worflow: remove debug ls 2024-10-19 15:48:39 -04:00
ed f7071c2810 Comment out make_map_cap as thats not in a released version of Odin yet. 2024-10-19 15:45:10 -04:00
ed 15192ff4b3 Merge branch 'test_macos_action' 2024-10-19 15:41:40 -04:00
ed 810d188b8f Update to mac/linux section of scripts doc 2024-10-19 15:41:09 -04:00
ed c2dbe91973 Decided to add back generated shader code since there should be no discrpancies when building on any platform 2024-10-19 15:34:44 -04:00
ed a8823c9776 add make_map_cap to make in mappings 2024-10-19 15:21:06 -04:00