Author Topic: PJSR: Wish list: cross platform Font metrics?  (Read 4040 times)

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
PJSR: Wish list: cross platform Font metrics?
« 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