Ultimate Amiga

Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Professional Forum => Topic started by: Volvo_0ne on November 21, 2017, 08:37:23 PM

Title: BOLD >PRINT<
Post by: Volvo_0ne on November 21, 2017, 08:37:23 PM
After RTFM and experimenting...

I just cannot get BOLD typeface in the AMOS PRINT instruction.

NB:Not in the TEXT instruction

Either I have missed something or just thick, but underline is easy but not bold, maybe there is an escape code for it but I cannot find it anywhere!

HELP!
Title: Re: BOLD >PRINT<
Post by: adrazar on November 22, 2017, 08:59:09 AM
I don't think you are missing anything. Why not use Set Text + Text? (If it feels unpleasant converting from text to graphic coordinates you might find X Graphic and Y Graphic useful.)
Title: Re: BOLD >PRINT<
Post by: Volvo_0ne on January 25, 2018, 10:49:08 PM
Fair comment I suppose adrazar, but it just seems strange that the PRINT (a very basic & critical part of any language) doesn't support bold.
Title: Re: BOLD >PRINT<
Post by: jimwon2016 on January 30, 2018, 01:48:06 PM
The reason it doesn't have a Bold or Italic is because fonts on the Amiga don't have those options. For example, if you have set your font to "topaz", there is no bold version of that font. You would have to set your font to "topaz_bold" to get a different look.

You could get a font editor and make your own bold version of a font and then switch between them if it's that important for your program.
Title: Re: BOLD >PRINT<
Post by: jimwon2016 on January 30, 2018, 02:05:57 PM
Sorry to double post - this jogged my memory.

If you take a look on Productivity2/Procedures/Text/ you'll find a routine called _Text_Highlight.AMOS which will outline a piece of text with a specified colour. It doesn't use the Print command though, but you could use it with the same colour for the text and the highlight to give a pseudo bold effect.
Title: Re: BOLD >PRINT<
Post by: adrazar on January 31, 2018, 10:54:27 PM
If you take a look on Productivity2/Procedures/Text/ you'll find a routine called _Text_Highlight.AMOS which will outline a piece of text with a specified colour. It doesn't use the Print command though, but you could use it with the same colour for the text and the highlight to give a pseudo bold effect.
Yay, that procedure held the solution to how I can make text shading: Gr Writing 0! :D