BubbleKern icon indicating copy to clipboard operation
BubbleKern copied to clipboard

BubbleKern for Glyphs 3

Open gorjious opened this issue 4 years ago • 14 comments

Will there be a BubbleKern update for Glyphs 3?

gorjious avatar Dec 07 '21 19:12 gorjious

I made it work in Glyphs 3. Please try if it is working as expected.

schriftgestalt avatar Dec 08 '21 21:12 schriftgestalt

Here are screenshots of issues: BubbleKern3_issues.zip

• Starting up has this note:

Note: 'Make Bubble Layers' could not load preferences. Will resort to defaults
Make Bubble Layers Error (fitToSidebearing): list index 30 out of range 30

• Nudged and Trimmed options are not working as expected (see images)

• Kern All Pairs and Kern Pairs for Selected Glyphs isn't working either (see images) BubbleKern Error (BubbleKernMain): 'GSLayer' object has no attribute 'addPath_'

•Doesn't allow adding pairs to the list (see images) BubbleKern Error (confirmChange): 'GSApplication' object has no attribute 'displayDialog_'

• Delete Bubble layer script is not working

[<GSLayer "bubble" (A)>]
delete
Traceback (most recent call last):
  File "Delete Bubble Layers.py", line 27
    glyph.removeLayerForKey_(bubble.layerId)
AttributeError: 'NSKVONotifying_GSGlyph' object has no attribute 'removeLayerForKey_'

• Typo: Adhere to sidebearigs -> Adhere to sidebearings

gorjious avatar Dec 08 '21 22:12 gorjious

Just to let you know, I'm working on the fixes. Make Bubble Layers' fitToSidebearing issue: still working, especially the trimming option. I'll need @schriftgestalt's help with the subtractPath (question posted on the forum). Make Bubble Layers' typo: fixed. Delete Bubble Layer: fixed. I'm thinking of merging with the Make script though. BubbleKern's addPath issue: fixed. BubbleKern's displayDialog issue: fixed.

Tosche avatar Dec 10 '21 00:12 Tosche

All withstanding issues fixed. Now I'm working on the scripts merger, and option to change the bubble colour as a new feature. I'll post the update tomorrow.

Tosche avatar Dec 10 '21 01:12 Tosche

I was thinking of putting the scripts inside the plugin. The plugin would add menu items on load.

This would simplify the installation significantly.

schriftgestalt avatar Dec 10 '21 06:12 schriftgestalt

Hello Tosche, I tried to make it work in Glyphs3, but I get this error message in the makro window:

NameError: name 'NSMutableDictionary' is not defined Traceback (most recent call last): File "BubbleKern.py", line 54 favDic = NSMutableDictionary.alloc().initWithDictionary_copyItems_(favDic, True) NameError: name 'NSMutableDictionary' is not defined

Am I doing something wrong? Might the problem be that I have MacOs Catalina?

Thank you for your time and best regards from Brave Type.

BraveType avatar Aug 16 '22 10:08 BraveType

I had a separate issues that I was going to post but just updated to the latest BubbleKern version and I am getting the same error message.

I'm on Mojave but everything was working fine a couple versions ago.

gorjious avatar Aug 16 '22 11:08 gorjious

Just to let you know that I am working on a new version for Glyphs 3. The core part is working but I want to improve the user experience since it's one plugin and multiple scripts. It's taking time due to other commitments, but a fix will come in the future.

Tosche avatar Sep 15 '22 08:09 Tosche

Hi Toshi, just wondering if an update is still in the works. If the main part is working, I'd be happy to use that in the meantime.

gorjious avatar Feb 06 '23 16:02 gorjious

I haven't been able to work on the supposed big update as much. I think I should just make the current version work for now.

Tosche avatar Feb 09 '23 15:02 Tosche

@Tosche Do you like to call me to discus how to best refactor this?

schriftgestalt avatar Feb 09 '23 16:02 schriftgestalt

@schriftgestalt Yes please!

Tosche avatar Feb 09 '23 16:02 Tosche