font-face

Google Fonts 'Rokkitt' not showing on IE11

南笙酒味 提交于 2020-01-06 15:17:50
问题 This website is failing to show the Google font 'Rokkitt' on IE11, it works fine on other browsers. Is this down to the font developer or is it down to font-face issues in IE11? Any help would be massively appreciated. Website is found here: CLICK HERE 回答1: The problem is that your markup specifies IE8 emulation mode: <meta http-equiv="X-UA-Compatible" content="IE-EmulateIE8"></meta> The Google font loader, though, only has access to the User-Agent string. It knows that the browser is IE11,

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",

@fontface on blackberry os 7

寵の児 提交于 2020-01-06 07:37:29
问题 I am trying to load a font that works fine everywhere but not on blackberry OS 7 @font-face {font-family: 'CCDoohickeyOpen';src: url('webfonts/244FAC_0_0.eot'); src: url('webfonts/244FAC_0_0.eot?#iefix') format('embedded-opentype'),url('webfonts/244FAC_0_0.woff') f ormat('woff'),url('webfonts/244FAC_0_0.ttf') format('truetype'),url('webfonts/244fac_0_0-webfont.svg#CCDoohickeyOpen') format('svg');} the page is at http://lisp.li what am I doing wrong? Ironically other web fonts from other sites

How do I set the colour of a custom tag in html-mode

混江龙づ霸主 提交于 2020-01-06 05:37:07
问题 Trying to get a mode to work with silverstipe templates. How do I set the background of the <% %> tag to be a darker color? 回答1: You can customize any face using the customization system, but the trick is to know which face you have to edit to get the look that you want. There is a shortcut you can use in this case: position the point over the text in question and run M-x describe-face. This asks for a face name, but the default if you leave the input blank is the face used by the text at

font face not working in ie

ぃ、小莉子 提交于 2020-01-06 03:45:06
问题 I have created a html layout and using css3 @font-face . Here is my code @font-face { font-family: 'MyriadProRegular'; src: url('myriad.eot'); src: url('myriad.eot?#iefix') format('embedded-opentype'), url('myriad.woff') format('woff'), url('myriad.ttf') format('truetype'), url('myriad.svg#MyriadProRegular') format('svg'); } and i am using font-family: 'MyriadProRegular'; it's work in all browsers accept IE. Please help. 回答1: I can't recommend Font Squirrel enough for this. Just run through

Google Webfonts with TideSDK

点点圈 提交于 2020-01-05 08:03:45
问题 Have just discovered TideSDK and look forward to the upcoming 1.4.0 build. I am utilizing the TideSDK Developer on Windows 7 32-bit and have the HelloWorld app up and running... now I am having fun trying lots of CSS3/HTML5 code snippets to see what works with the current beta release. Trying to use Google webfonts does not seem to work... is this correct? I saw (old) discussions about font usage on windows with appcelerator Titanium, but don't know the current status. Is this expected to be

@font-face not work in Firefox

℡╲_俬逩灬. 提交于 2020-01-05 07:48:32
问题 Have a some trouble whit @font-face in Firefox. @font-face{ font-family:'PopularScript'; src:url('http://static.dubrovka.dn.ua/eot/PopularScript.eot'); src:url('http://static.dubrovka.dn.ua/eot/PopularScript.eot?#iefix') format('embedded-opentype'), url('http://static.dubrovka.dn.ua/wof/PopularScript.woff') format('woff'), url('http://static.dubrovka.dn.ua/ttf/PopularScript.ttf') format('truetype'), url('http://static.dubrovka.dn.ua/otf/PopularScript.otf') format('opentype'), url('http:/

@font-face not work in Firefox

ぃ、小莉子 提交于 2020-01-05 07:47:29
问题 Have a some trouble whit @font-face in Firefox. @font-face{ font-family:'PopularScript'; src:url('http://static.dubrovka.dn.ua/eot/PopularScript.eot'); src:url('http://static.dubrovka.dn.ua/eot/PopularScript.eot?#iefix') format('embedded-opentype'), url('http://static.dubrovka.dn.ua/wof/PopularScript.woff') format('woff'), url('http://static.dubrovka.dn.ua/ttf/PopularScript.ttf') format('truetype'), url('http://static.dubrovka.dn.ua/otf/PopularScript.otf') format('opentype'), url('http:/

How to add font-weight property inside a font definition for the fallback font?

可紊 提交于 2020-01-05 05:38:05
问题 In our project we use Fira Sans Bold for thickening text segments. As a fallback we would like to use Lucida Sans Unicode with font-weight set to bold . However, we run into a problem that we need to pre-set font-weight property for Lucida Sans Unicode . What are possible ways to do this? We tried @font-face. @font-face { font-family: 'Lucida Bold'; font-weight: bold; src: local('Lucida Sans Unicode'); } However, the problem is, while using Fira Sans Bold we rely only on the font-family and