0

Web ページで下向きの小さな三角形記号 (▾ Unicode 25BE ) を使用していますが、Motorola/Sony デバイスではネイティブにサポートされていません。したがって、font-face css 宣言を使用してシンボルをロードしたいと考えています。

サイトで既に Source Sans Pro を使用していますが、グリフ 25BE が含まれていません。したがって、Source Sans Pro フォント ファイルに Lucida Grande の 25BE グリフ (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 に答える