Recent

Author Topic: Pixie: A lightweight HTML/CSS rendering engine for Free Pascal and Lazarus 🌟  (Read 15388 times)

Retrofoxed

  • Guest
That's very impressive...

The IDE uses the TurboPower IPro library for rendering its help texts (popup help, chm files in LHelp), and that is very buggy and incomplete. One idea:  Could you ask your AI to create a reduced version of pixie (html only, Lazarus only) for inclusion in the IDE, and to adapt LHelp and the popup hints to it?

Pixie is highly modular, there is no problem with that - however I am not a Lazarus dev, so it would be up to them if they wanted to integrate it.

zeljko

  • Hero Member
  • *****
  • Posts: 1980
    • http://wiki.lazarus.freepascal.org/User:Zeljan
I you create light weight component for such purpose why not ? I'm for that. Pixie is a excellent component, I like it very much. Only thing is that lightweight (or full pixie ) must be included into lazarus sources, so it is standard in lazarus/components

cdbc

  • Hero Member
  • *****
  • Posts: 2850
    • http://www.cdbc.dk
Hi
+1
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

AlexTP

  • Hero Member
  • *****
  • Posts: 2725
    • UVviewsoft
Wait, current www-viewer component is for all OSes. Pixie is not for all OSes (not for BSD, Haiku, Solaris), it's correct?

It must be easy to add: BSD/Solaris use LCLGtk2 usually, and Haiku uses LCLQt5 or LCLQt6.
« Last Edit: May 29, 2026, 09:38:48 am by AlexTP »

Retrofoxed

  • Guest
Wait, current www-viewer component is for all OSes. Pixie is not for all OSes (not for BSD, Haiku, Solaris), it's correct?
It must be easy to add: BSD/Solaris use LCLGtk2 usually, and Haiku uses LCLQt5 or LCLQt6.

Yes, it'd probably be one of the existing backends, either GTK2/3 or Qt. I'd be flattered if Pixie became a part of Lazarus ;-)

zeljko

  • Hero Member
  • *****
  • Posts: 1980
    • http://wiki.lazarus.freepascal.org/User:Zeljan
But what OS have to do with pixie ? Isn't it about WS backend ? If gtk2/gtk3 works on FreeBSD why pixie cannot ? If Qt works on Haiku what would be the problem to use pixie there ? I don't understand this OSes questions.

wp

  • Hero Member
  • *****
  • Posts: 13622
It is my impression that the hectic activities in the beginning have settled down and the version has stabilized. @Retrofoxed: Is the current version in your github ready for inclusion in OPM? (I am assuming that you will be maintaining the package in the future,too).

Tomxe

  • Full Member
  • ***
  • Posts: 132
« Last Edit: June 08, 2026, 03:20:03 pm by Tomxe »

cdbc

  • Hero Member
  • *****
  • Posts: 2850
    • http://www.cdbc.dk
Hi
@Retrofoxed: This is a pull-request(ish):
  Could you please include the following codelines in 'Pixie.HtmlView.Base.pas'
Code: Pascal  [Select][+][-]
  1.   ...
  2.   Pixie.CustomControl, Pixie.HtmlView.Core
  3.   {$IFDEF MSWINDOWS}
  4.     , JwaWinUser
  5.   {$ENDIF};
  6. ////////////////////////////// THIS BELOW ///////////////////////////////
  7. {$IF FPC_FULLVERSION < 30301}
  8. const
  9.   { ADDED 21.06.26 by cdbc -- FOR PIXIE COMPILING in FPC 3.2.2 }
  10.   LM_IM_QUERY = LMessages.LM_IM_COMPOSITION + 1;
  11. {$ENDIF}
  12. //////////////////////////// THE ABOVE ///////////////////////////////////
  13. type
  14.   { TPixieHtmlViewBase }
  15.  
  16.   TPixieHtmlViewBase = class(TPixieCustomControl)
  17.   private
  18.   ...
In my file '{$IF FPC_FULLVERSION < 30301}' starts in line 23  ;D

This patch will make Pixie compile in FPC 3.2.2
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

Thaddy

  • Hero Member
  • *****
  • Posts: 19387
  • Glad to be alive.
@Retrofoxed Why are you using my WEBP decoder with information about author and license removed?
I have seen it. Makes Retrofoxed look very very silly if that is any comfort.
Such things happen all the time but this is blatantly obvious.
objects are fine constructs. You can even initialize them with constructors.

paweld

  • Hero Member
  • *****
  • Posts: 1671
Best regards / Pozdrawiam
paweld

cdbc

  • Hero Member
  • *****
  • Posts: 2850
    • http://www.cdbc.dk
Hi Pawel
Okidoki, I think I got an item in, in the work items at Gitlab...
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

 

TinyPortal © 2005-2018