| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved from pardes's src/gui/ (step S2 of moving its renderer here):
vendor/font.c and font.h, its FreeType and HarfBuzz shim, byte for byte,
and src/font/Atlas.zig, the glyph atlas from gui.zig: the faces (a
primary and fallbacks), the 2048x2048 R8 stage filled pen-style, the
slot of every glyph drawn, the dirty rows, the hand-drawn box rules,
underlines and strikethrough, and the centring of grip glyphs. The key's
bits are pardes's. What gui.zig read from its globals and its window
(the sizes, a centred glyph's cells, dp(1) for the line thickness) is
passed to each cachedGlyph; the frame probe stays in pardes. Atlas.zig
imports the embedder's translation of font.h as `c`, and the embedder
compiles font.c against its own FreeType and HarfBuzz and exports
ui_malloc and friends; the file's own tests (the raster, the rules, the
decorations, the dirty rows) export them over C's heap and run from
pardes's unit-test.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
A dense map of a program's whole state draws thousands of runs a frame:
512 entries and 16 MB thrashed, and a frame took half a second.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
|
| |
|
|
| |
medium weight (.code_medium)
|
| |
|
|
| |
.code_italic), for programs
|
| |
|
|
| |
(f.textScaled), steady under a moving camera
|
| |
|
|
| |
host.textSizeIn, sk.Face)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
with objects a scene draws itself
The player takes its canvas from the room it has and fits the scene's
frame into it, plays through and quits when exported, and draws vector
objects in runs around custom ones. The renderers' resvg comparison and
the timings come along as `zig build diff` and `zig build bench`; the
comparison's reference is padded to whole blocks rather than squeezed,
which had put Typst text over the limit.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
| |
|
|
|
|
| |
a font from the environment
Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
|
|
spectrum, spectrogram), audio codecs and fonts, web host
|