Main Menu

BOLD >PRINT<

Started by Volvo_0ne, 21 Nov, 2017, 09:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Volvo_0ne

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!
Transuranic heavy elements may not be used where there is life.

adrazar

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.)

Volvo_0ne

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.
Transuranic heavy elements may not be used where there is life.

jimwon2016

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.

jimwon2016

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.

adrazar

Quote from: jimwon2016 on 30 Jan, 2018, 03:05 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