Open
Bug 20195
Opened 25 years ago
Updated 3 months ago
[mozTXTToHTMLConv] Recognize ASCII-art and -tables (display some paragraphs in fixed width font when plaintext is viewed in variable width font)
Categories
(MailNews Core :: Backend, enhancement)
MailNews Core
Backend
Tracking
(Not tracked)
NEW
People
(Reporter: BenB, Unassigned)
References
Details
(Whiteboard: [wontfix?])
If the user chooses a proportional font for reading plain text mail, every
preformatted text gets messed up.
The IMO best proposal from both n.p.m.mail-news and alt.ascii-art was to scan
after more than one space in sequence (and propably [TAB]s) inside the text (not
to trigger on a simple indention).
However, this should be done paragraph based (i.e. at recognition, the whole
paragraph is turned into <pre>) to avoid a switch of the font family inside a
paragraph. This in not easy to to with libmime, which is completely line-based.
Updated•25 years ago
|
Assignee: rhp → mozilla
Comment 1•25 years ago
|
||
Ben,
If you want to tackle this stuff thats great, but I'm just neck deep in work
right now and feeling quite doomed.
- rhp
Reporter | ||
Updated•25 years ago
|
Assignee: mozilla → nobody
Summary: Recognize ASCII-art and -tables → [HELP WANTED] Recognize ASCII-art and -tables
Whiteboard: [HELP WANTED]
Reporter | ||
Comment 2•25 years ago
|
||
I just wanted to document this RFE. HELP WANTED.
Updated•25 years ago
|
Keywords: helpwanted
Updated•25 years ago
|
Summary: [HELP WANTED] Recognize ASCII-art and -tables → Recognize ASCII-art and -tables
Whiteboard: [HELP WANTED]
Reporter | ||
Comment 3•24 years ago
|
||
Working on it. Taking bug.
It mostly works, but looks a bit silly in some cases, because I can switch the
only the rest of a paragraph to monospace, if I detect a line being ASCII-Art,
not the previous part, for the reasons given above.
Will attach patch to bug 46993, when done.
Reporter | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Keywords: helpwanted
Reporter | ||
Comment 5•24 years ago
|
||
Moving out to M20, out of pity for poor Netscape :). Hope, it won't rott.
Target Milestone: M18 → M20
Comment 6•24 years ago
|
||
CC'ing mpt. We need this so that all his art will look good. :)
Comment 7•24 years ago
|
||
Recommend wontfix. This is an AI-complete problem, and I don't think Mozilla
should try to solve it.
For example, you will have false positives for:
* people who use two spaces between their sentences
* people (like me) who preserve original horizontal alignment of parts of quoted
lines when splitting a quoted line.
And you will have false negatives for:
* the common GIFSCII conversion type of art (i.e. bitmaps converted to ASCII),
which consists of a solid rectangular block of characters chosen because of
their various darknesses (no space characters involved)
* any other art which happens not to have more than one space in sequence
anywhere -- e.g. smileys, other one-liner art 8//=/\-, and so on ...
It would make far more sense, IMO, just to provide a keyboard shortcut for
toggling between fixed-width and proportional-width text, like Pegasus Mail does.
Reporter | ||
Updated•24 years ago
|
Target Milestone: M20 → mozilla0.9.1
Reporter | ||
Comment 8•24 years ago
|
||
Update: I had a working patch, but lost it :-(((. See bug 46993 for details.
Reporter | ||
Comment 9•24 years ago
|
||
for mozTXTToHTMLConv
Component: MIME → Networking
Product: MailNews → Browser
Target Milestone: mozilla0.9.1 → ---
Reporter | ||
Comment 10•24 years ago
|
||
Changing personal priorities. Giving away most of my bugs :-( (reassigning to
default owner).
I will still track these bugs closely. If you need my input, feel free to ask me.
New owner: Please do *not* close these bugs (as WONTFIX or whatever you may
find) unless they are fixed. Rather, reassign to <nobody@mozilla.org>, if you
don't want to work on them.
Assignee: mozilla → neeti
Status: ASSIGNED → NEW
QA Contact: pmock → tever
Reporter | ||
Updated•24 years ago
|
QA Contact: tever → pmock
Comment 12•22 years ago
|
||
mass assignment of text->HTML bugs to MailNews w/ esther as QA.
Component: Networking → Mail Back End
Product: Browser → MailNews
Version: Trunk → other
Reporter | ||
Updated•22 years ago
|
Component: Mail Back End → MIME
Summary: Recognize ASCII-art and -tables → [mozTXTToHTMLConv] Recognize ASCII-art and -tables
Updated•20 years ago
|
Product: MailNews → Core
Comment 13•20 years ago
|
||
Moving a bunch of mozTXTToHTMLConv bugs into Core / MailNews Backend to live
with their bretheren.
Updated•20 years ago
|
Component: MailNews: MIME → MailNews: Backend
Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
Comment 15•15 years ago
|
||
This bug continues and is a nuisance. I sometimes look at pages with electronic circuit diagrams in "ASCII art". Internet Explorer has ALWAYS displayed them correctly (possibly because people tweak them for IE); Firefox NEVER has. Example:
http://www.repairfaq.org/REPAIR/F_smpsfaq.html
Seek
"3.3) Description of typical flyback type SMPS"
(anyone interested in switch-mode power supplies might find the page interesting in its own right!).
Workaround, obviously: render page with IE
Reporter | ||
Comment 16•15 years ago
|
||
Michael, this bug is about Thunderbird, not Firefox.
Comment 17•15 years ago
|
||
Sorry for reporting for Thunderbird rather than Firefox, had searched Bugzilla and not checked the report I'd found was for right component.
Worse, the bug is due to my configuration; I'll report it here in case anyone finds it in a search; it can happen in any software. When displaying "ASCII art", the "picture" is garbled. Cause: although I'd initially specified a fount for monospaced text (in Firefox, but could happen anywhere), it had been changed during some long-ago update to Alba, the first alphabetically. Result is garbled picture in ASCII text with incorrect spacing, obviously.
Comment 18•11 years ago
|
||
(In reply to Matthew Paul Thomas from comment #7)
> Recommend wontfix.
+1
Priority: P3 → --
Summary: [mozTXTToHTMLConv] Recognize ASCII-art and -tables → [mozTXTToHTMLConv] Recognize ASCII-art and -tables (display some paragraphs in fixed width font when plaintext is viewed in variable width font)
Whiteboard: [wontfix?]
Updated•2 years ago
|
Severity: normal → S3
Comment hidden (collapsed) |
Updated•10 months ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•10 months ago
|
Status: REOPENED → NEW
You need to log in
before you can comment on or make changes to this bug.
Description
•