FLTK logo

[fltk.general] Re: is there any FLTK based HTML4 viewer?

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: is there any FLTK based HTML4 viewer? "lifeatt... Jul 28, 2021  
 
>we need to browse some subset of HTML4.
Parse, or display?

The FLTK Fl_Help_View widget supports displaying a subset of HTML2.

HTML only, or CSS and _javascript_ as well?

C++ parsers that handle HTML5:

https://github.com/htacg/tidy-html5
https://github.com/lexbor/lexbor

Maybe you could use a library like  https://github.com/mikke89/RmlUi (using FLTK as the renderer).

Frankly, displaying HTML is a fairly "hard" problem. You might start with Fl_Help_View and extend it, or massage HTML5 down to a level which Fl_Help_View can handle.


--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/0138b551-7ab5-40d5-b4f7-224bf19c503en%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.