Repository navigation
Releases
v0.1.2
PenKaku v0.1.1
English · 简体中文
Handwriting that looks more like a hand: tidier text, real arrows, and digits that vary.
New
- 一键按手写整理 (Tidy for handwriting): the 文本清理 menu now has a one-click clean-up that, in a single undo step, writes
-><-=><-><=>as one arrow (→ ← ⇒ ↔ ⇔), makes,;:!?()half-width, and removes spaces around arrows and= + < >, besides the existing Chinese/Latin and punctuation space clean-ups. Each step is also its own menu item, and all of them work on the selection when there is one. - Arrows your font does not have: when the font lacks
→, PenKaku asks first. 转换 draws the arrow from the font's own-and>, shaft running into the head in one stroke; 保持原样 keeps->as typed and still does the rest of the clean-up. - Digits and letters vary like Chinese: 字形扭曲 and 字形倾斜 now reach digits and English letters, so a repeated digit is never drawn the same twice. On by default; 写字偏好 › 字符变形 has a checkbox to go back to ChiXie3's Chinese-only behaviour.
Fixed
- A run of letters and digits such as
24His no longer split across two lines. - Renaming a cloud font could have saved synthetic arrow glyphs into the font file; fonts are now saved exactly as loaded.
Downloads
Same files as before: penkaku-portable-<OS> (recommended, data stays beside the program), penkaku-debug-<OS>, and sample-<OS>.pdf. See the README for how to start on each OS.
Upgrading: documents that contain digits or letters lay out a little differently with 字符变形 on. Turn off 「数字和英文也做字形扭曲和倾斜」 to keep the old look.
简体中文
让笔迹更像手写:整理文字、真正的箭头、每个数字都不一样。
新增
- 一键按手写整理: 「文本清理」新增一键整理,一次撤销即可还原:
-><-=><-><=>写成一笔的→ ← ⇒ ↔ ⇔,,;:!?()改半角,删去箭头和= + < >两侧的空格,另外照常消除中英文之间、标点旁的空格。每一步也可以单独使用;有选中时只处理选中部分。 - 字体没有的箭头: 字体里没有
→时会先询问。选「转换」:用字体自己的-和>拼出箭头,箭杆和箭头一笔连写;选「保持原样」:->不变,其他整理照常进行。 - 数字和英文也有变化: 字形扭曲和字形倾斜现在也作用于数字和英文,重复的数字不会写得一模一样。默认开启;可在「写字偏好 › 字符变形」里关闭,恢复 ChiXie3 只变形中文的做法。
修复
24H这样的字母数字串不再被拆到两行。- 重命名云端字体时可能把拼出来的箭头写进字体文件;现在字体按原样保存。
下载
文件与上一版相同:penkaku-portable-<OS>(推荐,数据存在程序旁边)、penkaku-debug-<OS>、sample-<OS>.pdf。各系统的启动方式见 README。
升级提示: 开启字符变形时,含数字或英文的文档排版会有细微变化。想保持旧样子,关闭「数字和英文也做字形扭曲和倾斜」即可。
PenKaku v0.1.0
English · 简体中文
The first public release of PenKaku (formerly chixie-rs): an open-source desktop app and CLI for GRBL / Grbl_ESP32 pen plotters and handwriting machines. Type or import a document, lay it out on ruled, grid or table paper, turn it into natural handwriting from a single-line SVG font, and let the plotter write it. It runs on Windows, macOS and Linux and works fully offline.
Highlights
- Word-style editor: rich text with undo/redo, find & replace, format painter, autosave, DOCX and TXT open/save, inline tables and Mermaid flowcharts drawn by the pen.
- Paper templates: ruled paper (信纸), composition grids (作文格) and merged-cell tables, with your own tags; import tables from vector PDFs, scans or phone photos.
- Realistic handwriting: deterministic per-character jitter, glyph deformation, cursive stroke joining (连笔), per-character pen pressure, separate styles for English and digits. The same document always gives the same G-code.
- Reliable writing: CH340 / GD32 serial streaming with auto-reconnect after USB drops, pause / stop, and line-exact resume (断点续写); pen-down calibration,
$$firmware editor, custom command buttons. - Fonts: any single-line SVG font (Inkscape Hershey Text compatible) in a watched local library; optional ChiXie (炽写) account login to download your cloud fonts, after which everything works offline.
- Output: G-code export, vector PDF export, and a full
penkaku-clifor headless use.
Downloads
| File | What it is |
|---|---|
penkaku-portable-Windows.zip / -macOS.tar.gz / -Linux.tar.gz |
Recommended. Optimised build; settings, fonts and templates stay in a data folder beside the program, so the folder is portable |
penkaku-debug-Windows.zip / -macOS.tar.gz / -Linux.tar.gz |
Debug build using the normal per-user data folders; the Linux package includes install.sh for a menu entry |
sample-Windows.pdf / -macOS.pdf / -Linux.pdf |
A sample page exported by CI on each OS |
- Windows: unzip and run
penkaku.exe. Install the WCH CH340 driver if the board's COM port does not appear. - macOS: the app is not notarized; on first start right-click
penkaku.app› Open (or runxattr -dr com.apple.quarantine penkaku.app). - Linux: run
./penkaku/penkaku; add your user to thedialoutgroup for serial access.
Notes
- Hardware tested: CH340 + Grbl_ESP32 1.3a board (~300 × 300 mm). Other GRBL boards should work over USB serial; Marlin is not supported yet.
- Licensed under GPL-3.0-only.
简体中文
PenKaku(原名 chixie-rs)的第一个公开版本:一款开源的写字机 / 笔式绘图机上位机软件和命令行工具,支持 GRBL / Grbl_ESP32 固件。输入或导入文档,排进信纸、作文格或表格,用单线 SVG 字体生成自然的手写笔迹,再交给写字机写出来。支持 Windows、macOS、Linux,完全离线可用。
亮点
- 类 Word 编辑器: 富文本、撤销/重做、查找替换、格式刷、自动保存草稿,打开/保存 DOCX 与 TXT;文中可插入表格和 Mermaid 流程图,由笔直接画出。
- 纸张模板: 信纸、作文格、可合并单元格的表格,标签由你自己定;可从矢量 PDF、扫描件或手机照片识别表格。
- 拟真手写: 每个字固定的随机抖动、字形变形、连笔、逐字轻重、英文和数字单独设置样式;同一份文档每次生成的 G-code 完全一致。
- 可靠书写: CH340 / GD32 串口流控,USB 掉线自动重连,暂停/停止,按行精确断点续写;落笔校准、
$$固件参数编辑、自定义命令按钮。 - 字体: 支持任意单线 SVG 字体(兼容 Inkscape Hershey Text),本地字体库自动监视;可选登录炽写账号下载云端字体,下载后完全离线使用。
- 输出: 导出 G-code、矢量 PDF,另有完整的命令行
penkaku-cli。
下载
| 文件 | 说明 |
|---|---|
penkaku-portable-Windows.zip / -macOS.tar.gz / -Linux.tar.gz |
推荐。 优化版;设置、字体、模板存在程序旁边的 data 文件夹,整个文件夹可随身携带 |
penkaku-debug-Windows.zip / -macOS.tar.gz / -Linux.tar.gz |
调试版,数据存在常规的用户目录;Linux 包含 install.sh,可注册桌面菜单 |
sample-Windows.pdf / -macOS.pdf / -Linux.pdf |
CI 在各系统上导出的示例页 |
- Windows: 解压后运行
penkaku.exe。若看不到主板的 COM 口,请先安装 WCH 官方 CH340 驱动。 - macOS: 应用未经 Apple 公证,首次启动请右键
penkaku.app› 打开(或执行xattr -dr com.apple.quarantine penkaku.app)。 - Linux: 运行
./penkaku/penkaku;使用串口需要把当前用户加入dialout组。
说明
- 已实测硬件:CH340 + Grbl_ESP32 1.3a 主板(约 300 × 300 mm)。其他 GRBL 主板通过 USB 串口应可使用;暂不支持 Marlin。
- 以 GPL-3.0-only 许可证发布。
