Copy layer script is not doing anything


#1

Hi @mekkablue the script “copy layer to layer” is not doing anything after updating to the latest version, please advice, thanks

  • A

#2

There is a bug in the current vesrion script, yes. What exactly are you trying to do? Most of its functionality is covered by Edit > Paste Special (hold down your Option key to access it, or press Cmd-Opt-V).


#3

I need to copy set of glyphs from one Master (layer) to another, with all metrics


#4

This you should be able to do with Paste Special.


#5

I tried paste special, it doesn’t do anything, please advise


#6

You switch to one master, copy, then switch to other master, paste special, choose contents of active layer.


#7

In font view

  • my regular weight is selected (regular layer is highlighted),
  • selected few glyphs
  • copy
  • switched to bold weight (bold layer is highlighted)
  • Paste special (selected glyphs, all data)
  • the glyphs selected got a bit darker highlight (as if they are changed), but actually nothing happened.

BTW I’ve done this today after updating to the latest cutting edge version.

Any idea?


#8

That means it will copy the whole glyph. You are trying to replace the current layer, so you need to select “Content of active layer”.


#9

It worked, thanks a lot

  • A

#10

I’m trying to copy kerning group from (4 selected glyphs) in one master, to the same selected in another master, in paste special I have checked “kerning groups” but nothing was pasted!

Please advice

  • A

#11

Kerning groups are per glyph, i.e., they already apply to the complete glyph with all its layers, so you do not need copy them from one master to another.


#12

I’m afraid it’s not, the kerning groups exist in 1 master (layer) and I can’t see them in other (masters), furthermore, in the exported font ( 3 weights), only 1 weight is respecting the kerning group.

What did I miss here?

  • A

#13

It is within the same font file?

Perhaps can you show a screenshot where you see the kerning group and where you don’t?


#14


#15

I see. You mean the kerning itself (or kerning pairs), not the kerning groups.

All you would need to do is:

  1. Select pairs in Window > Kerning and copy.
  2. Switch masters.
  3. Click in the Window > Kerning floating window again to make sure the focus is on it.
  4. Paste.

The focus is important, otherwise you are pasting into nirvana.


#16

Way easier than I thought,

I’m still missing the intuition in glyphs, never stop learning, even this little silly one, thanks for your help.