Fontforge:如何 "remove overlaps" 创作

Fontforge: How to "remove overlaps" making work

我在 TikZ 中创建了一个箭头并将其转换为 svg (pdf2svg file.pdf file.svg)。
然后我将 output.svg 导入 FontForge 并选择 Element --> Overlap --> remove
最后我将字符 \symbol{65} 放入一个 tex 文档中,但我仍然有这些 'overlaps' 的形式来自白色 space 的标志。

有人可以帮我正确创建标志吗?

% arara: lualatex
\documentclass[varwidth, margin=15mm]{standalone}
\usepackage{tikz}
\usepackage{fontspec}
\newfontfamily{\myfont}[Scale=1]{myfont.ttf}

\begin{document}
\textbf{For output and svg-conversion}
\begin{tikzpicture}[line width=5mm]
\draw[-stealth] (0,0) -- (5,0); 
\end{tikzpicture}

\textbf{Input from myfont.ttf}
\myfont\Huge\symbol{65}
\end{document}

工作文件夹

test.tex
test.pdf
output.svg
myfont.ttf   (only 1 character at No. 65)

https://drive.google.com/file/d/1j2TEubR7IMu91wA4G7Mda4bqG9ddP5sg/view?usp=sharing

如果箭头数量不是太多,可以post-用inkscape处理svg文件

  1. select全部和ungroup几次

  2. 现在使用 Stroke to Path 选项

  3. 最后union所有形状

这将生成如下所示的 svg 文件:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   version="1.1"
   id="svg2"
   xml:space="preserve"
   width="321.26001"
   height="132.284"
   viewBox="0 0 321.26001 132.284"
   sodipodi:docname="document.svg"
   inkscape:version="0.92.2 5c3e80d, 2017-08-06"><metadata
     id="metadata8"><rdf:RDF><cc:Work
         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
     id="defs6" /><sodipodi:namedview
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1"
     objecttolerance="10"
     gridtolerance="10"
     guidetolerance="10"
     inkscape:pageopacity="0"
     inkscape:pageshadow="2"
     inkscape:window-width="640"
     inkscape:window-height="480"
     id="namedview4"
     showgrid="false"
     inkscape:zoom="2.2729107"
     inkscape:cx="160.63"
     inkscape:cy="62.842265"
     inkscape:current-layer="g10" /><g
     id="g10"
     inkscape:groupmode="layer"
     inkscape:label="document"
     transform="matrix(1.3333333,0,0,-1.3333333,0,132.284)"><path
       style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:18.89785385;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
       d="M 206.78906 41.976562 L 217.82617 56.693359 L 66.140625 56.693359 L 66.140625 75.591797 L 217.82617 75.591797 L 206.78906 90.308594 L 255.11914 66.142578 L 206.78906 41.976562 z "
       transform="matrix(0.75000002,0,0,-0.75000002,0,99.213002)"
       id="path18" /></g></svg>