Font.datatype

AMIGASYSTEM · 678

AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
on: July 04, 2023, 03:23:26 PM
Font.datatype does not exist on AROS, this could be useful for Multiview to display native Amiga fonts on AROS.

On Aminet there are two versions of Aminet one "m68k.-amigaos" and a newer one for "ppc-amigaos", both versions include the source in C.

If someone fixes the sources for AROS, I might try to compile them on AROS One.

Font.datatype v1.3 (1996)
https://aminet.net/package/util/dtype/FontDT-1.3


Font.datatype v39.6 (2008)
http://aminet.net/package/util/dtype/font_dt



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #1 on: July 04, 2023, 05:09:19 PM
Font.datatype does not exist on AROS, this could be useful for Multiview to display native Amiga fonts on AROS.

On Aminet there are two versions of Aminet one "m68k.-amigaos" and a newer one for "ppc-amigaos", both versions include the source in C.

If someone fixes the sources for AROS, I might try to compile them on AROS One.

Font.datatype v1.3 (1996)
https://aminet.net/package/util/dtype/FontDT-1.3


Font.datatype v39.6 (2008)
http://aminet.net/package/util/dtype/font_dt

As long as there isn't any Assembler code just C code then it shouldn't be too difficult.

Though sometimes it becomes more complicated if the Amiga sources are written in a certain way with a Dispatcher and sub functions. I prefer the straightforward AROS way or writing datatypes.

I may have looked at it before but I'll look at the sources again when I have some time to see what is involved with porting it or re-implementing it if needed.

As far as I recall the native Amiga fonts are bitmap fonts. So MultiView would need to display them in a window.
« Last Edit: July 04, 2023, 05:14:37 PM by miker1264 »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #2 on: July 04, 2023, 06:02:23 PM
No the native Amiga fonts, but also the Standard AROS fonts, are not bitmaps,

Also after doing some testing with OS3, I found that Multiview cannot show fonts "even if there is the "font.datatype" in the system"

Actually the "font.datatipe" is only for Multiview to "parse a font", and not see the fonts type, see screenshot !





« Last Edit: July 04, 2023, 06:06:58 PM by AMIGASYSTEM »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #3 on: July 04, 2023, 06:12:21 PM
« Last Edit: July 04, 2023, 06:16:46 PM by miker1264 »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #4 on: July 04, 2023, 06:20:23 PM
What you see in the screenshot is a Topaz Font included in the Workbench "Fonts" floppy.

Probably the "bitmap fonts" have been compiled, try looking with a hex editor at a "standard" Font from the Amiga Workbench

Dopus4 OS3 with its internal program shows fonts Workbench well !

Of course there are "bitmap fonts" on Amiga, I used to use them with titling programs, but they are not the Workbench ones !
« Last Edit: July 04, 2023, 06:31:54 PM by AMIGASYSTEM »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #5 on: July 05, 2023, 12:32:19 PM
Font datatype is no longer needed, as reported on "AROS One x86 Work In Progress", I found the tools to display both "Bitmap Fonts" and "TrueType Fonts", the tools are" ViewISO" found on "archives.aros-exec" and "ViewFont" found in the Dopus5 package (no need to install Dopus5, just a library and a simple assign)

Now I just need to create the datatypes descriptor so that in addition to Dopus4, Wanderer will also be able to assign an Icon and a tool to both Bitmap Fonts" and "TrueType Fonts."
« Last Edit: July 05, 2023, 12:35:26 PM by AMIGASYSTEM »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #6 on: July 05, 2023, 02:42:25 PM
As pronounced, the Datatypes Descriptor for "Bitmap Fonts" and "TrueType Fonts", has been created without any problems, for details see the thred "AROS One x86 Work In Progress".