Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » HTML viewer
Re: HTML viewer [message #60028 is a reply to message #60027] Tue, 11 July 2023 13:14 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Oblivion wrote on Tue, 11 July 2023 12:37
Hi,

In case you've missed it, we already have a fully functional html-5 parser (and sanitizer/prettifier as a bonus) now.
(Of course, I am aware that Mirek's code serves another purpose, but a fully-fledged HTML->QTF converter, using HtmlTools package would too be very easy to implement.)


Humor me Smile

I have actually noticed this, but "It corrects and cleans up HTML and XML documents by fixing markup errors and upgrading legacy code to modern standards." does not seem like going too far into rendering stuff.

Parsing HTML is (relatively) easy. Where it gets hard IMO is where you have to interpret styles to have some meaningful rendering info. Font sizes, colors, line styles and width and such.. I have not checked too deeply, but few examples I have seen do not seem to deal with that stuff at all...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MacOS M1/M2 chip can cross compile even for previous intel chip?
Next Topic: Greetings! (and a bug report)
Goto Forum:
  


Current Time: Sat Aug 23 22:39:01 CEST 2025

Total time taken to generate the page: 0.05210 seconds