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

Add ascent and autowidth options? #176

Closed
seanking2919 opened this issue Apr 26, 2021 · 2 comments
Closed

Add ascent and autowidth options? #176

seanking2919 opened this issue Apr 26, 2021 · 2 comments

Comments

@seanking2919
Copy link

seanking2919 commented Apr 26, 2021

I'm trying to do Fork Awesome with Fantasticon instead of Ruby-based FontCustom. And one trouble I keep running into is adjusting this. Like for some icons, I expect this:

image

But instead, I get this:

image

I don't know if I'm adjusting it correctly or what, but in my case, it seems like the fontcustom.yml file has configuration options for autowidth and font ascent. Is it possible to add these capabilities or is it already an option and I don't even know.

@seanking2919 seanking2919 changed the title Add ascent, autowidth, and font_em options? Add ascent and autowidth options? Apr 26, 2021
@seanking2919 seanking2919 changed the title Add ascent and autowidth options? Add ascent, units per em, and autowidth options? Apr 26, 2021
@seanking2919 seanking2919 changed the title Add ascent, units per em, and autowidth options? Add ascent and autowidth options? Apr 26, 2021
@seanking2919
Copy link
Author

seanking2919 commented Apr 26, 2021

I tried to do this myself. I keep running into bumps on the road. From @types/svgicons2svgfont not being up to date to vertical alignment still being an issue after adding the ascent option, I'm really kinda stuck. Certain icons look fine, but others look like this:

image

All I can say at this point is help anyone. It seems like some issue that's going on with how the icon font is generated and how it handles descent and ascent.

@seanking2919
Copy link
Author

I'm just gonna close this in favor of #11. I don't think ascent or autowidth did the trick at all.

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

No branches or pull requests

1 participant