将字形/字符从一个字体文件复制/粘贴到另一个字体文件
我有两个不同的字体文件 FontFile1.otf 和 FontFile2.otf。我想将位置 1759 处的 Unicode 字符从 FontFile1.otf 复制到 FontFile2.otf。我怎样才能做到这一点?
我尝试使用 FontForge 和 Fontographer 来执行此操作,但粘贴似乎不起作用(粘贴已禁用,并且菜单项未启用)。有复制/粘贴的具体说明吗?还有其他我可以使用的工具吗?
I have two different font files FontFile1.otf and FontFile2.otf. I want to copy Unicode character at position 1759 from FontFile1.otf to FontFile2.otf. How can i do that?
I tried to do it using FontForge and Fontographer but the paste doesn't seem to work (paste is disabled, and the menu item doesn't enable). Are there any specific instructions for copy/paste? Is there any other tool i can use?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
在同一个 FontForge 实例中打开两种字体,然后您就可以将字形从一种复制到另一种。
Open both fonts in the same FontForge instance then you'll be able to copy glyphs from one to the other.
好吧,你可以尝试为 FontForge 编写一个脚本。如果代码点 1759(顺便说一句,十六进制或十进制?)不存在于 FontFile2.otf 中,您可以这样做(未经测试):
您还可以使用 MergeFonts() 函数合并所有字体字形,将所有不存在的字形从 A 复制到B.
Well, you may try to write a script for FontForge. If codepoint 1759 (by the way hexadecimal or decimal?) is not present in FontFile2.otf you may do (untested):
You can also use the MergeFonts() function to merge all font glyphs, copying all non-existing glyphs from A to B.
@rustyx 的解决方案对我不起作用。
我能找到的唯一解决方法:
最终结果相同,尽管我承认这有点乏味。
@rustyx's solution didn't work for me.
The only workaround I could find:
Which ends in the same result, though I admit it's a bit tedious.
我在另一个留言板上找到了一个解决方案 /a> 这对我有帮助。我只需要在 X11 -> 中取消选中“启用同步”即可偏好。
I found a solution on another message board that helped me. I simply needed to uncheck "Enable Syncing" in the X11 -> Preferences.
其实我注册这个账号就是为了回答这个问题。打开Fontforge,选择一种字体并打开-> 在同一窗口,转到:文件 ->打开->选择其他字体。在那里,您可以从一种字体复制并粘贴到另一种字体。
I actually made this account just to answer this question. Open Fontforge, choose a font and open it -> in the same window, go to: file -> open -> choose the other font. There, you can copy and paste from one font to another.