Add --type-layer: convert text layers to editable TypeLayers (TySh)

Reuses a reference TySh block from a PS-generated PSD as a template and
mutates its engine data (Text/FontSize/FillColor/FontSet/transform) per
ppl text layer. Rasterized pixels are kept as channel data so the layer
always displays, and Photoshop treats it as an editable text layer.
Font PostScript names are read from the font files via fontTools.
Verified: 54 TypeLayers, psd_tools reads correct text/engine data.
This commit is contained in:
AskaEth committed 2026-08-27 10:31:36 +08:00
1 parent edef8799ce
commit c6a24a4fdb
2 files changed
+88 -10

No files matched your search

Binary file not shown.