I create a text in ZPL format using zebra font 0, which is a scalable font. I need to calculate the text width and height, however I didn't know the relation between ZPL font parameter and letter size in dots. The ZPL command used to create text are :
^FO15,19^A0,20,20^FDSample_text^FS
The parameter 20,20 supposed to be font height (h) and width(w) in dots on the manual, however when I use font type 0 and test it, the height and width (20,20) not equal to the size of letter in dots.
What is the unit of height and width font parameter for scalable font? Is there a formula to calculate text height and width in dots for all font size input?