Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : MM highlight colour issues...
Author | Message | ||||
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9308 |
Hello all. Try this code: PRINT CLR$(BLACK,RED) " Hello World. " How come the text is ALWAYS favouring the upper level of the highlight? IE: In the above example, and this is true for ANY of this kind of command, the text does not seem to be vertically centred with respect to the highlight colour if you see what I mean.... There is probably a reason, but I would love to know what it is, cos if I use something like that above, it looks odd on the screen, cos the text is not centred vertically with respect to the background colour. Smoke makes things work. When the smoke gets out, it stops! |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6102 |
Try this instead PRINT CLR$(BLACK,RED) " Hello grogster. "
There has to be room for the characters with descenders. Jim VK7JH MMedit MMBasic Help |
||||
psergiu Regular Member Joined: 09/02/2013 Location: United StatesPosts: 83 |
I think it depends on the font used - it fills up the "empty" pixels in the character cell. Try with a custom font - you will be able to center the chars however you want them with a font editor. |
||||
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9308 |
Ahhhhh - I see. Thanks. I fixed it in my case, by drawing a red line just above the highlighted text, and now it looks right. Smoke makes things work. When the smoke gets out, it stops! |
||||
Print this page |