2019-11-23 00:04 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002710NetSurfLayoutpublic2019-10-15 12:45
ReporterHarriet Bazley 
Assigned To 
SeverityminorReproducibilityalways 
StatusacknowledgedResolutionopen 
PlatformIyonixOSRISC OSOS Version5.22
Product Version3.10 
Target VersionFixed in Version 
Summary0002710: Preformatted text fails to align
Descriptionwtr.in is designed to provide weather forecasts formatted with ASCII art suitable for terminal display. But the display doesn't line up correctly when viewing the site in Netsurf - the characters become more and more misaligned, as can be seen by the increasing distortion in what are intended to be vertical lines. The 'boxes' around the dates are always massively to the left of where they should be. Evidently the characters aren't all being rendered at the same width, despite the 'pre' tag which the website expects to achieve this.
Steps To ReproduceRequest a weather report from the site, e.g. http://wttr.in/London?u
 
Additional InformationIf you export the page as text, the resulting file *is* aligned as expected (save for Netsurf's valiant attempt at a meaningful rendition for the right arrow character, which comes out as two characters wide - preferable under normal circumstances to a question mark, but causing a slight problem here).
If you ask Netsurf to display the PNG version (using, for example, the URL http://wttr.in/London.png?u ) then the intended display is obtained.
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #4885
URL of problem pagehttp://wttr.in/London?u
Attached Files

-Relationships
+Relationships

-Notes
Harriet Bazley

~0002101

Harriet Bazley (reporter)

London/html - source which generated screen shot above.
Harriet Bazley

~0002102

Harriet Bazley (reporter)

London/txt - result of exporting page as plain text
+Notes

-Issue History
Date Modified Username Field Change
2019-10-11 23:41 Harriet Bazley New Issue
2019-10-11 23:41 Harriet Bazley File Added: screen.png
2019-10-11 23:42 Harriet Bazley File Added: London.html
2019-10-11 23:42 Harriet Bazley Note Added: 0002101
2019-10-11 23:42 Harriet Bazley File Added: London.txt
2019-10-11 23:42 Harriet Bazley Note Added: 0002102
2019-10-15 12:45 Vincent Sanders Status new => acknowledged
2019-10-15 12:45 Vincent Sanders Product Version => 3.10
2019-10-15 12:45 Vincent Sanders Steps to Reproduce Updated View Revisions
2019-10-15 12:45 Vincent Sanders Additional Information Updated View Revisions
+Issue History