Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can keep the aspect ratio unchanged ? #112

Closed
3 tasks done
citrusjunoss opened this issue May 25, 2020 · 1 comment · Fixed by #137
Closed
3 tasks done

Can keep the aspect ratio unchanged ? #112

citrusjunoss opened this issue May 25, 2020 · 1 comment · Fixed by #137

Comments

@citrusjunoss
Copy link

citrusjunoss commented May 25, 2020

Issue

I'm a gentledev i:

  • fully read the README recently
  • searched for existing issues
  • checked i'm up to date with the latest version of the project

Expected behavior

<!-- Generated by IcoMoon.io -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024">
<title></title>
<g id="icomoon-ignore">
</g>
<path fill="#000" d="M859.022 425.024l-347.022-306.196-347.022 306.196v472.278l264.419-3.762v-166.471c0-45.54 36.918-82.458 82.458-82.458s82.458 36.918 82.458 82.458v166.472l264.709 3.761v-472.278z"></path>
</svg>

Original svg ====== width / height 1 : 1

Converted font ====== width/height 1: 1

Actual behavior

Original svg ======= width / height 1 : 1

Converted font ======= width/height image

I guess the actual aspect ratio is the aspect ratio of the path

image

Steps to reproduce the behavior

Debugging informations

Node 12.10
Gulp 4.0.2
Gulp-iconfont 10.0.3

Feature request

@pioug
Copy link
Collaborator

pioug commented Sep 19, 2021

Please try v10.0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants