Forum > General

FontSize Height?

(1/2) > >>

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!

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

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

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

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


[0] Message Index

[#] Next page

Go to full version