Closed boomwooq closed 1 month ago
Hi @boomwooq,
Thanks for the report. Maybe it is just out of the view somehow.
would you mind to run this from your Macro Panel and let me know what it prints out?
print(Glyphs.defaults["com_markfromberg_ShowStems_horizontalBeamPosition"])
print(Glyphs.defaults["com_markfromberg_ShowStems_verticalBeamPosition"])
It should print two numbers, both with somehow rational values.
You can then also try to set the vertical beam position:
Glyphs.defaults["com_markfromberg_ShowStems_horizontalBeamPosition"] = 300
It won’t update right away, you will also need to turn the plugin off and on again. Maybe then it will show at y position 300.
From your results we can then investigate further.
Hi @Mark2Mark I run the first one; here is the result. But the second one doesn't show/ change anything even turn on and off plug-in. Another thing I found is that when it's not in the Italic setting, the plug-in works normally.
Thanks, @boomwooq!
from AppKit import NSBundle
bdl = NSBundle.bundleForClass_(NSClassFromString('Show_Stems_Pro'))
print(bdl.objectForInfoDictionaryKey_('CFBundleShortVersionString'))
@Mark2Mark
Thanks @boomwooq,
I just pushed an update. Not sure if it fixes it yet, but since that version works for me, maybe it does so for you too.
To get it quickly, you could uninstall the plugin and re-install it in Glyphs. Otherwise it could take a while for Glyphs to recognize that there is an update. If you run the version checking script, it should say 3.2.0
.
Let mw know how it goes. Also much apologies for the inconvenience and thanks for your patience.
@Mark2Mark Thank you for the update! I did update to the new version. It's super odd to me why it still doesn't work, so I decided to check with other files, and it seems to be ok. So I decided to create the new file with the same setting.. went through a bit of transferring stuff and now it works! (on the right is the new file)
Anyway, I'm just here to update you! Thank you again for your help!
@Mark2Mark Oh wait, I figured it out! So the old file, I started by setting up the file in Thai script the right way without having an x-height value. And that's why it didn't show. As soon as I set up the x-height value, the line shows! Sorry for this!
@boomwooq thanks for this!
I think it has to do with the italic angle calculation, as that requires the x-Height (half of it actually) to determine the italic shifting for coordinates.
I think there is not much I can do about it, other than ask the user to have an x-Height set in the file.
One more question, @boomwooq: Is it okay in a Thai file to have an x-Height set? I ask because you said "setting up the Thai file the right way without having an x-Height".
Hi Mark, I'm unsure why my horizontal measurement is not shown; I'm on the Pro version— Glyphs 3 (3.2 (3207)). Noted that it was like this even before I updated to the cutting-edge version; In case there are some settings I don't know about.
Thank you in advance! Boom