Search found 5 matches
- Sun May 03, 2015 10:09 pm
- Forum: Other topics
- Topic: Are any of the fonts in Smart Basic fixed ratio
- Replies: 8
- Views: 3061
Re: Are any of the fonts in Smart Basic fixed ratio
In the process of copying portion of program for an example, clearing unneeded code it is working now. Sorry to be such a rookie.
- Sun May 03, 2015 9:35 pm
- Forum: Other topics
- Topic: Are any of the fonts in Smart Basic fixed ratio
- Replies: 8
- Views: 3061
Re: Are any of the fonts in Smart Basic fixed ratio
Rem ....................... Header and Footer ........................... headerfooter: maxx = screen_width() maxy = screen_height() graphics graphics clear r(1),g(1),b(1) randomize ptindex=1 shadow off headerheight=40 footerheight=40 headerfootermargin=40 vertheadermargin=6 headerlength=0 r(2)=.63 ...
- Sat May 02, 2015 2:00 pm
- Forum: Other topics
- Topic: Are any of the fonts in Smart Basic fixed ratio
- Replies: 8
- Views: 3061
Re: Are any of the fonts in Smart Basic fixed ratio
I tried using text_width to determine the length of my text. It underestimated the length of the text. I tried 2 different fonts and had the same problem. I tried correcting it by multiplying it by a ratio number but it wasn't consistent depending on the length of the name.
- Fri May 01, 2015 5:37 pm
- Forum: Other topics
- Topic: Are any of the fonts in Smart Basic fixed ratio
- Replies: 8
- Views: 3061
Re: Are any of the fonts in Smart Basic fixed ratio
If you use TEXT_WIDTH (text$) and TEXT_HEIGHT (text$) you can get an accurate font size for the selected draw font which you can use for setting bounding boxes around text$ Ahhhh. That would be better as it would not restrict me to fixed ratio fonts as I am trying to put as much data on a screen as...
- Fri May 01, 2015 4:10 pm
- Forum: Other topics
- Topic: Are any of the fonts in Smart Basic fixed ratio
- Replies: 8
- Views: 3061
Are any of the fonts in Smart Basic fixed ratio
I am creating a screen with the patients name in a standard position and I want to draw a rectangle around the name. However, different length names end in different positions which has prevented me from predicting where the rectangle points should be. I have tried to create a font ratio to multiply...