0

I'm collecting different public-domain pictograms for a project of mine. I download some symbolset, possibly transform it from EPS to SVG using inkscape, and generate a font from them using SVG-icon-font-generator. This procedure led to satisfactory results until I stumbled upon AIGA pedestrian symbols.

After conversion to SVG format, I'm unable to generate font from them, the icon generator throws the following exception:

[Exception]
01_telephone-xe001.svg: Transforms are currently not supported!

I tried converting the files using pstoedit, but that didn't help. I tried to search for these symbols elsewhere, so I managed to find them as a part of linux openclipart package as SVG files but the same error occured.

My question is: How to remove the non-supported transformations from SVG files in order to succesfully generate font from them? Or, does anyone know where to download them without that transformation?

UPDATE

I have opened the file in svg-edit. Then I saved it and compared to the original. It turns out that the data in the original svg file had a leading xml tag declaration. The svg-editor removed the xml tag and all of the custom tag attributes (xmnls:something, inkscape:something).

The font generation still failed. The picture was grouped as stated in Duopixel's answer, so I've ungrouped it and saved. That removed g tags with transform attributes. After that, the font was generated successfully.

Here is the comparison, open the image in a new tab to see it bigger:

enter image description here

4

1 に答える 1

2

SVG-Edit http://svg-edit.googlecode.com/svn/branches/2.6/editor/svg-editor.htmlで SVG を開きます。SVG がグループ化されている場合は、グループ化を解除します。各パスを選択し、パスに変換がある場合、このボタンが有効になります。

ここに画像の説明を入力

これは、パスに変換を適用する「パスの向きを変えるツール」であり、必要なものである可能性が最も高いです。これが機能しない場合は、コードを確認できる場所に SVG ファイルをアップロードしてください。

于 2013-04-27T14:41:28.870 に答える