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

Kerning doesn't show up after conversion to Woff #267

Closed
beauterre opened this issue Mar 8, 2018 · 4 comments
Closed

Kerning doesn't show up after conversion to Woff #267

beauterre opened this issue Mar 8, 2018 · 4 comments

Comments

@beauterre
Copy link

I can see kernpairs in the SVG, but they just don't show up once I convert the font to Woff or Woff2 with online tools.
Might not be an issue of your product, but improved workflow might include a woff export.

@mattlag
Copy link
Member

mattlag commented Mar 10, 2018

Hello! Yes, currently we use Open type.js to read/write OTF files. It has no WOFF support.

The kerning / ligatures support is obviously not ideal, but it's OpenType.js supports at the moment.

I have used https://onlinefontconverter.com/ to convert SVG to OTF, and the kerning / ligatures information survives.

I'm going to close this because there is nothing really to do, but thank you for the feedback.

@mattlag mattlag closed this as completed Mar 10, 2018
@beauterre
Copy link
Author

I solved my own issue by going through SVG and converting that to WOFF. And then the woff to woff2. With online converters from Might be something for the manual. Forgot to mention it. I agree, there isn't anything to do for you guys, except maybe extending the manual.
If you want me to write a piece about it, I will. I searched quite extensively on the internet, but couldn't find anything about it. Very satisfied user here. Great app!

In a nutshell and in md:

how to keep Kerning when converting to webfonts

  1. export SVG from glyphr.
  2. convert to woff with everythingfonts.com
  3. the convert woff to woff2 with https://everythingfonts.com/woff-to-woff2
  4. Then write the CSS to load the webfonts
  5. Also put Kerning and antialiasing on as a feature in CSS.

This seems to work in Chrome, Firefox and Edge!

@mattlag
Copy link
Member

mattlag commented Mar 13, 2018 via email

@beauterre
Copy link
Author

I'd love to get more detailed in a tutorial with screenshots and videos and the whole 9-yards.
For me it would be logical in the form of a youtube tutorial or do you prefer another format?
There is no wiki accessible to me for this project on github. Maybe I'm missing something? I'm quite new to github.

I was also thinking, couldn't a back-end solution to the problem help, if the javascript-library doesn't support it? I haven't done any research yet, but I feel a font-parser package like Pomax of PhenX in PHP could possibly solve it. Or do you prefer a purely front-end solution, because of the server-load?
I that case it might be interesting to port it to javascript? Sounds like another project I might enjoy.

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

2 participants