Skip to content

pixel-family:0.2.0#4424

Open
GiggleLiu wants to merge 2 commits intotypst:mainfrom
GiggleLiu:pixel-family-0.2.0
Open

pixel-family:0.2.0#4424
GiggleLiu wants to merge 2 commits intotypst:mainfrom
GiggleLiu:pixel-family-0.2.0

Conversation

@GiggleLiu
Copy link
Contributor

Summary

  • 6x faster rendering: replaced CeTZ draw.rect() per-pixel with native Typst curve() multi-subpath per-color
  • Removed CeTZ dependency entirely (zero dependencies)
  • Compile time: 3.4s → 0.58s on the full manual (18 characters at multiple sizes)

Breaking Changes

  • pixel-grid signature changed: pixel-grid(data, colors, cell-size) — now takes a cell-size length parameter

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@typst-package-check typst-package-check bot added the update A package update. label Mar 23, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Member

@saecki saecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update!


<table>
<tr>
<td align="center"><img src="https://raw.githubusercontent.com/GiggleLiu/pixel-family/main/images/bob.svg" width="64" alt="Bob pixel character"><br><b>Bob</b><br>The Messenger</td>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you link to a specific tag? Just replacing main with v0.2.0 shoud work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

update A package update.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants