0

我在网页中使用向下指向的小三角形符号 (▾ Unicode 25BE ),但摩托罗拉/索尼设备本身不支持它。因此,我想使用 font-face css 声明来加载符号。

我已经在我的网站上使用了 Source Sans Pro,但它不包含 glyph 25BE。因此,我想用来自 Lucida Grande 的 25BE 字形修补我的 Source Sans Pro 字体文件(OSX 上的 Chrome 中此符号使用的默认字体)。

我尝试在 FontForge 中执行此操作,但粘贴的 glpyh 看起来比原始字体文件更大且对齐方式不同:

原露西达格兰德:

原始字形

粘贴到 Source Sans Pro 中:

复制字形

此外,当我尝试生成 Source Sans Pro 字体时,我收到了很多我不理解的警告。

有没有更简单的方法来实现我想要做的事情?

4

1 回答 1

1

The reason for the size difference is the difference of UPM coordinate systems. SSP is based on 1000 Units per Em, Lucida has 2048. FontForge obviously does not compensate for the different coordinate systems, that is why the triangles look so much larger after pasting.

Solutions: – you can try patching SSP with another 1000 UPM-font – you can use another font for the triangle only – use a SVG file?

于 2016-04-21T01:33:22.087 回答