# refactor: move the renderer out of canvas into a draw crate · clo/snowbound

[View on GitCafe](https://git.cafe/clo/snowbound/commit/939081be8a62e17d4e2ec4abb68c052f8e3c506d)

Repository: [clo/snowbound](https://git.cafe/clo/snowbound)

Visibility: public

Requested revision: 939081be8a62e17d4e2ec4abb68c052f8e3c506d

Requested commit: 939081be8a62e17d4e2ec4abb68c052f8e3c506d

Commit: 939081be8a62e17d4e2ec4abb68c052f8e3c506d

Tree: 41bced825034984b492780c823359f7039912725

Author: clover caruso

Committer: clover caruso

## Message

```
refactor: move the renderer out of canvas into a draw crate

Page and application chrome will paint through one renderer, atlas and
image cache, while an iOS host embeds the canvas without the desktop UI
kit. draw paints layers (transform, device clip, primitives); text
arrives as glyph runs through the Glyphs trait, so canvas keeps its
Windows-metric line boxes and the renderer never measures text. Tag
artwork becomes a generic SVG icon primitive. canvas without the gpu
feature stays free of wgpu for the fuzz targets.

All 23 corpus pages render pixel-identical to the previous renderer.

Assisted-by: claude-opus-5.5

```

## Parents

- [1b0d6e5c862e65471df75c1239a1a111b9c11302](https://git.cafe/clo/snowbound/commit/1b0d6e5c862e65471df75c1239a1a111b9c11302?format=markdown)

[Source at this commit](https://git.cafe/clo/snowbound/tree/939081be8a62e17d4e2ec4abb68c052f8e3c506d?format=markdown)
