jaywcjlove / svgtofont

Read a set of SVG icons and ouput a TTF/EOT/WOFF/WOFF2/SVG font.
https://jaywcjlove.github.io/svgtofont
MIT License
552 stars 86 forks source link

Rounded corners not being shown properly #59

Open fitimsijarinaa opened 4 years ago

fitimsijarinaa commented 4 years ago

Here is the svg icon and attached is the font. Does anyone know why it is not being shown properly?

<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24pt" height="24pt" viewBox="0 0 24 24" version="1.1"> <g id="surface1"> <path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 11.464844 4.851562 C 9.957031 4.976562 8.546875 5.566406 7.378906 6.554688 C 7.269531 6.648438 7.03125 6.875 6.851562 7.0625 L 6.523438 7.40625 L 6.460938 7.132812 C 6.425781 6.980469 6.371094 6.75 6.335938 6.621094 C 6.292969 6.433594 6.183594 5.960938 6.035156 5.304688 C 6.027344 5.261719 6.015625 5.257812 5.949219 5.273438 C 5.90625 5.28125 5.632812 5.347656 5.34375 5.414062 C 5.054688 5.480469 4.8125 5.539062 4.808594 5.542969 C 4.800781 5.550781 4.933594 6.132812 5.320312 7.78125 C 5.359375 7.941406 5.476562 8.441406 5.578125 8.894531 C 5.683594 9.34375 5.773438 9.71875 5.777344 9.722656 C 5.789062 9.734375 6.003906 9.6875 6.878906 9.480469 C 7.238281 9.394531 8.078125 9.203125 8.738281 9.046875 C 9.402344 8.890625 9.949219 8.761719 9.957031 8.757812 C 9.960938 8.75 9.921875 8.550781 9.867188 8.316406 C 9.8125 8.078125 9.75 7.808594 9.730469 7.714844 C 9.710938 7.625 9.683594 7.546875 9.667969 7.546875 C 9.65625 7.546875 9.214844 7.648438 8.6875 7.769531 C 8.160156 7.894531 7.726562 7.988281 7.71875 7.988281 C 7.707031 7.972656 7.859375 7.816406 8.0625 7.632812 C 8.910156 6.851562 10.003906 6.332031 11.179688 6.148438 C 11.5625 6.089844 12.488281 6.089844 12.867188 6.148438 C 14.480469 6.402344 15.800781 7.1875 16.761719 8.453125 C 18.097656 10.226562 18.320312 12.601562 17.332031 14.613281 C 17.035156 15.214844 16.671875 15.71875 16.183594 16.210938 C 15.226562 17.160156 13.949219 17.757812 12.601562 17.886719 C 12.230469 17.917969 11.496094 17.902344 11.167969 17.847656 C 9.792969 17.632812 8.574219 16.984375 7.664062 15.980469 C 7.539062 15.84375 7.371094 15.636719 7.285156 15.519531 C 7.203125 15.402344 7.128906 15.308594 7.117188 15.304688 C 7.09375 15.304688 6.125 15.957031 6.105469 15.988281 C 6.097656 16 6.144531 16.085938 6.214844 16.179688 C 6.933594 17.167969 7.777344 17.886719 8.847656 18.410156 C 9.328125 18.648438 9.597656 18.753906 10.03125 18.878906 C 12.5625 19.609375 15.242188 18.921875 17.097656 17.074219 C 18.214844 15.960938 18.910156 14.546875 19.140625 12.9375 C 19.203125 12.492188 19.199219 11.425781 19.132812 10.992188 C 18.882812 9.40625 18.207031 8.046875 17.117188 6.953125 C 16.527344 6.355469 15.980469 5.960938 15.222656 5.589844 C 14.597656 5.28125 14.097656 5.105469 13.464844 4.980469 C 12.851562 4.855469 12.03125 4.804688 11.464844 4.851562 Z M 11.464844 4.851562 "/> <path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 11.320312 8.347656 C 11.019531 8.402344 10.765625 8.445312 10.761719 8.449219 C 10.757812 8.453125 10.792969 8.667969 10.835938 8.933594 C 10.882812 9.191406 10.917969 9.40625 10.914062 9.40625 C 10.835938 9.429688 10.421875 9.664062 10.296875 9.757812 L 10.132812 9.882812 L 9.742188 9.605469 L 9.355469 9.332031 L 9.042969 9.769531 C 8.875 10.011719 8.710938 10.238281 8.679688 10.28125 L 8.625 10.351562 L 8.980469 10.605469 C 9.179688 10.746094 9.347656 10.867188 9.359375 10.875 C 9.367188 10.882812 9.347656 10.953125 9.316406 11.03125 C 9.246094 11.210938 9.167969 11.5 9.144531 11.683594 L 9.128906 11.820312 L 8.695312 11.898438 C 8.457031 11.9375 8.261719 11.972656 8.257812 11.972656 C 8.253906 11.980469 8.46875 13.1875 8.476562 13.195312 C 8.480469 13.199219 8.664062 13.175781 8.878906 13.140625 C 9.332031 13.066406 9.304688 13.070312 9.304688 13.109375 C 9.304688 13.175781 9.535156 13.609375 9.664062 13.789062 C 9.742188 13.894531 9.789062 13.984375 9.78125 14 C 9.769531 14.015625 9.675781 14.148438 9.570312 14.300781 C 9.464844 14.449219 9.375 14.582031 9.371094 14.59375 C 9.359375 14.632812 10.363281 15.332031 10.390625 15.308594 C 10.40625 15.296875 10.503906 15.160156 10.605469 15.011719 C 10.757812 14.792969 10.800781 14.742188 10.839844 14.75 C 10.867188 14.757812 10.976562 14.792969 11.089844 14.832031 C 11.269531 14.898438 11.589844 14.960938 11.800781 14.980469 L 11.871094 14.988281 L 11.929688 15.332031 C 11.960938 15.519531 11.996094 15.683594 12.003906 15.6875 C 12.015625 15.703125 13.191406 15.507812 13.210938 15.484375 C 13.21875 15.476562 13.199219 15.320312 13.171875 15.136719 C 13.140625 14.949219 13.117188 14.796875 13.117188 14.789062 C 13.121094 14.785156 13.203125 14.734375 13.304688 14.683594 C 13.519531 14.570312 13.746094 14.421875 13.910156 14.28125 L 14.027344 14.183594 L 14.320312 14.394531 C 14.480469 14.503906 14.621094 14.597656 14.628906 14.601562 C 14.65625 14.601562 15.355469 13.589844 15.335938 13.574219 C 15.324219 13.5625 15.183594 13.460938 15.023438 13.347656 C 14.863281 13.234375 14.726562 13.140625 14.726562 13.140625 C 14.722656 13.136719 14.746094 13.050781 14.777344 12.953125 C 14.84375 12.746094 14.90625 12.394531 14.90625 12.230469 C 14.90625 12.101562 14.867188 12.117188 15.351562 12.035156 C 15.550781 12 15.71875 11.96875 15.71875 11.96875 C 15.730469 11.960938 15.519531 10.753906 15.507812 10.742188 C 15.503906 10.738281 15.3125 10.765625 15.082031 10.808594 C 14.730469 10.867188 14.65625 10.875 14.644531 10.847656 C 14.433594 10.492188 14.359375 10.375 14.242188 10.238281 L 14.109375 10.078125 L 14.234375 9.894531 C 14.304688 9.796875 14.421875 9.628906 14.492188 9.527344 C 14.621094 9.351562 14.625 9.339844 14.585938 9.300781 C 14.523438 9.242188 13.636719 8.625 13.613281 8.625 C 13.605469 8.625 13.476562 8.792969 13.332031 9 C 13.109375 9.3125 13.058594 9.371094 13.019531 9.363281 C 12.71875 9.277344 12.496094 9.230469 12.359375 9.21875 C 12.265625 9.210938 12.179688 9.191406 12.167969 9.179688 C 12.152344 9.15625 12 8.328125 12 8.265625 C 12 8.238281 11.886719 8.253906 11.320312 8.347656 Z M 12.414062 10.5 C 13 10.648438 13.457031 11.105469 13.609375 11.695312 C 13.660156 11.898438 13.660156 12.289062 13.609375 12.484375 C 13.457031 13.054688 13.058594 13.472656 12.496094 13.660156 C 12.339844 13.710938 12.277344 13.71875 12.011719 13.71875 C 11.746094 13.71875 11.683594 13.710938 11.527344 13.660156 C 10.890625 13.449219 10.472656 12.945312 10.378906 12.273438 C 10.300781 11.683594 10.609375 11.042969 11.136719 10.703125 C 11.503906 10.46875 11.984375 10.390625 12.414062 10.5 Z M 12.414062 10.5 "/> </g> </svg>

image

jaywcjlove commented 4 years ago

@fitimsijarinaa svg is converted by svg2ttf, You can go to svg2ttf to find the answer.