- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有这样的东西正在转换字体
i=1
while ( i<$argc )
Open($argv[i])
# edit meta somehow
Generate($argv[i]:r + type)
i = i+1
endloop
打印此元数据
Created by FontForge 20141024 at Wed Nov 12 16:59:42 2014
By Jimmy Wärting
我想删除或更改
最佳答案
您可以使用内置函数 SetFontNames
。
它有这样的签名:
SetFontNames(fontname[,family[,fullname[,weight[,copyright-notice[,fontversion]]]]])
i=1
while ( i<$argc )
Open($argv[i])
#edit meta
SetFontNames('fontName', 'fontFamilyName', 'fullName', 'weight',
'copyright', 'version')
Generate($argv[i]:r + type)
i = i+1
endloop
如果有些参数不是必须的,就写空字符串:
SetFontNames('', '', '', '', 'copyright', 'version')
关于scripting - 是否可以删除/编辑 fontforge 中的元数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26891490/
当我打开 Fontforge 来创建一个新字体时,它只列出了一组有限的字符/字形。在我创建的字体中,我需要一些默认设置中缺少的字形,例如“单右尖引号”(U+203A)和“单左尖引号”(U+2039)。
我有一种带有连字错误的字体。这导致my Android application中出现问题。我只想删除连字。如何在FontForge中做到这一点? 这个问题是相关的,但正相反。 Fontforge Sc
我正在 Fontforge 上使用脚本制作字体。一切顺利,但我有这个问题,我不知道如何为选定的字形指定,如果另外两个字形同时出现,则显示选定的字形。我已经为此制作了 Lookuptable 和子表,但
我有两个 .ttf 字体文件,其中一个包含我需要合并到另一个字体文件的字形。使用 GUI,会有一个对话框说 Do you want to retain kerning information from
如何使用Fontforge命令行将字形(从其unicode)导出到SVG? 我还需要指定字体大小,并保持其在字体中的原始边距。 最佳答案 您可能已经找到了答案,但是我只需要使用最新版本的FontFor
我在 Ubuntu 下为 FontForge 使用 python 绑定(bind)。它不断地崩溃而没有任何关于原因的线索,例如段错误、内存映射错误等 我需要做的就是读取字体文件(.ttf 和 .otf
我已经完成了,apt-get install fontforge在我的 ubuntu 系统上。当我做 import fontforge在我的 python 代码中,它会抛出错误,No module n
为了获取字形宽度,我将 TTF 字体转换为 AFM ,然后解析 AFM 文件的内容以获取每个字形的宽度。 从技术上讲,fontforge正在从二进制TTF文件中捕获字形宽度,然后基于AFM标准模板创建
我正在使用 FontForge 从 SVG 文件创建 ttf 字体。但是基线都是错误的,我无法理解如何从 FontForge 命令行脚本工具设置基线。 有什么想法吗? 最佳答案 基线是“em 正方形”
背景 我正在尝试转换 Google Noto Sans JP字体来自 .otf到 .ttf ,使用以下 fontforge 脚本: #!/usr/bin/env fontforge Open($1)
我找到了这个字体Dina TTF它最初是 Windows 的 *.fon 文件。此版本是 TrueType,只有三种位图敲击:11、12 和 13。在 Netbeans 中就像一个魅力。 但是我恰好缺
嗨,我正在 Linux 中使用 Inconsolata 作为 powerline 字体(链接 1 )。现在我想要一些额外的符号。我已成功从链接 2 中的 Inconsolata 修补字体中添加了很棒的
是否可以将字体中的单个字形批量导出到 SVG,而无需逐个手动导出? 相关(但反过来): Import a sequence of .svg files into FontForge as glyphs
我有这样的东西正在转换字体 i=1 while ( i<$argc ) Open($argv[i]) # edit meta somehow Generate($argv[i]:r + t
我正在尝试安装最新版本的 FontForge从源头上。我知道./configure、make、make install的整个过程,但是源码包里没有configure脚本,只有configure.ac,
对于网络应用程序,如果我的网络字体不包含字符,我需要一种方法来防止浏览器回退到另一种字体。似乎唯一的方法是向 fontstack 添加另一种字体,其中包括“所有”可能的字符 1 . 已经存在fallb
我正在尝试在 Linux Ubuntu 14.04 LTS 中安装 fontforge --with-python。 我执行了此处列出的手动步骤 (https://github.com/fontfor
我想创建一个包含大量字形的字体。想想日本的汉字,成千上万。所以肯定会需要一些脚本/批处理。幸运的是 FontForge 支持 python 脚本!不幸的是,我无法让它工作。 [悲伤] 首先感谢用户Ho
我有一个 TTF 字体,需要在 FNT 中转换(最好在 pcf 中)。我尝试过 Fontforge,但是当我加载字体并选择生成字体时-尽管有 WIN FNT,但除了“无位图字体”之外,从右侧的列表中无
通过在这里获得一些答案和一些研究,我发现了一种实现图标的新方法。您似乎可以将图标作为字体,而不是作为图像或 CSS 背景。 此方法最终是否意味着创建一个文件字体集,其中每个图标都分配给一个字符?因为这
我是一名优秀的程序员,十分优秀!