Metro-UI-CSS icon indicating copy to clipboard operation
Metro-UI-CSS copied to clipboard

embed webfonts protocol-indepedently

Open dktue opened this issue 13 years ago • 2 comments

e.g. //themes.googleusercontent.com/static/fonts/ptserifcaption/v4/7xkFOeTxxO1GMC1suOUYWWhBabBbEjGd1iRmpyoZukE.woff instead of http://themes.googleusercontent.com/static/fonts/ptserifcaption/v4/7xkFOeTxxO1GMC1suOUYWWhBabBbEjGd1iRmpyoZukE.woff

otherwise you cause warnings if you deliver your site via https.

dktue avatar Feb 04 '13 20:02 dktue

I think it's also good idea to split to

  • fonts.less
  • typography.less

Then you can replace entire fonts.less file (without changing typography.less) when

  • want to embedd custom char in fonts (for non-English language)
  • don't want to use google as source for font (for different reasons)

m-jedynak avatar Feb 05 '13 06:02 m-jedynak

I think that the chosen font and the typographic settings are very likely to change both at the same time, e.g. if you change the font you will probably change the font-weight, -size, paddings, margins and spacings, too. In conclusion it would be better to keep them together in one file that can can be replaced by a user that want's to change the font/typographic appearance.

dktue avatar Feb 11 '13 17:02 dktue