AminetAminet
Search:
85636 packages online
• About
• Recent
• Browse
• Search
• Upload
• Setup
• Services

dev/gui/html_gadget.lha

Mirror:Random
Showing: m68k-amigaos icongeneric icon
No screenshot available
Short:ReAction class rendering simple HTML 4
Author:"André Gewert" agewert at ubergeek.de
Uploader:André Gewert <agewert ubergeek de>
Type:dev/gui
Version:1.0
Architecture:m68k-amigaos >= 3.2.0
Date:2026-10-01
Requires:AmigaOS 3.2, 68000+; htmlttf.gadget: RTG recommended
Distribution:Aminet
Download:dev/gui/html_gadget.lha - View contents
Readme:dev/gui/html_gadget.readme
Downloads:1

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, <pre>, <blockquote>, alignment, horizontal rules
 - text styles, <font size color face>, sub/superscript
 - lists (ul/ol with all numbering types, nested; dl)
 - tables with automatic column widths, colspan, 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
 - 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
 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)
 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),
rowspan, text flowing around tables and pictures, network access.

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.


Contents of dev/gui/html_gadget.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  109     424  25.7% -lh5- e990 Sep 30 21:10 html_gadget.info
[generic]                  109     424  25.7% -lh5- e990 Sep 30 21:10 html_gadget/Classes.info
[generic]                  109     424  25.7% -lh5- e990 Sep 30 21:10 html_gadget/Demo.info
[generic]                  109     424  25.7% -lh5- e990 Sep 30 21:10 html_gadget/Developer.info
[generic]                  109     424  25.7% -lh5- e990 Sep 30 21:10 html_gadget/Docs.info
[generic]                 1042    3075  33.9% -lh5- 70a9 Sep 30 20:09 html_gadget/Install
[generic]                  156     448  34.8% -lh5- f9e4 Sep 30 21:10 html_gadget/Install.info
[generic]                  867    1675  51.8% -lh5- a8ef Sep 30 20:06 html_gadget/LICENSE
[generic]                  135     318  42.5% -lh5- 22a4 Sep 30 21:10 html_gadget/LICENSE.info
[generic]                  109     424  25.7% -lh5- e990 Sep 30 21:10 html_gadget/Licenses.info
[generic]                  109     424  25.7% -lh5- e990 Sep 30 21:10 html_gadget/Source.info
[generic]                 1938    3849  50.4% -lh5- 5a66 Sep 30 21:10 html_gadget/html_gadget.readme
[generic]                  132     318  41.5% -lh5- 0d19 Sep 30 21:10 html_gadget/html_gadget.readme.info
[generic]                28201   43504  64.8% -lh5- e511 Sep 30 21:08 html_gadget/Classes/Gadgets/html.gadget
[generic]                90199  139212  64.8% -lh5- 9508 Sep 30 21:08 html_gadget/Classes/Gadgets/htmlttf.gadget
[generic]                 5796    9944  58.3% -lh5- e7e4 Sep 30 21:08 html_gadget/Demo/HTMLDemo
[generic]                  177     465  38.1% -lh5- bf77 Sep 30 21:10 html_gadget/Demo/HTMLDemo.info
[generic]                  589     589 100.0% -lh0- eafa Sep 30 18:44 html_gadget/Demo/boing.gif
[generic]                 1838    3712  49.5% -lh5- 6394 Sep 30 20:20 html_gadget/Demo/example.html
[generic]                  175    2408   7.3% -lh5- ed7d Sep 30 18:44 html_gadget/Demo/farben.iff
[generic]                  513     924  55.5% -lh5- 8d0c Sep 30 20:20 html_gadget/Demo/hintergrund.html
[generic]                   90      90 100.0% -lh0- 88e2 Sep 30 20:02 html_gadget/Demo/kachel.gif
[generic]                 1609    1609 100.0% -lh0- 591a Sep 30 20:02 html_gadget/Demo/papier.gif
[generic]                   84      84 100.0% -lh0- 2d03 Sep 30 20:02 html_gadget/Demo/streifen.gif
[generic]                  259     394  65.7% -lh5- c69d Sep 30 18:32 html_gadget/Demo/zweite.html
[generic]                 2644    5954  44.4% -lh5- 2ad0 Sep 30 19:28 html_gadget/Demo/fonts/Vera-COPYRIGHT.TXT
[generic]                40302   65932  61.1% -lh5- 0807 Sep 30 19:28 html_gadget/Demo/fonts/Vera.ttf
[generic]                38915   63208  61.6% -lh5- b96a Sep 30 19:28 html_gadget/Demo/fonts/VeraBI.ttf
[generic]                37175   58716  63.3% -lh5- ca47 Sep 30 19:28 html_gadget/Demo/fonts/VeraBd.ttf
[generic]                39483   63684  62.0% -lh5- a027 Sep 30 19:28 html_gadget/Demo/fonts/VeraIt.ttf
[generic]                31341   55032  57.0% -lh5- 7492 Sep 30 19:28 html_gadget/Demo/fonts/VeraMoBI.ttf
[generic]                27918   49052  56.9% -lh5- 1c13 Sep 30 19:28 html_gadget/Demo/fonts/VeraMoBd.ttf
[generic]                31392   54508  57.6% -lh5- 378a Sep 30 19:28 html_gadget/Demo/fonts/VeraMoIt.ttf
[generic]                28468   49224  57.8% -lh5- 28ae Sep 30 19:28 html_gadget/Demo/fonts/VeraMono.ttf
[generic]                  109     424  25.7% -lh5- e990 Sep 30 21:10 html_gadget/Developer/Autodocs.info
[generic]                 3753   12031  31.2% -lh5- 9f21 Sep 30 20:20 html_gadget/Developer/Autodocs/html_gadget.doc
[generic]                 4207   13313  31.6% -lh5- 3ee3 Sep 30 20:07 html_gadget/Developer/Autodocs/htmlttf_gadget.doc
[generic]                  121     148  81.8% -lh5- 3069 Sep 30 18:32 html_gadget/Developer/FD/html_lib.fd
[generic]                  126     160  78.8% -lh5- b3d9 Sep 30 19:25 html_gadget/Developer/FD/htmlttf_lib.fd
[generic]                  325     537  60.5% -lh5- 151c Sep 30 18:32 html_gadget/Developer/Include/clib/html_protos.h
[generic]                  329     558  59.0% -lh5- 7fbf Sep 30 19:25 html_gadget/Developer/Include/clib/htmlttf_protos.h
[generic]                 2066    5732  36.0% -lh5- 7d2b Sep 30 20:19 html_gadget/Developer/Include/gadgets/html.h
[generic]                  915    1973  46.4% -lh5- 6300 Sep 30 20:06 html_gadget/Developer/Include/gadgets/htmlttf.h
[generic]                  305     639  47.7% -lh5- b3c8 Sep 30 18:32 html_gadget/Developer/Include/inline/html.h
[generic]                  307     669  45.9% -lh5- a514 Sep 30 19:25 html_gadget/Developer/Include/inline/htmlttf.h
[generic]                  338     723  46.7% -lh5- 4409 Sep 30 18:32 html_gadget/Developer/Include/proto/html.h
[generic]                  344     756  45.5% -lh5- bda5 Sep 30 19:25 html_gadget/Developer/Include/proto/htmlttf.h
[generic]                  161     208  77.4% -lh5- b4db Sep 30 18:32 html_gadget/Developer/SFD/html_lib.sfd
[generic]                  166     223  74.4% -lh5- 4b6c Sep 30 19:25 html_gadget/Developer/SFD/htmlttf_lib.sfd
[generic]                 5952   12486  47.7% -lh5- 808f Sep 30 21:10 html_gadget/Docs/LiesMich.txt
[generic]                  132     318  41.5% -lh5- 0d19 Sep 30 21:10 html_gadget/Docs/LiesMich.txt.info
[generic]                 2863    6741  42.5% -lh5- 2a73 Jan 25  2009 html_gadget/Licenses/FTL.TXT
[generic]                 2644    5954  44.4% -lh5- 2ad0 Sep 30 19:28 html_gadget/Licenses/Vera-COPYRIGHT.TXT
[generic]                  867    1675  51.8% -lh5- a8ef Sep 30 20:06 html_gadget/Source/LICENSE
[generic]                 1912    5557  34.4% -lh5- 3430 Sep 30 20:10 html_gadget/Source/Makefile
[generic]                 6021   12589  47.8% -lh5- 00d2 Sep 30 21:00 html_gadget/Source/README.de.md
[generic]                 4255    9341  45.6% -lh5- 491d Sep 30 21:00 html_gadget/Source/README.md
[generic]                  589     589 100.0% -lh0- eafa Sep 30 18:44 html_gadget/Source/demo/boing.gif
[generic]                 1838    3712  49.5% -lh5- 6394 Sep 30 20:20 html_gadget/Source/demo/example.html
[generic]                  175    2408   7.3% -lh5- ed7d Sep 30 18:44 html_gadget/Source/demo/farben.iff
[generic]                  513     924  55.5% -lh5- 8d0c Sep 30 20:20 html_gadget/Source/demo/hintergrund.html
[generic]                 5975   19626  30.4% -lh5- ec62 Sep 30 21:00 html_gadget/Source/demo/htmldemo.c
[generic]                   90      90 100.0% -lh0- 88e2 Sep 30 20:02 html_gadget/Source/demo/kachel.gif
[generic]                 1609    1609 100.0% -lh0- 591a Sep 30 20:02 html_gadget/Source/demo/papier.gif
[generic]                   84      84 100.0% -lh0- 2d03 Sep 30 20:02 html_gadget/Source/demo/streifen.gif
[generic]                  259     394  65.7% -lh5- c69d Sep 30 18:32 html_gadget/Source/demo/zweite.html
[generic]                 3753   12031  31.2% -lh5- 9f21 Sep 30 20:20 html_gadget/Source/doc/html_gadget.doc
[generic]                 4207   13313  31.6% -lh5- 3ee3 Sep 30 20:07 html_gadget/Source/doc/htmlttf_gadget.doc
[generic]                  325     537  60.5% -lh5- 151c Sep 30 18:32 html_gadget/Source/include/clib/html_protos.h
[generic]                  329     558  59.0% -lh5- 7fbf Sep 30 19:25 html_gadget/Source/include/clib/htmlttf_protos.h
[generic]                  121     148  81.8% -lh5- 3069 Sep 30 18:32 html_gadget/Source/include/fd/html_lib.fd
[generic]                  126     160  78.8% -lh5- b3d9 Sep 30 19:25 html_gadget/Source/include/fd/htmlttf_lib.fd
[generic]                 2066    5732  36.0% -lh5- 7d2b Sep 30 20:19 html_gadget/Source/include/gadgets/html.h
[generic]                  915    1973  46.4% -lh5- 6300 Sep 30 20:06 html_gadget/Source/include/gadgets/htmlttf.h
[generic]                  305     639  47.7% -lh5- b3c8 Sep 30 18:32 html_gadget/Source/include/inline/html.h
[generic]                  307     669  45.9% -lh5- a514 Sep 30 19:25 html_gadget/Source/include/inline/htmlttf.h
[generic]                  338     723  46.7% -lh5- 4409 Sep 30 18:32 html_gadget/Source/include/proto/html.h
[generic]                  344     756  45.5% -lh5- bda5 Sep 30 19:25 html_gadget/Source/include/proto/htmlttf.h
[generic]                 1042    3075  33.9% -lh5- 70a9 Sep 30 20:09 html_gadget/Source/package/Install
[generic]                 1938    3849  50.4% -lh5- 5a66 Sep 30 21:10 html_gadget/Source/package/html_gadget.readme
[generic]                  161     208  77.4% -lh5- b4db Sep 30 18:32 html_gadget/Source/sfd/html_lib.sfd
[generic]                  166     223  74.4% -lh5- 4b6c Sep 30 19:25 html_gadget/Source/sfd/htmlttf_lib.sfd
[generic]                17332   59806  29.0% -lh5- c686 Sep 30 20:19 html_gadget/Source/src/html_class.c
[generic]                  812    1867  43.5% -lh5- 28c5 Sep 30 20:06 html_gadget/Source/src/html_clip.c
[generic]                 3010    7843  38.4% -lh5- 334e Sep 30 20:06 html_gadget/Source/src/html_core.h
[generic]                11333   42705  26.5% -lh5- 3929 Sep 30 20:06 html_gadget/Source/src/html_layout.c
[generic]                 1962    6473  30.3% -lh5- d668 Sep 30 20:06 html_gadget/Source/src/html_lib.c
[generic]                 8261   28930  28.6% -lh5- 12be Sep 30 20:06 html_gadget/Source/src/html_parse.c
[generic]                  654    1461  44.8% -lh5- f56b Sep 30 20:06 html_gadget/Source/src/html_private.h
[generic]                 1744    5632  31.0% -lh5- e696 Sep 30 20:11 html_gadget/Source/src/html_select.c
[generic]                13916   49093  28.3% -lh5- e48d Sep 30 20:06 html_gadget/Source/src/htmlttf_class.c
[generic]                 5932   18932  31.3% -lh5- 7525 Sep 30 20:06 html_gadget/Source/src/htmlttf_render.c
[generic]                 1304    3030  43.0% -lh5- 1bd3 Sep 30 20:06 html_gadget/Source/src/htmlttf_render.h
[generic]                 1820    4390  41.5% -lh5- d1ce Sep 30 20:06 html_gadget/Source/test/hosttest.c
[generic]                 2624    7334  35.8% -lh5- c417 Sep 30 20:06 html_gadget/Source/test/ttfpreview.c
[generic]                 3100    8968  34.6% -lh5- 473c Sep 30 21:00 html_gadget/Source/tools/mkdist.py
[generic]                  249     331  75.2% -lh5- 8059 Sep 30 20:06 html_gadget/Source/ttf/ftbase_html.c
[generic]                 1516    4371  34.7% -lh5- 1b3a Sep 30 20:06 html_gadget/Source/ttf/ftlibc.c
[generic]                  684    1534  44.6% -lh5- 7ccc Sep 30 20:06 html_gadget/Source/ttf/ftsystem.c
[generic]                  894    2654  33.7% -lh5- 6f10 Sep 30 19:18 html_gadget/Source/ttf/include/ftlibc.h
[generic]                  141     271  52.0% -lh5- 28f6 Sep 30 19:18 html_gadget/Source/ttf/include/ftmodule_html.h
[generic]                 8563   44199  19.4% -lh5- 7282 Sep 30 19:19 html_gadget/Source/ttf/include/ftoption_html.h
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total       102 files  563845 1147505  49.1%            Oct  1 00:13
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>