PixInsight Forum (historical)

Software Development => PCL and PJSR Development => Topic started by: mschuster on 2015 January 13 11:35:25

Title: PJSR: Wish list: cross platform Font metrics?
Post by: mschuster on 2015 January 13 11:35:25
This is a small wish item. For labeling plots, I would like the same or more similar font metrics across platforms.

For example, by trial and error I found that Win Font(FontFamily_Helvetica, 9) gives the same metrics as Mac Font(FontFamily_Helvetica, 12) (see below), so I have to use platform dependent #if code in my script to get similar labeling. I don't have a Linux machine for testing, but I am worried that it may be different again.

Thanks,
Mike

Code: [Select]
ascent 12
descent 2
height 15
lineSpacing 15