How do I use fontello fonts?

Inside the bundle, there is “font” folder and a “css” folder. Move the font folder into your project. Your project might look something like this: /project-root — /stylesheets — /images — /javascripts — /font Include the Fontello css. Inside the “css” folder in the bundle, you’ll see: [yourfontname]-codes.css [yourfontname]-embedded.css [yourfontname]-ie7-codes.css [yourfontname]-ie7.css [yourfontname].css For most cases, … Read more

Packaging a font with a Google Chrome extension

Choose your font. As example I’ll take “Stint Ultra Expanded”. There is example how to add it to your page: <link href=”http://fonts.googleapis.com/css?family=Stint+Ultra+Expanded” rel=”stylesheet” type=”text/css”> Take only the href and open it in browser. You’ll see something like this: @font-face { font-family: ‘Stint Ultra Expanded’; font-style: normal; font-weight: 400; src: local(‘Stint Ultra Expanded’), local(‘StintUltraExpanded-Regular’), url(http://themes.googleusercontent.com/static/fonts/stintultraexpanded/v1/FeigX-wDDgHMCKuhekhedWmdhyVWfbygZe-w47Q2x_f3rGVtsTkPsbDajuO5ueQw.woff) format(‘woff’); … Read more

Japanese standard web fonts

Web-font for Japanese, though there are few providers exist, is not really practical as you found the size of the font data is too big to download. Usually Japanese font has 8,000-16,000 glyph so making new fonts means you need to make at least 8,000 glyph, which is pretty heavy task. As a result of … Read more

IE9 blocks download of cross-origin web font

IE9 supports .WOFF; IE8 does not, and supports only .EOT fonts. Open the IE9 F12 Developer Tools and you see the following messages: CSS3117: @font-face failed cross-origin request. Resource access is restricted. Neuton-webfont.woff CSS3117: @font-face failed cross-origin request. Resource access is restricted. YanoneKaffeesatz-Regular-webfont.woff CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable. Neuton-webfont.ttf … Read more

Vertical alignment of text and icon in button

There is one rule that is set by font-awesome.css, which you need to override. You should set overrides in your CSS files rather than inline, but essentially, the icon-ok class is being set to vertical-align: baseline; by default and which I’ve corrected here: <button id=”whatever” class=”btn btn-large btn-primary” name=”Continue” type=”submit”> <span>Continue</span> <i class=”icon-ok” style=”font-size:30px; vertical-align: … Read more

Languages supported by “latin” vs “latin-extended” glyphs in fonts on Google Web Fonts?

Latin aka Unicode Latin1-Supplement (U+0080 to U+00FF) is meant to support primarily Western European languages (as you mentioned French, German, Spanish, also Portuguese, Italian, Irish, Icelandic, languages of Scandinavian countries and unintentionally also other languages mentioned in the list below). English is supported by standard ASCII. ASCII (first 127 chars, 95 of them are graphemes … Read more

Use multiple @font-face rules in CSS

Note, you may also be interested in: Custom web font not working in IE9 Which includes a more descriptive breakdown of the CSS you see below (and explains the tweaks that make it work better on IE6-9). @font-face { font-family: ‘Bumble Bee’; src: url(‘bumblebee-webfont.eot’); src: local(‘☺’), url(‘bumblebee-webfont.woff’) format(‘woff’), url(‘bumblebee-webfont.ttf’) format(‘truetype’), url(‘bumblebee-webfont.svg#webfontg8dbVmxj’) format(‘svg’); } @font-face { … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)