mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-02 18:13:39 +00:00
The Type flyout (T, Shift+T cycle) gains Vertical Type Mask and Horizontal Type Mask, in Photoshop's order. They type like the Type tools, with the canvas under Quick Mask's colour and the glyphs clear while editing. On commit the glyph coverage replaces the selection; no layer is left behind and the whole session is one "Type Mask" history step. Escape always cancels and leaves the selection unchanged. The commit runs a new engine command, type.createSelection: a type layer's glyphs (optionally removing that layer, the tools' hidden working text) or type.create's keys directly, with new/add/subtract/intersect and an anti-aliasing override. type.create's layer building is shared through type_cmds::new_text_layer. Original dashed-T icons (ATTRIBUTION.md), tool label translations in every catalog, README tool list and the gaps/parity docs updated. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<!-- PhotoCraft's own Vertical Type Mask glyph (not from an icon set): a T drawn as marching
|
||||
ants beside a downward arrow (the text runs top to bottom). -->
|
||||
<path d="M2.5 7V4h12v3" stroke-dasharray="2.5 2.5" />
|
||||
<path d="M8.5 4v16" stroke-dasharray="2.5 2.5" />
|
||||
<path d="M6 20h5" stroke-dasharray="2.5 2.5" />
|
||||
<path d="M20 8v12" />
|
||||
<path d="M17.5 17.5 20 20l2.5-2.5" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 596 B |
@@ -0,0 +1,16 @@
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<!-- PhotoCraft's own Horizontal Type Mask glyph (not from an icon set): a T drawn as marching ants. -->
|
||||
<path d="M4 7V4h16v3" stroke-dasharray="2.5 2.5" />
|
||||
<path d="M12 4v16" stroke-dasharray="2.5 2.5" />
|
||||
<path d="M8.5 20h7" stroke-dasharray="2.5 2.5" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 472 B |
Reference in New Issue
Block a user