Font Metrics Values

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

Moderators: Henry, Mods

Post Reply
vedavis
LCD Geek
Posts: 21
Joined: Wed Jul 02, 2008 5:24 am

Font Metrics Values

Post by vedavis »

My display is GLK24064. I want to calculate the absolute pixel position of a character. Are the font metrics values based on 0 or 1? In other words, is the leftmost pixel of Left Margin 0 or is it 1. And is 0 a valid value? Thanks, Vernon.
---------------
Vernon Davis
Thwing-Albert Instrument Company
vdavis@thwingalbert.com

Paradigm
Matrix Orbital
Matrix Orbital
Posts: 255
Joined: Thu Sep 13, 2001 6:00 pm
Location: Calgary, Alberta, Canada

Post by Paradigm »

The coordinates are 1 based. 0 is invalid. While this isn't the "normal" convention, it was carried over from the alpha-numeric display where the upper left was row 1 column 1.
James McTavish, P.Eng
Director of Engineering
Matrix Orbital

Post Reply