font-face

Is there a known glitch with using IcoMoon fonts and viewing on Chrome?

你离开我真会死。 提交于 2020-01-02 10:15:56
问题 Here's an image of a website on Chrome (top), and Firefox (bottom). The icons are showing in Firefox, but not in Chrome. The funny thing is that if I refresh it a few times, the icons sometimes appear. Here's some of the CSS (I have a reset CSS too) and HTML, in case there is an issue with it: /* CSS */ @font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; src: local('Oswald Regular'), local('Oswald-Regular'), url(http://themes.googleusercontent.com/static/fonts/oswald/v7/

How to include a non-standard font-face in azure?

点点圈 提交于 2020-01-02 01:53:52
问题 I'm new to the cloud and Azure for that matter and made my first deployment for the company I work for today. It's located at http://fleetcarma.cloudapp.net currently until I am able to get the domain name to verify with the azure servers. So something is really weird, when I run my web service locally, or deployed on IIS, the font that I want to use works. But when deployed to Azure, it doesn't and defaults to something like a times new roman of sorts. I've included the different font types

Use custom font from res/font with WebView in Android

柔情痞子 提交于 2020-01-01 04:29:07
问题 I want to change font face of html string loaded into WebView similarly as mentioned in this question: How to change font face of Webview in Android? The difference is that I am not using old approach where you store you font files in assets folder, but I store them in res/font as described in "Fonts in XML" android font support documentation: https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml.html Now, I obviously can't use: file:///android_asset/fonts/my_font.otf I

Creating a cross browser icon webfont

心已入冬 提交于 2020-01-01 01:30:09
问题 I have been making my own webfont taking as a starting point articles from web designer depot and intridea. I know different engines render fonts differently and but the issue I'm having is that firefox renders the font higher than chrome - at the size I am displaying the font this is very noticeable (3 or 4 px - which on a button means they're totally misaligned). I have also referenced Github's octicon documentation - when checking out how octicons compare browser they look great! No

How to render Segoe UI font in different navigators and OS's

陌路散爱 提交于 2020-01-01 00:46:32
问题 I have some web applications that follow metro style of the Microsoft (ie.: new outlook). But I'm having troubles with the fonts that I used. The default font is "Segoe" family, when an user enter in the application in a system that have the desktop font Segoe UI, everything is alright. But in some cases users are using Mac or Ubuntu that don't come with the "Segoe UI" and the navigator uses the secundary font (in my case, Tahoma). In the new Outlook don't matter what OS you are using, it

To use local font in HTML using font face

心不动则不痛 提交于 2019-12-30 06:30:11
问题 I trying to use local font to apply styles in html, below is the code.Font is not getting applied for harlow class used element <!DOCTYPE html> <html> <head> <style> @font-face { font-family: myFirstFont; src:local("C:\Users\Website\fonts\Harlow_Solid_Italic.ttf"); } .harlow{ font-family: myFirstFont; } </style> </head> <body> <div>With CSS3, websites can finally use fonts other than the pre selected "web-safe" fonts.</div> <p><b class="harlow">Note:</b> Internet Explorer 8 and earlier, do

How to add a new font in tinymce editor?

安稳与你 提交于 2019-12-30 05:46:09
问题 I want to add new font in tinymce editor which are display in font dropdown and apply to editor text. I try to add ttf font in fonts folder of advance themes skin folder and also add in editor_template.js and add css in contect.css for @font-face. I got font name in fonts dropdown. But when i apply to any text no any font effect on that text. What is actual problem i can't found. Hope this is path issue or other... 回答1: I solved the issue, Check all the possible issues below and fix them to

Firefox webfonts not loading

这一生的挚爱 提交于 2019-12-30 05:45:08
问题 I'm having an issue with webfonts only in Firefox, all other browsers (including IE) work perfectly. My issues is that the webfonts won't load at all. I've looked at this possible solution, editing the htaccess file (http://www.fontsquirrel.com/blog/2010/11/troubleshooting-font-face-problems) but I've had no luck. The only other thing that I can say is in Firefox's error console I get the following warning: Error in parsing value for "src". Skipped to the next declaration. Here's a sample of

Does @font-face work in email templates?

偶尔善良 提交于 2019-12-30 04:15:06
问题 Is there a way that I can embed custom web fonts using CSS's @font-face in email templates. This question is specifically related to email templates in MailChimp, but I would also like to know if there is a cross-browser solution that works on all or most email subscription services? I have considered embedding it in the style header this way: @font-face { src: url("http://www.remoteserver.com/fonts/font.otf"); font-family: Font; } But I am afraid this would drastically effect page load. Is

Applying a single font to an entire website with CSS

て烟熏妆下的殇ゞ 提交于 2019-12-29 10:23:45
问题 I want to use a single font named "Algerian" across my whole website. So, I need to change all HTML tags and I don't want to write different code for different tags like: button{font-family:Algerian;} div{font-family:Algerian;} The method written below is also highly discouraged: div,button,span,strong{font-family:Algerian;} 回答1: Put the font-family declaration into a body selector: body { font-family: Algerian; } All the elements on your page will inherit this font-family then (unless, of