![]() |
Forum Index : Microcontroller and PC projects : CMM2: Bold fonts
Author | Message | ||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
Hi folks, I'm feeling lazy ... I don't suppose anyone has code I could "steal" for obtaining "bold" text on the VGA output using one of the standard fonts, e.g. FONT 1, without having to generate an external font file. I guess the routes are: 1. Overprinting slightly offset with a transparent background ? 2. Generating the new font in-memory with PEEK and POKE. Best wishes, Tom Edited 2021-07-08 01:32 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
vegipete![]() Guru ![]() Joined: 29/01/2013 Location: CanadaPosts: 1132 |
Overprinting with single pixel offsets works nicely, especially with the larger fonts. Your choice of how many overstrikes, and whether you do x only or x and y. Visit Vegipete's *Mite Library for cool programs. |
||||
NPHighview![]() Senior Member ![]() Joined: 02/09/2020 Location: United StatesPosts: 203 |
You can also overprint with single pixel offsets, varying the font colors from back to front, to give a shadowed effect. Live in the Future. It's Just Starting Now! |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
Thanks, now I just have to find out how lookup how to write text with a transparent background ... is that possible in all Modes ? Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
vegipete![]() Guru ![]() Joined: 29/01/2013 Location: CanadaPosts: 1132 |
Set the background colour to -1. Visit Vegipete's *Mite Library for cool programs. |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
LOL, I was just literally going to say I had found that ;-) Thanks @vegipete, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |