Short: ReAction class rendering simple HTML 4 Author: André Gewert Uploader: André Gewert Type: dev/gui Version: 1.1 Requires: AmigaOS 3.2, 68000+; htmlttf.gadget: RTG recommended Architecture: m68k-amigaos >= 3.2.0 Distribution: Aminet html.gadget and htmlttf.gadget are public ReAction (BOOPSI) gadget classes for AmigaOS 3.2 that display simple HTML 4 documents - online help, readme files, "about" pages, simple offline browsers. Features -------- - headings, paragraphs,
, 
, alignment, horizontal rules - text styles, , sub/superscript - lists (ul/ol with all numbering types, nested; dl) - tables with automatic column widths, colspan, rowspan, border, cellpadding, cellspacing, width in pixels or %, align/valign, bgcolor, captions, nested tables - links with visited/active colours, anchors, "#anchor" links handled by the gadget itself, link clicks reported as GADGETUP - pictures in every format a datatype exists for (GIF transparency, PNG alpha in htmlttf.gadget), scaled with width/height; with align=left/ right the text flows around them (hspace, vspace, br clear) - background colours and tiled background pictures for the page, tables and cells - text selection with the mouse (drag, double click for a word) and copying to the clipboard (IFF FTXT) - Latin-1 entities, UTF-8 documents are converted automatically - scrollers connect via ICA_TARGET/ICA_MAP, mouse wheel and keys in the demo program html.gadget uses the system's bitmap fonts and rounds bigger HTML font sizes to sizes that really exist (e.g. Helvetica 9/11/13/15/18/24), so no scaled bitmap fonts are shown. Rendering is flicker free through an off-screen bitmap. Runs on every AmigaOS 3.2 system, 68000 and up. htmlttf.gadget is a drop-in alternative with the same attributes that renders anti-aliased TrueType fonts through a built-in FreeType 2.3.8 (Bitstream Vera included; DejaVu and Noto are supported as well), composites everything in 32 bit (pictures with alpha channel) and writes it with WritePixelArray() on RTG screens or maps it to pens on palette screens. Contents -------- Install Installer script (English/German) Classes/Gadgets/ html.gadget, htmlttf.gadget (68000) Classes/Gadgets/68020/ htmlttf.gadget for 68020-68060 (Install picks it) Demo/ HTMLDemo (a small browser) with example pages; "HTMLDemo TTF" uses htmlttf.gadget Developer/ includes (gadgets, proto, inline, clib), FD, SFD, Autodocs Docs/ German documentation (LiesMich.txt) Icons/ the archive's icons as GlowIcons and NewIcons (and the classic ones); double click UseGlowIcons, UseNewIcons or UseClassic to switch Source/ complete source code (C, cross compiled with bebbo's amiga-gcc and NDK 3.2; FreeType 2.3.8 from Aminet dev/lib/freetype-2.3.8 is needed for htmlttf.gadget) The demo runs directly from the archive; to use the classes in your own programs, run the Installer script or copy Classes/Gadgets/#? to SYS:Classes/Gadgets/. Not supported: CSS, JavaScript, frames, forms (drawn as boxes only), text flowing around tables, network access. History ------- 1.1 (03.10.2026) - tables: cells spanning several rows (rowspan) - pictures with align=left/right, text flows around them - html.gadget: links are underlined with every font and without gaps between the words - list bullets are centred vertically in the line - htmlttf.gadget also as faster build for 68020-68060 - icons also as GlowIcons and NewIcons (drawer Icons) - new demo pages: tables, text flow - HTMLDemo: no crash when started from the Workbench - checkboxes and radio buttons show their state, sized to the font (anti-aliased in htmlttf.gadget), e.g. for Markdown task lists - lists: type="none" on the list or an item hides the marker; a checkbox at the start of the item takes its place (task lists) 1.0 (30.09.2026) - first release License ------- MIT License, see LICENSE. htmlttf.gadget contains FreeType: Portions of this software are copyright (c) 2009 The FreeType Project (www.freetype.org). All rights reserved. Bitstream Vera fonts: Copyright (c) 2003 by Bitstream, Inc., see Licenses/Vera-COPYRIGHT.TXT. Deutsch ------- html.gadget und htmlttf.gadget sind öffentliche ReAction-Klassen für AmigaOS 3.2, die einfache HTML-4-Dokumente anzeigen: Überschriften, Listen, Tabellen, Links, Bilder über Datatypes, Text markieren und in die Zwischenablage kopieren. html.gadget verwendet die Bitmap-Fonts des Systems in ihren echten Größen, htmlttf.gadget geglättete TrueType-Schriften über FreeType. Ausführliche deutsche Dokumentation: Docs/LiesMich.txt. Installation mit dem beiliegenden Installer-Skript. Versionsgeschichte ------------------ 1.1 (03.10.2026) - Tabellen: Zellen über mehrere Zeilen (rowspan) - Bilder mit align=left/right, der Text umfließt sie - html.gadget: Links werden mit jedem Font und ohne Lücken zwischen den Wörtern unterstrichen - Aufzählungspunkte stehen vertikal mittig in der Zeile - htmlttf.gadget zusätzlich als schnellerer Build für 68020-68060 - Icons zusätzlich als GlowIcons und NewIcons (Schublade Icons) - neue Demo-Seiten: Tabellen, Textumfluss - HTMLDemo: kein Absturz mehr beim Start von der Workbench - Checkboxen und Radio-Buttons zeigen ihren Zustand, passend zur Schriftgröße (in htmlttf.gadget geglättet), z. B. für Markdown-Aufgabenlisten - Listen: type="none" an der Liste oder einem Punkt blendet das Zeichen aus; eine Checkbox am Anfang des Punkts tritt an seine Stelle (Aufgabenlisten) 1.0 (30.09.2026) - erste Veröffentlichung