codevis icon indicating copy to clipboard operation
codevis copied to clipboard

Wrap lines?

Open SuperSpaceEye opened this issue 2 years ago • 1 comments

Instead of just cutting off, add an option to wrap lines.

SuperSpaceEye avatar Feb 27 '23 15:02 SuperSpaceEye

This might be possible but

  • I am not sure how to best do this without making it ugly.
  • codevis needs to know how many lines are going to be rendered ahead of time, to determine image dimensions. So a new and more complicated "line counting" algorithm would need to be made.
  • In my current readable font (See Unifont), some characters are rendered as 2 characters wide. Making the above point even more complicated.

sloganking avatar Feb 28 '23 15:02 sloganking