wangjia eedcd9a385 refactor(client): 价签渲染器改栅格流布局(computeLayout),隐藏字段邻居回收空间
标签版式从绝对坐标改为「栅格流/自动回流」:LabelTemplate.computeLayout()
解析存储坐标为流式绝对几何(LabelLayout),三条回流规则——条码隐藏文字区向下
延伸、二维码隐藏文字区向右延伸、抬头隐藏整体上移;打印安全地板钳制
(kMinQrSize=80/kMinBarcodeH=20)。画布位图与热敏 TSPL 两条渲染路径改为只读
computeLayout(),不再直读 tpl.header/qr/barcode/textStack。

全字段显示时回流均为 no-op,默认模板逐像素等于重构前基准——
label_render_golden_test 零 diff 守护。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bupi8Kdqkfx2N5acFsHTx5
2026-08-29 23:18:55 +08:00
2026-07-04 22:00:49 +08:00
S
Description
No description provided
227 MiB
2026-08-28 12:02:17 +00:00
Languages
Dart 50%
Go 20.4%
HTML 17.7%
Shell 3.2%
CSS 2.8%
Other 5.7%