A shell script that can use other command line tools to produce @font-face compatible fonts in all browsers. Works under Windows (using Cygwin), Mac OS X and Linux
As I was working with certain fonts from Google WebFonts, I noticed you are missing certain font name prefixes when convertFonts.sh is determining the numeric value for font-weight CSS property.
does list only DemiBold with weight value of 600. I believe SemiBold also should be treated with the same value.
Additionally, your table in that blog-post also mentions ExtraBold with font-weight value 800. However when I converting OpenSans, I got following CSS output:
Hey @zoltan-dulac :
As I was working with certain fonts from Google WebFonts, I noticed you are missing certain font name prefixes when
convertFonts.sh
is determining the numeric value forfont-weight
CSS property.As a basis, let's look at
OpenSans
fonts: https://github.com/google/fonts/tree/master/apache/opensansAs you can see, this font has
SemiBold
variants. Your blog at:http://www.useragentman.com/blog/2013/09/20/better-web-typography-with-font-weight-autohinting-and-font-feature-settings/#comment-911845
does list only
DemiBold
with weight value of 600. I believeSemiBold
also should be treated with the same value.Additionally, your table in that blog-post also mentions
ExtraBold
with font-weight value 800. However when I converting OpenSans, I got following CSS output:As you can see the
font-weight
value in the output is 700 instead of 800. Is this a bug?That's it for the moment. Thanks a lot for such a wonderful tool! :)