-
Notifications
You must be signed in to change notification settings - Fork 79
Description
I had a bit of nostalgia recently and started a quest to find pre-ascii typewriter art using half carriage feeds to partially overlap lines.
I did find some folks do overstrike art, re-running the full line with text overstrikes.
I have not yet dug into your jp2a utility, but I wonder if you think this could be a possible (easy) modification or option? I am not super familiar with the area so this may already exist. Overstrike, half returns, etc.
A half return would complicate things because we can't display easily so you have to have a display app or write the resulting output to PDF maybe?
I am a MATLAB junkie, so I copied in an example of what I am talking about. I tested it in octave online as well and it seems to render for me with a half step. https://octave-online.net/
Thanks for your utility!
Ed Gatzke
BTW, I tried to email csl@csl.name and it bounced. ???
subplot(2,1,1);subplot(1,1,1)
f=figure(1)
axis off
axis([0 1 0 1])
fs=14
% Draw some text:
t=text(.1,.7,'This is a test','FontName','Arial','FontSize',fs)
% Draw some two-line text:
t=text(.1,.5,sprintf('This is a test \nThis is a test'),'FontName','Arial','FontSize',fs)
% Overlap two lines, need sprintf as it affects text placemnt
t=text(.27,.5,sprintf('This is a test \n '),'FontName','Arial','FontSize',fs)
dy=.063 % This value depends on figure size, WTF?
t=text(.27,.5-dy,sprintf('This is a test \n '),'FontName','Arial','FontSize',fs)
t=text(.1,.2,sprintf('This is a test \n '),'FontName','Arial','FontSize',fs)
t=text(.1,.2-dy/2,sprintf('This is a test \n '),'FontName','Arial','FontSize',fs)
t=text(.1,.2-dy,sprintf('This is a test \n '),'FontName','Arial','FontSize',fs)
