View Single Post
Old 02-27-2012, 04:00 PM   #9
pshute
Enthusiast
pshute can program the VCR without an owner's manual.pshute can program the VCR without an owner's manual.pshute can program the VCR without an owner's manual.pshute can program the VCR without an owner's manual.pshute can program the VCR without an owner's manual.pshute can program the VCR without an owner's manual.pshute can program the VCR without an owner's manual.pshute can program the VCR without an owner's manual.pshute can program the VCR without an owner's manual.pshute can program the VCR without an owner's manual.pshute can program the VCR without an owner's manual.
 
Posts: 39
Karma: 189896
Join Date: Feb 2012
Device: Sony PRS-T1, iPad Air
Quote:
Originally Posted by theducks View Post
Also remember HTML tends to ignore multiple whitespace

If you wrap the Ascii Art in <pre> tags, that should stop that part of the problem.

You may need to embed (and specify) a font that has the old upper ASCII chars if your device does not have one for you to specify.
I just found a list of supplied fonts at:
https://wiki.mobileread.com/wiki/PRST...or_xhtml_files
and a method of adding more at:
http://blog.the-ebook-reader.com/201...t1-no-rooting/

Whether any of the supplied fonts support these characters, I think I'll have to work out by trial and error. It'll definitely have to be a monospaced font, or there's no point to it.

Can I just wrap the whole document in pre tags? I dread having to work out some regex to detect lines with ascii art in them. I can't just edit the file manually because it's regularly updated and I'll just end up having to do it again and again.
pshute is offline   Reply With Quote