Hi there, part of the plugin I'm writing is trying to translate Text Elements to a different format. I'm trying to figure out the line spacing, which i'm using
layer.paragraphStyle().minimumLineHeight() and this works fine when the line spacing is set to something other than default, but when it is default, then
minimumLineHeight() always returns
In sketch grayed out in the spacing box it shows what the line height will be, but that changes relative to the font size, and to the font as well e.g. Arial at size 24 will be 27, but Roboto at 24 will be 28, and some other fonts at 24 will be 24 ... wondering if there is an API to get what the spacing will be when its defaulted?