From 12:00 AM CDT Sunday, October 17 - 11:30 AM CDT Sunday, October 17, will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.


Showing results for 
Search instead for 
Did you mean: 

Should font size change with 2D picture size?

Using 'draw text at point' functions, I've found font heights in mm's don't correspond with what they should be for a given point size on different screens. I scaled the picture to fit different screens, so do fonts change size even when the point size is specified?!


For example a 400 point Arial E should be 141.1 mm high, but it's either 59 or 75 mm depending on the monitor.



0 Kudos
Message 1 of 6

Not font changes it size, but size of point in mm is different on different devices.

0 Kudos
Message 2 of 6

Thanks. Why is font size different for different devices? Or more importantly, is there a parameter I can read and use to adjust my font size for different monitors?



0 Kudos
Message 3 of 6

You can detect the screen resolution of a display, but not the physical dimensions, so font size isn't something you can really adjust them accurately.

0 Kudos
Message 4 of 6

LabVIEW uses strange font sizes (see here for details, but also read the comments).



LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 5 of 6

Thanks altenbach. I've read through that thread and variously online, and thought if LabVIEW assumes 72 DPI and I know the DPI of my monitor I could simply scale accordingly. That doesn't seem to be the case. Not sure why. Or why different fonts are widly different.


My aim is to display a font of known size in the centre of the screen (sounds simple enough!). I've attached my efforts and welcome any suggestions or comments.


Many thanks




0 Kudos
Message 6 of 6