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

Extend code font list #15

Open
mynetx opened this issue Sep 17, 2017 · 22 comments
Open

Extend code font list #15

mynetx opened this issue Sep 17, 2017 · 22 comments

Comments

@mynetx
Copy link
Contributor

mynetx commented Sep 17, 2017

Have any noteworthy/add-worthy code fonts surfaced since we built this?

@chrissimpkins
Copy link
Contributor

Can you remind me where the total list of fonts that we support is located in the script? As I recall, the menu limits to only the subset that are installed on a user's platform from the total list with the exception of Hack?

@mynetx
Copy link
Contributor Author

mynetx commented Sep 17, 2017

The menu limits to what's either locally installed or can be loaded as a webfont.

List:
https://github.com/sf-web/sf-web.github.io/blob/master/hack/playground.html#L122-L157

Loader with CSS file paths:
https://github.com/sf-web/sf-web.github.io/blob/master/hack/assets/js/playground.js#L64-L74

CSS files (for fonts not on Google Fonts):
https://github.com/sf-web/sf-web.github.io/tree/master/hack/assets/fonts

@chrissimpkins
Copy link
Contributor

Suggest the addition of the following:

  • Fira Code
  • M+1m
  • Input Mono

@mynetx
Copy link
Contributor Author

mynetx commented Sep 18, 2017

@chrissimpkins Do they have webfonts, at Google or elsewhere, or are they to be local only?

@chrissimpkins
Copy link
Contributor

Good question. I don't believe that any of them are on Google fonts. Sorry, not sure.

@mynetx
Copy link
Contributor Author

mynetx commented Sep 19, 2017

I have now loaded Fira Code but I can't seem to get the ligatures to work. And without them no point to upload it.

@chrissimpkins
Copy link
Contributor

Are these web font releases by their team or did you make the web fonts? If the latter we may need to make sure that the ligature scripting was maintained in the fonts.

First glance through Google search is that there are some CSS settings that can be applied. I never use ligatures so have never explored this. There is a great deal of demand for ligatures out there and it would be helpful to be able to show those in Hasklig too. This article could be used as a starting point to troubleshoot:

https://www.viget.com/articles/css-typography-kerning-ligatures-swashes-small-caps

@mynetx
Copy link
Contributor Author

mynetx commented Sep 19, 2017

@chrissimpkins I found web font version that support it, and I have Fira Code with ligatures in my copy now.

@mynetx
Copy link
Contributor Author

mynetx commented Sep 19, 2017

Where are these @chrissimpkins?

  • M+1m
  • Input Mono
  • Hasklig

@chrissimpkins
Copy link
Contributor

@mynetx
Copy link
Contributor Author

mynetx commented Sep 19, 2017

bildschirmfoto 2017-09-19 um 16 22 38

@mynetx
Copy link
Contributor Author

mynetx commented Sep 19, 2017

If you use the Input Font Software in a non-development context, or in any context where the Font Software or its appearance will be published or distributed, you will need to purchase the appropriate License.

mynetx added a commit to jublo/sf-web.github.io that referenced this issue Sep 19, 2017
@chrissimpkins
Copy link
Contributor

@jublo sounds like we cannot use Input Mono then?

@mynetx
Copy link
Contributor Author

mynetx commented Sep 19, 2017

@chrissimpkins We can use it and I added it – as long as the user has installed it locally.

@chrissimpkins
Copy link
Contributor

@jublo I see, it is supported only when there is a local install of the font?

@mynetx
Copy link
Contributor Author

mynetx commented Sep 19, 2017

as long as the user has installed it locally

@chrissimpkins Yes exactly. Like Hasklig and many others in that list.

@chrissimpkins
Copy link
Contributor

@jublo do the hasklig ligatures work now with CSS changes?

@mynetx
Copy link
Contributor Author

mynetx commented Sep 19, 2017

@chrissimpkins Yes they do. Yet Fira Code has more of them.

bildschirmfoto 2017-09-19 um 20 52 56

@chrissimpkins
Copy link
Contributor

OK to close this?

@mynetx
Copy link
Contributor Author

mynetx commented Oct 23, 2017

I guess so, from my POV

@chrissimpkins
Copy link
Contributor

👍

@chrissimpkins
Copy link
Contributor

@burodepeper want to add fifteen as a selection in font playground?

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