Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#4 copying between two files with a script

open
nobody
None
5
2006-04-08
2006-04-08
Anonymous
No

I am using fontforge under cygwin and script files:
I open 2TTF Fonts FZKFW.TTF(source) and FZKJW.TTF
(target) by hand
I can copy single characters with the mouse, but I
want to do it with a script
I start the script interactively, while fontforge is
running

Question:
How do I copy one glyph from one font to another with
a script?

I tried the following 2filescp.pe, but it does not
work.

//
file = $firstfont //source
Open(file)
Select(0x4e0e);
Copy();
file = $nextfont //target
Select(0x4e04);
Paste();
Close();
//

Please can you help and correct that simple program
snippet
ptblackwell@hotmail.com

Discussion