Skip to content

v0.3.0

Choose a tag to compare

@janewas janewas released this 14 Sep 11:26
· 2 commits to main since this release

Text is now written inside a frame you draw.

0.3.0

  • Text goes in a frame: with the text tool, drag a box on the image (a plain click gives one at a default size) and type inside it. Lines wrap to the frame and the font size is solved for it by binary search, so a long paragraph shrinks instead of running off the image — nothing is ever truncated. If even the minimum size cannot fit, the frame grows downwards.
  • Frame shape and fill: rectangle / rounded / ellipse, and transparent / tinted / solid. Transparent keeps only the border and the text. Multi-line text with Shift+Enter.
  • The width buttons now only set pen / box / arrow line width; text size follows the frame.
  • Settings: 文字框形状 and 文字框底纹 replace 文字默认加底框; 默认粗细 is now 默认线宽.
  • Preview and export share one layout solver; the preview self-corrects when the browser's text metrics differ by a line.

Install

dsh plugin --profile web add github:janewas/dsh-image-annotate   # restart dsh web afterwards

or download the tarball below, extract it, and run bash install.sh (no restart, refresh the page).

Requires DSH 0.1.5-rc.1 or a compatible release.