webfonts

Google/Typekit Webfont-Loader does not detect non-ASCII fonts

删除回忆录丶 提交于 2020-01-24 14:12:46
问题 I'm using the Google webfont loader, but I can't get the fontactive callback to work. The font is rendering on the page, but for some reason the callback isn't firing. (Instead it waits for 5 seconds and then the fontinactive callback fires.) I suspect the problem is in how I'm declaring the two variables to the function. Edit: The problem may have to do with the font, not how I'm declaring the variable. The font-loader sucessfully detects when the "STIXGeneral" font family loads, which

how to remove the accent in fonts [duplicate]

柔情痞子 提交于 2020-01-16 17:38:28
问题 This question already has an answer here : How to get rid of accents just with CSS (1 answer) Closed 2 years ago . Hi I have used a font but the letter with the accent shows in bold like this Yasemin enar ğ uloo. I want it to show without the letter with the accent getting affected in bold. Thanks in advance 回答1: if you check http://www.w3schools.com/cssref/pr_text_text-transform.asp you'll see that there are only 3 possible text-transformations: Uppercase, Lowercase and Capitalize. Besides,

how to remove the accent in fonts [duplicate]

非 Y 不嫁゛ 提交于 2020-01-16 17:37:04
问题 This question already has an answer here : How to get rid of accents just with CSS (1 answer) Closed 2 years ago . Hi I have used a font but the letter with the accent shows in bold like this Yasemin enar ğ uloo. I want it to show without the letter with the accent getting affected in bold. Thanks in advance 回答1: if you check http://www.w3schools.com/cssref/pr_text_text-transform.asp you'll see that there are only 3 possible text-transformations: Uppercase, Lowercase and Capitalize. Besides,

@font-face not working for my ttf font in all browsers

早过忘川 提交于 2020-01-13 07:17:09
问题 I used ttf font for my website using @font-face in css like this @font-face { font-family: myFirstFont; src: url('tamil.ttf'); } .tlan { font-family: myFirstFont; color:#039; } tamil.ttf is not english language font. I can't able to solve this problem .. follow this link, for all my stuffs regarding this @font-face problem. http://aaritcare.com/font%20problem/ i am attached word document with my font . 回答1: try this : @font-face required eot, woff, svg, font format. @font-face { font-family:

Wrong rendering of Google Fonts in Mozilla Firefox

别说谁变了你拦得住时间么 提交于 2020-01-13 06:50:12
问题 I found once someone who had same problem and I was able to fix this. Now I have same problem and after 2h of searching I can't find solution. This problem appears on all websites using google fonts. In Internet Explorer everything look ok so looks like the problem is on the computer and not on website itself. Here is screenshot what I see in my firefox: Here is screenshot from Internet Explorer: As you can see most of the letters have a "dot" on top and there is no "anti-aliasing" (This is

Compressing fonts for using in web

痞子三分冷 提交于 2020-01-10 14:19:25
问题 Can fonts be compressed someway before using as webfonts? I have a font file which is 150kB. Is it possible to compress it down. And also if i call for both font .eot and .ttf will both be downloaded by browsers? 回答1: If you use the FontSquirrel @font-face kit generator - http://www.fontsquirrel.com/fontface/generator - and choose the expert setting, you can manipulate the settings to achieve a little better compression. 回答2: You can compress .woff font files with https://github.com/hn/woff

Compressing fonts for using in web

半腔热情 提交于 2020-01-10 14:18:50
问题 Can fonts be compressed someway before using as webfonts? I have a font file which is 150kB. Is it possible to compress it down. And also if i call for both font .eot and .ttf will both be downloaded by browsers? 回答1: If you use the FontSquirrel @font-face kit generator - http://www.fontsquirrel.com/fontface/generator - and choose the expert setting, you can manipulate the settings to achieve a little better compression. 回答2: You can compress .woff font files with https://github.com/hn/woff

adding a custom font to VS 2010 @fontface

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-06 10:13:28
问题 Started a new asp.net website (razor v2) website in VS2010 (just as a test template to add a custom font) Added the font 'Gothic.TTd' as an 'existing item' to the project level. Then in 'site.css' I added @font-face { font-family: "Century Gothic"; src: url('GOTHIC.TTF'), } Then added this font family to the 'body' of site.css to see what it looks like on the home page: body { background-color: #fff; border-top: solid 10px #000; color: #333; font-size: .85em; font-family: "Century Gothic",

adding a custom font to VS 2010 @fontface

空扰寡人 提交于 2020-01-06 10:10:46
问题 Started a new asp.net website (razor v2) website in VS2010 (just as a test template to add a custom font) Added the font 'Gothic.TTd' as an 'existing item' to the project level. Then in 'site.css' I added @font-face { font-family: "Century Gothic"; src: url('GOTHIC.TTF'), } Then added this font family to the 'body' of site.css to see what it looks like on the home page: body { background-color: #fff; border-top: solid 10px #000; color: #333; font-size: .85em; font-family: "Century Gothic",

Some character not work with fontsquirrel webfont

若如初见. 提交于 2020-01-04 06:35:29
问题 I experienced a problem with the fontsquirrel webfont generator. Two special hungarian chars (ő, ű) do not exist in the output font files, while the input files do . On the other hand, I can not find any settings (like in Cufon), to set which chars should or should not be contained in tha pack. Some suggestions? The font is 'Aller', BTW. Thanks for your help. 回答1: I have similar problems with fonts š, č, ž in Slovenian language. I usually download the font (or Kit), go to @font-face Generator