Forum > General

FontSize Height?

(1/2) > >>

odvesims:
Hey There!

Is there a way to enlarge the fonts vertically only? Im printing a receipt using the Printer unit, and it all works fine but i want to enlarge a font but only vertically while keeping the same horizontal base. What'd be the best approach to achieve this?

Thanks in advance!

typo:
You could StretchDraw a bit, but the result is not so good.

odvesims:
Would you mind elaborating on it typo? I'm literally out of options here, so anything would be greatly appreciated.

typo:
You could write the text to a bitmap and StretchDraw the bitmap to the desired Canvas.

odvesims:
I dont want to sound demanding or anything, but could you point me to some example or something? Im fairly new to free pascal  :-\

Navigation

[0] Message Index

[#] Next page

Go to full version