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

Ability to pick any font #127

Closed
espadrine opened this issue Feb 25, 2014 · 3 comments
Closed

Ability to pick any font #127

espadrine opened this issue Feb 25, 2014 · 3 comments
Labels
core Server, BaseService, GitHub auth, Shared helpers

Comments

@espadrine
Copy link
Member

Especially OpenSans.

Idea: use SVG <path> to draw each glyph, extracting information from a big JSON structure corresponding to a font.

This issue is the new forum of discussion for font creation; it is a follow-up to badges/gh-badges#14.

@chadwhitacre
Copy link
Contributor

FTR, the <path> idea surfaced on #97.

@espadrine
Copy link
Member Author

This is the best solution I found. We are already using node-canvas; writing the typeset text and extracting the SVG path element will be a breeze.

A write-up here.

@paulmelnikow paulmelnikow added the frontend The Docusaurus app serving the docs site label Apr 18, 2017
@paulmelnikow paulmelnikow added core Server, BaseService, GitHub auth, Shared helpers and removed frontend The Docusaurus app serving the docs site labels Oct 10, 2017
@paulmelnikow
Copy link
Member

Rendering paths into the svg's is something I could see doing in the future. Also, I could see embedding the entire font width as a lookup table, as badgen has done. However Verdana seems to be the standard, and I don't see the need to support additional fonts on our server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Server, BaseService, GitHub auth, Shared helpers
Projects
None yet
Development

No branches or pull requests

3 participants