DVUI Devlog 2026

RSS Feed

Archive

January 01, 2026

December 2025

6 people contributed this month with 56 commits.

Fonts

Font selection got a major upgrade. Until now we had to refer to an individual font ttf.

Now Font acts like a query that searches for a matching Font.Source:

dvui.Theme has 4 fonts (body, heading, title, mono) and grew an embedded_fonts field so that font sources can be tied to the theme that requires them.

For now we still only have a single pool of Font.Source that is internal to dvui. In the future we hope to extend this to be able to query for system fonts.

Syntax Highlighting

We are now bundling the tree-sitter library, and TextEntryWidget gained a tree_sitter option.

The usage code is responsible for providing:

Right now an example is only in the main window of the “app” example (like zig build sdl3-app), but eventually we will figure out a way to integrate it into the demo window.

This integrates with .cache_layout = true to provide incremental edit parse updates and good performance on large documents.

Any feedback would be welcome!

More Improvements:

Thank you to everyone who asked questions, filed issues, and contributed!