I am working with the TMemo component to display some text in a limited space. Currently, it uses the truetype font, which does not come with windows and is installed by the application when it starts.
On my PC (running Windows XP), the distance between each line of text is about eight pixels. On another Windows 7 PC, the line spacing is about 14 pixels, which pushes the bottom line of text out of visibility in a note.
So my question is really this:
- Is this caused by different versions of Windows? Everything I could think was different.
- Is there a way to set this value so that it is consistent across all instances of the application, wherever it works?
Alternatively, is there another component that I could use that can allow me to set this value?
source
share