cwensley / pablodraw

PabloDraw is an Ansi/Ascii text and RIPscrip vector graphic art editor/viewer with multi-user capabilities.
MIT License
324 stars 22 forks source link

PabloDraw rendes two newlines if the 80th character in the row is non empty #38

Closed pcroland closed 1 year ago

pcroland commented 3 years ago

The file viewed in notepad++: image (Also looks like this when I save it in PabloDraw) Opening the file in PabloDraw: image

cwensley commented 3 years ago

Yes, this is because in BBS days, the terminals were 80 characters wide. When getting to the end of the line it would automatically go to the next even without a carriage return. There is no easy way around this (without breaking it for all old artwork) other than to just not use the 80th character, or make your canvas wider.

cwensley commented 1 year ago

Closing as changing this would break all existing artwork. Thanks again for reporting the issue but since it is a known limitation of the format, one will have to avoid drawing on the last character of each row. To draw 80 characters wide and save with newlines for each row, one could set the canvas wider.