digao-dalpiaz / DzHTMLText

Delphi and Lazarus HTML Label component
MIT License
184 stars 49 forks source link
android component delphi fmx formatted html ios label lazarus link linux macos osx pascal tags

:newspaper: Digao Dalpiaz News on Telegram

YouTube

Brazilian Portuguese video. Please select automatic translations on YouTube video options.

DzHTMLText

Delphi and Lazarus HTML Label component

Delphi Supported Versions Platforms Auto Install VCL and FMX Lazarus support CJK line break

ko-fi

What's New

Click here to view the entire changelog - 03/25/2024 (Version 6.3) - VCL font scaling review (Height is calculated by default screen PPI) - 03/24/2024 (Version 6.2) - Better FMX design-time border (using the Delphi pattern). - Keep Canvas properties state in FMX (font changes and other Canvas properties were retained and could affect the painting of other controls on the form) - 02/26/2024 (Version 6.1) - Opacity supporting in FMX environment. - 02/23/2024 (Version 6.0) - New Design packages (build all packages and install only design packages). *The old packages were transformed into Runtime-only packages, so if you already had the component installed previously, you may receive an error message in Delphi saying that the package cannot be installed as it is Runtime-only. You can ignore this message, as the package will not be installed and will no longer be loaded at Designtime.* - New Syntax Errors list (right click on component in design mode and choose "Show Syntax Errors"). The component border will appear red when syntax errors. - Fixed word bounds size calculation for some platforms in FMX environment, like Android. The component was using MeasureCanvas to calculate bounds before canvas becomes available. Some platforms return wrong size (smaller) when using generic MeasureCanvas. Now we are using original Canvas, building tokens when Canvas becomes available. **This fix resolves the issue of characters cut in half at the end of the word.** - Fixed Tab margin on first line and Tab x Line Item x Paragraph Indent margin overload. - Reintroduced `` tag (as obsolete tag). - 02/20/2024 (Version 5.3) - Reorganization of component folders (Please completely delete the previous component folder). **WARNING! DCU output folder changed. Now output directory is `Lib\{Platform}\{Config}`. Please review your Library Paths.** - Auto-install now supports Delphi 12. - 01/21/2024 (Version 5.2) - Fixed left margin after List tags (Unordered and Ordered lists). - Reintroduced `` and `` tags. - New PlainText and GeneratePlainText properties (public) - removed HTMLToPlainText method. - 01/12/2024 (Version 5.1) - Improved VCL x FMX x HTML color notation. Please read Color Notation topic. - 01/05/2024 (Version 5.0) | :exclamation: Component breaking changes | |---------------------------------------------------------------------------------------| | Tags ``, `` and `` have been removed | | Please use new tag `
` | | (`` and `` reintroduced in version 5.2, `` reintroduced in version 6.0) | - **NEW COMPONENT ENGINE!!!** - Improved token processing performance - FmxLinux supporting - Refactoring Scaling in VCL - Fixed Lazarus Scaling (Lazarus IDE stores Design DPI) - New Div Tag (`
`) - Removed Tab and Float Tags (``, ``, ``) - *please use new Div tag* - New Header Tag (``) - New Custom Style Tag (`