Author Topic: New HTML+CSS viewer  (Read 1058 times)

Tomxe

  • Full Member
  • ***
  • Posts: 202
New HTML+CSS viewer
« on: October 06, 2026, 10:52:45 pm »
MIT licensed, interested?  8)

zeljko

  • Hero Member
  • *****
  • Posts: 2038
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: New HTML+CSS viewer
« Reply #1 on: October 06, 2026, 11:17:21 pm »
Yes, let we see that.

Tomxe

  • Full Member
  • ***
  • Posts: 202
Re: New HTML+CSS viewer
« Reply #2 on: October 07, 2026, 06:34:20 am »
https://github.com/Xelitan/XelHtml---pure-Pascal-HTML-CSS-viewer

There are 2 packages that need to be installed:

XelHtmlTlsPkg <-- this one is non-visual, needed for https support
XelHtmlPkg <-- this one adds a visual component to "Xelitan" tab on components palette

You need to install from OPM:
XelImageFormats - to load webp images
TslLib - this is ssl

Demo is in the _demo folder.

The viewer passes ACID1 test, can load many websites just as well as Firefox or Chrome.

1) supports local files, http, https
2) supports fonts in WOFF, WOFF2, TTF, OTF and SVG formats
3) loads images in threads
4) supports gif, jpeg, png and webp images
« Last Edit: October 07, 2026, 10:12:29 am by Tomxe »

JZS

  • Full Member
  • ***
  • Posts: 207
Re: New HTML+CSS viewer
« Reply #3 on: October 08, 2026, 10:48:17 am »
Hi Tomxe,

Does it work on linux?

Regards,

J
I use recent stable release

zeljko

  • Hero Member
  • *****
  • Posts: 2038
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: New HTML+CSS viewer
« Reply #4 on: October 08, 2026, 01:14:49 pm »
According to the uses clause of some units it is windows only. (Windows unit included without any ifdefs)

Thaddy

  • Hero Member
  • *****
  • Posts: 19978
  • Pointless static linking author
Re: New HTML+CSS viewer
« Reply #5 on: October 08, 2026, 02:14:57 pm »
According to the uses clause of some units it is windows only. (Windows unit included without any ifdefs)
Yes, indeed, but that code CAN be made cross-platform: there are few limits that can't be solved.
So, my opinion, looks good, needs polishing.
Any "programmer" that knows only one programming language is not a programmer

Tomxe

  • Full Member
  • ***
  • Posts: 202
Re: New HTML+CSS viewer
« Reply #6 on: October 08, 2026, 09:16:18 pm »
Yes, it's Windows for now but not much needs to be changed to support Linux.
Anyone needs this to work on Linux?

JZS

  • Full Member
  • ***
  • Posts: 207
Re: New HTML+CSS viewer
« Reply #7 on: October 09, 2026, 07:52:16 am »
Yes, it's Windows for now but not much needs to be changed to support Linux.
Anyone needs this to work on Linux?
Yes please. Would love to try it on Linux.
I use recent stable release

Tomxe

  • Full Member
  • ***
  • Posts: 202
Re: New HTML+CSS viewer
« Reply #8 on: October 09, 2026, 07:59:48 am »
It should work on Linux now. It does on my WSL Ubuntu.

 

TinyPortal © 2005-2018