Is there a way of achieving this?
Oh, I think I can answer my own question. You can do something like
Font.fontView.fontIconView().setIconHeight_(40)
This will set all fonts to the average icon size:
heights = [font.fontView.fontIconView().iconHeight() for font in Glyphs.fonts]
averageHeight = sum(heights) / len(heights)
for font in Glyphs.fonts:
font.fontView.fontIconView().setIconHeight_(averageHeight)
Maybe just using the size of the current font for all others makes it easier to use:
for font in Glyphs.fonts:
font.fontView.fontIconView().setIconHeight_(Font.fontView.fontIconView().iconHeight())
2 Likes
Same for the height of the preview bar, in case someone finds this useful:
for font in Glyphs.fonts:
try:
font.currentTab.setPreviewHeight_(Font.currentTab.previewHeight)
except AttributeError:
pass
FWIW, if there was a user setting to always keep the icon size synchronized for all fonts Iād happily activate it.
(And for the preview bar height, too.)
1 Like
Yes, please!