Calculating Line Length

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
WildRice
LCD Geek
Posts: 24
Joined: Fri Mar 07, 2003 10:59 am
Contact:

Calculating Line Length

Post by WildRice »

I need to calculate the length of a line I am about to send to the display. This is easy with the mono fonts, but how do I do this with the Variable Width fonts?

I find that when I go to display a line, either it is too short or too long for the field. How do I get access to the width of each Character? -Chuck-

Post Reply