Wednesday, 15 April 2015

css - Getting different figure types with Google Web Fonts -


[Raleway] is a display face and download both features old style and lining points, standard and discretionary ligature, a very complete spectrum set, as well as stylistic alternative Inspired by more geometrical sense-serif typefaces, its neo-bizarre default character set is inspired.

(emphasis my)

The default "old style" ("onum") for the digits, which is used in the headlines Ideally, I want to be able to use the "table" version ("LNUM") with "tabulated" ("tinum") kerning (as opposed to proportional - "PNUm").

I tried to use the following block of announcements, to no avail:

  font-feature-settings: turn off, "off", "off" off, "Lnum" on, "tinam" on; -moz-font-feature-settings: "onum = 0, pnum = 0, lnum = 1, tnum = 1"; / * Firefox * / -webkit-font-feature-settings: "off" off, "off" off, "lnum" on, "tnum" on; / * WebKit * / -o-font-feature-settings: "off" off, "off" off, "lnum" on, "tnum" on; / * Opera / /   

Any ideas? If I want to download full font and want to re-export it as a web-font, how will I do this when I get my embrace data?

Thank you!

From this page:

  .lnum {font-variant- Numeric: lining-nums; -Mo-font-feature-settings: "LNUM" 1; -moz-font-feature settings: "lnum = 1"; -ms-font-feature-settings: "lnum" 1; -o-font-feature-settings: "lnum" 1; -webkit-font-feature-settings: "lnum" 1; Font-feature-settings: "lnum" 1; }   

For now only. Works with OFF files, not with font embedded by Google webfonts. Safari is not supported Here you can test other typeface features and browser support:

No comments:

Post a Comment