Skip to content

Update Source Sans Pro fonts#848

Merged
maya merged 1 commit into
uswds:18f-pages-stagingfrom
miguelsousa:update-source-sans-fonts
Oct 21, 2015
Merged

Update Source Sans Pro fonts#848
maya merged 1 commit into
uswds:18f-pages-stagingfrom
miguelsousa:update-source-sans-fonts

Conversation

@miguelsousa

Copy link
Copy Markdown
Contributor

This is to address issue #802.

The collective size of the new files is 546KB, while the previous version was 595KB. On the surface, this doesn't seem that big of a size reduction, but the new fonts actually support for more characters (which addresses issue #756, I believe), and they also support true small caps and old style numbers.

I did not generate new SVG files because those "fonts" are only needed for very old browsers. I think they should be removed from this project. WOFF, and soon WOFF2, are more broadly supported and have a smaller footprint.

@maya

maya commented Oct 21, 2015

Copy link
Copy Markdown
Contributor

This is awesome - thanks so much @miguelsousa!

I think we can probably create a new issue about removing SVG fonts.

This will also resolve #737.

@maya

maya commented Oct 21, 2015

Copy link
Copy Markdown
Contributor

@miguelsousa Quick question: What are old style numbers?

What do you recomend as the best place to view all available characters, glyphs, etc for Source Sans Pro?

maya pushed a commit that referenced this pull request Oct 21, 2015
@maya maya merged commit b77932c into uswds:18f-pages-staging Oct 21, 2015
@jpyuda

jpyuda commented Oct 21, 2015

Copy link
Copy Markdown
Contributor

Old-style numbers have ascenders and descenders much like lowercase letters. They were traditionally used in running copy, while using lining numerals for tables. (when you want all the numbers to line up)

http://theworldsgreatestbook.com/wp-content/uploads/2011/11/figureStyles1.gif illustrates it well.

@miguelsousa miguelsousa deleted the update-source-sans-fonts branch October 21, 2015 21:54
@miguelsousa

Copy link
Copy Markdown
Contributor Author

@maya

I think we can probably create a new issue about removing SVG fonts.

I can take care of that, if you want.

What do you recomend as the best place to view all available characters, glyphs, etc

This PDF is probably the best place. Keep in mind that this is showing the subsetted fonts that were submitted in the PR and not the original fonts. The original fonts have a lot more glyphs and support a lot more languages. If you come across characters that are not supported by the current subsetted fonts, let me know and I'll generate new subset fonts with broader support.

I will also try to remember to update the fonts here by submitting a PR whenever a new version of Source Sans Pro comes out. I've created a dedicated repository to make that easy and reproducible.

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

Successfully merging this pull request may close these issues.

3 participants