You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been playing with a CSS generator for my Windows based webkit-generator, that uses otfinfo --quiet --family filename.ttf (it first generates one if the input file is not a ttf one), so it won't relay on whatever the filename is, but for the "font-family" entry stored in the file itself.
mine uses otfinfo from Cygwin with a Windows batch file,
it does not generate the font-weight or the style, although it is too, possible,
(but I think fc-scan might be better for this).
here is a CSS auto-generated from the NotoEmoji-Regular.ttf file:
I think it will be great in your generator since it is *nix-native,
so you won't need to do all the weird pipe-things I use to grab the output :]
(and the file-name can always be used as a fallback for any reason)
The text was updated successfully, but these errors were encountered:
#7- it might,
I avoided working directly with the input file,
by first converting it to all the types, then got the
information from the TTF (and last, generated the CSS).
I've been playing with a CSS generator for my Windows based webkit-generator, that uses
otfinfo --quiet --family filename.ttf
(it first generates one if the input file is not a ttf one), so it won't relay on whatever the filename is, but for the "font-family" entry stored in the file itself.mine uses
otfinfo
from Cygwin with a Windows batch file,it does not generate the font-weight or the style, although it is too, possible,
(but I think fc-scan might be better for this).
here is a CSS auto-generated from the
NotoEmoji-Regular.ttf
file:I think it will be great in your generator since it is *nix-native,
so you won't need to do all the weird pipe-things I use to grab the output :]
(and the file-name can always be used as a fallback for any reason)
The text was updated successfully, but these errors were encountered: