Giter VIP home page Giter VIP logo

Comments (16)

andi1984 avatar andi1984 commented on May 28, 2024

Appreciating a SVG version, too!

from source-sans.

miguelsousa avatar miguelsousa commented on May 28, 2024

@DanielRuf @andi1984 can you both explain why you need the SVG format?

from source-sans.

fitojb avatar fitojb commented on May 28, 2024

In the meantime you could use the FontSquirrel Generator to get SVG fonts, but fonts in the SVG are deprecated.

from source-sans.

DanielRuf avatar DanielRuf commented on May 28, 2024

@Fitoschido Why should it be deprecated? Are there any reliable sources?
edit: found this (if you mean this discussion): https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/pYbbUcYvlYY

but are SVG fonts not better sometimes for example for icon fonts (open format, easy to adjust/change/edit), compression and scalability

What about mobile platforms and other OS? They do not directly support DirectWrite (Windows feature)

@miguelsousa it is an open format which can be edited by any SVG software. Anyway, just was a bit surprised why it is now missing and I saw no official statement.

Also, is this 2.x release the actual webfonts release? Because it is named Fonts only.

from source-sans.

miguelsousa avatar miguelsousa commented on May 28, 2024

@DanielRuf I feel that you still haven't explained why you need SVG files. We stopped including them because all of the desktop & mobile browsers currently in use support either of the other formats (OTF, TTF, WOFF, EOT). These are also better font formats than SVG.

Anyway, just was a bit surprised why it is now missing and I saw no official statement.

That is a good point. I'm sorry that we didn't include a note about it in the blog announcement.

Also, is this 2.x release the actual webfonts release?

Yes, desktop and web fonts are all in there.

from source-sans.

DanielRuf avatar DanielRuf commented on May 28, 2024

@miguelsousa
Ok, thanks. So I can use these now for my web projects.
How can I use only a subset of the font so it is smaller? Do I have to re-export the source files?

from source-sans.

miguelsousa avatar miguelsousa commented on May 28, 2024

@DanielRuf trimming the source files is a possibility but it's not an easy route because subsetting the kerning data and the OpenType features will be tricky and time consuming. You should instead use a tool like pyftsubset to subset the OTFs or TTFs.

from source-sans.

DanielRuf avatar DanielRuf commented on May 28, 2024

Ok, thanks for the suggestion.

from source-sans.

andi1984 avatar andi1984 commented on May 28, 2024

I would appreciate SVG files because WOFF font-rendering for Chrome on Windows is really poor.

from source-sans.

miguelsousa avatar miguelsousa commented on May 28, 2024

@andi1984 you'll have to generate them yourself, sorry. It's very simple if you have the FDK installed; just type the following command in a Terminal/CommandPrompt window:

tx -svg SourceSansPro-Regular.otf SourceSansPro-Regular.svg

from source-sans.

bramstein avatar bramstein commented on May 28, 2024

@andi1984 We stopped supporting SVG fonts on Typekit as well. It is not a good idea to use SVG fonts for improved font rendering for Chrome on Windows; while the rendering quality may be slightly better, SVG fonts do not include any of the other features that make a font a font, such as kerning, advanced positioning, ligatures, etc. Chrome 37 (which is scheduled for release within the next couple weeks) will include DirectWrite support, and will massively improve the rendering quality on Windows. For these reasons we discourage the use of SVG fonts.

from source-sans.

DanielRuf avatar DanielRuf commented on May 28, 2024

@miguelsousa

are there some recipes for creating a specific subset eg for a language?
It seems the new release does not support different subsets for languages like the releases before or am I wrong?

from source-sans.

miguelsousa avatar miguelsousa commented on May 28, 2024

@DanielRuf I don't understand your question. Our releases have always been whole fonts, not subsets. Could you be confused with the ability of subsetting fonts that webfont services (e.g. Typekit, Google Fonts) provide?

from source-sans.

DanielRuf avatar DanielRuf commented on May 28, 2024

@miguelsousa Websites like FontSquirrel (seems the license does not allow them to create the subsets which is not so great) and others provided some subsets for specific languages.
Are there somewhere instructions for creating them?

Because using the complete fonts or just some styles is just too much data for a website (130KB - 280KB in size, italic styles are smaller).

So I have to setup all these tools (which is complicated?) and build my own subset?
Do you know some recipes or guides for specific languages what has to be changed or added to the specific language subset?

from source-sans.

miguelsousa avatar miguelsousa commented on May 28, 2024

Are there somewhere instructions for creating them?

I already mentioned pyftsubset above. For instructions you'll have to read its manual.

So I have to setup all these tools (which is complicated?) and build my own subset?

It depends. There are webfont services that can provide you with subsetting options. If that doesn't suit you, or if you want to self-host the fonts then, yes, you'll have to roll out your own solution.

Do you know some recipes or guides for specific languages what has to be changed or added to the specific language subset?

That's a loaded question, and also quite convoluted, but the answer is basically no.

from source-sans.

DanielRuf avatar DanielRuf commented on May 28, 2024

Okay, thanks so far.

from source-sans.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.