AROS World Exec

Development => AROS Software Development => Topic started by: AMIGASYSTEM on July 04, 2023, 03:23:26 PM

Title: Font.datatype
Post by: AMIGASYSTEM 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

Title: Re: Font.datatype
Post by: miker1264 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.
Title: Re: Font.datatype
Post by: AMIGASYSTEM 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 !



(https://ae.amigalife.org/index.php?action=dlattach;topic=1151.0;attach=5105;image)

Title: Re: Font.datatype
Post by: miker1264 on July 04, 2023, 06:12:21 PM
Classic Amiga fonts are called "bitmap fonts". They are not the same as TrueType Fonts.


https://wiki.amigaos.net/wiki/AmigaOS_Manual:_Workbench_Fonts#:~:text=Topaz%2C%20the%20Amiga%27s%20default%20font%2C%20is%20a%20bitmap,pixels%2C%20which%20describes%20the%20height%20of%20a%20character.

Title: Re: Font.datatype
Post by: AMIGASYSTEM 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 !
Title: Re: Font.datatype
Post by: AMIGASYSTEM 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."
Title: Re: Font.datatype
Post by: AMIGASYSTEM 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".