github / hubot-sans

Hubot Sans, a variable font from GitHub
https://github.com/mona-sans
SIL Open Font License 1.1
1.85k stars 39 forks source link

For Newbies #7

Open Ogunthomas opened 1 year ago

Ogunthomas commented 1 year ago

I would recommend a description be included in the installation files

tobiasahlin commented 1 year ago

@Ogunthomas what specifically would you like to be described in more detail? 👀

frank-laemmer commented 1 year ago

Before I start a new ticket with another stupid question: The README says:

For web, we recommend using Hubot-Sans.woff2

I am missing where that file might be located or how it should build. There is a file called HubotSans[slnt,wdth,wght].woff2 in webfonts.

tobiasahlin commented 1 year ago

@frank-laemmer that's a great question! The readme assumes (without stating it, so that's my fault), that the reader is referencing the latest release - in that zip, there's a Hubot-Sans.woff2 in the root folder for easy access. I'll make that more clear 👀 but that file is indeed the same as the HubotSans[slnt,wdth,wght].woff2 file that you're referencing, so that's the one that we recommend using

frank-laemmer commented 1 year ago

Yes. I figured so too. So for the records.

This is NOT working:

@font-face {
  font-family: 'Hubot Sans';
  src:
    url('Hubot-Sans.woff2') format('woff2 supports variations'),
    url('Hubot-Sans.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-stretch: 75% 125%;
}

This is working:

@font-face {
  font-family: 'Hubot Sans';
  src:
    url('Hubot-Sans[slnt,wdth,wght].woff2') format('woff2 supports variations'),
    url('Hubot-Sans[slnt,wdth,wght].woff2') format('woff2-variations');
  font-weight: 200 900;
  font-stretch: 75% 125%;
}

for me. I'll suggest to close this.

graphicmist commented 2 months ago

I think this can be added to Readme and issue can be closed.