ivanceras / svgbob

Convert your ascii diagram scribbles into happy little SVG
http://ivanceras.github.io/svgbob-editor/
Apache License 2.0
3.83k stars 108 forks source link

Array of character ° bad rendering #80

Open PHHENS opened 2 years ago

PHHENS commented 2 years ago

Dear developpers,

Rendering a grid of ° characters uncenters this grid inside frame. See below example : .---------. | ° ° ° ° | | ° ° ° ° | '---------' renders : image

Thanks for your help.

mbarkhau commented 2 years ago

As a fix. It looks like the ° are being interpreted as connected text. You could switch to using o instead, which appears to still be rendered as a shape: https://mbarkhau.keybase.pub/asciigrid/#vvC;AOAOA;MCCCgAgAMBDAKAKhAADpABNmbNBBrjQLgAjAiwrCou

PHHENS commented 2 years ago

Don't know what is connected text ;-) At my point of view, there will be few usage from that char as a "degree" symbol. Would me much interesting to use it as one character very little circle. In the same spirit, small o and big O should render as circle, this let it readable for Text, and make it usable for graphics too.