font-face

@font-face not working in Firefox or IE - how can i figure out why?

*爱你&永不变心* 提交于 2019-12-25 05:52:21
问题 I am going nuts. @font-face won't work in IE or FireFox when I test on my client's server. My code is legit - it works just fine if I upload it to my own server, across all browsers. But no luck where I truly need it to work. I've tried re-ordering the CSS, and confirmed the fonts are indeed uploaded to the server. I have read the info on the following links: http://sixrevisions.com/css/font-face-web-fonts-issues/ http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/ Based on

Django: Can't load cyrillic font in font-face

冷暖自知 提交于 2019-12-25 05:27:19
问题 I'm using django-easy-pdf to create pdf reports. So, I need my font to be cyrillic . In my template I write: @font-face { font-family: Arimo-Regular; src: url('{% static 'static/themes/font/Arimo-Regular.ttf' %}'); } html { font-family: Arimo-Regular, Arial, 'sans-serif'; color: #333333; } But all the time, the font is sans-serif . I found some cyrillic font: Arimo-Regular , but it's not working. Maybe this font is not supported by browser? I've tried several cyrylic fonts, but it remains

CSS3 @font-face not displaying on Mac OS X Safari 5.x OR Chrome

瘦欲@ 提交于 2019-12-25 03:45:22
问题 Hi guys having a bit of a dilemna with @Font-Face and can't figure out why. I have done countless hours of research on the best @font-face code to use and troubleshooting as to why it would not display on a Mac OS X browser. The current situation is, I am using... @font-face { font-family: 'Avenir LT 55 Roman'; src: url('fonts/avenir-55.eot?#iefix') format('embedded-opentype'), url('fonts/avenir-55.woff') format('woff'), url('fonts/avenir-55.ttf') format('truetype'), url('fonts/avenir-55.svg

Adding custom font to asp.net application

♀尐吖头ヾ 提交于 2019-12-25 02:57:12
问题 I have never used a custom font before and have been trying to add it into my application. I have downloaded this font onto my computer and have made a separate file called 'Font' and in that i have put the font file. I went into my CSS and have wrote this code: @font-face { font-family:'Open Sans'; src: url('../Font/OpenSans-Light.ttf'); } The font isn't working at all and I'm wondering why it is not working? Any ideas? I am applying it to different sections, I should of said: .title { font

@font-face : converting and displaying a font (CityBlueprint)

风格不统一 提交于 2019-12-25 02:25:01
问题 I try to embed a font coming from http://fr.fontstock.net/8826/cityblueprint.html. First, I convert the font through http://convertfonts.com Then I insert the css code : @font-face { font-family: 'cityblueprint'; src: url('cityblueprint.eot'); src: url('cityblueprint.svg#cityblueprint') format('svg'), url('cityblueprint.eot?#iefix') format('embedded-opentype'), url('cityblueprint.woff') format('woff'), url('cityblueprint.ttf') format('truetype'); font-weight: normal; font-style: normal; }

Accurate width of element when using font-face in Chromium

妖精的绣舞 提交于 2019-12-25 00:37:44
问题 Hi random Stackoverflow visitor- Thanks for reading my question! Here is a minimal page that demonstrates my problem: http://lisperati.com/text_bug/text_bug.html If you visit that page with Chrome/Chromium it will calculate the width of a div containing text, both immediately and after 1 second. On my machines I get two very different answers as to the width. Any chance you know the reason for why these two width calculations give different results? My uneducated guess is that there is some

Icon font (@font-face) not rendering on localhost

孤街醉人 提交于 2019-12-24 13:32:13
问题 I have the font-awesome icon-font working on my locahost as well as my mysite.com which are both nginx servers. Strangely, when I tried to implement a similar icon font set from Glyphicons the icons only render on mysite.com but not on my localhost. Here's what the icons look like normally vs. how they look on my localhost: normal: busted: The problem is that the font-family: 'Glyphicons' attribute is not being recognized on my localhost because simply commenting out the font CSS property on

CSS font-face does not work

ⅰ亾dé卋堺 提交于 2019-12-24 10:39:56
问题 I am trying to add a custom font to my website. I have tried lots of things but didn't succeed. Here is my css code: @font-face { font-family: myFirstFont; src: url('ellis.ttf'); } body { margin: 0; padding: 0; width: 100%; cursor: default; font-size: 11px; line-height: 1; font-family: myFirstFont,arial,san-serif; overflow:auto; background:#ecf6f7; } I know this is not a cross browser case, but I am trying to make work a simple case at first. 回答1: on both the font-family declarations add

Two font faces in grid.tables

与世无争的帅哥 提交于 2019-12-24 09:09:53
问题 I have created a grid.table object to display a dataframe in PowerBi, below there is my code: library(reshape) library(gridExtra) library(grid) mydf <- data.frame(id = c(1:5), value = c("A","B","C","D","E")) mytheme <- ttheme_default(base_size = 10, core=list(fg_params=list(hjust=0, x=0.01), bg_params=list(fill=c("white", "lightgrey")))) grid.table(mydf,cols = NULL, theme = mytheme, rows = NULL) and this is my output: I would like to style the font of the output so that only the first column

trouble with font-face in meteor based on Discover Meteor microscope app

余生长醉 提交于 2019-12-24 09:00:03
问题 I've gone through the Discover Meteor book and successfully created Microscope. Now I'm trying to build my own app based on what I've learned. I want to use @font-face for fonts and icon fonts. I can't get them to show up. Here's my directory structure: client/stylesheets I've got my fonts in the stylesheets folder. I'm using scss, by the way, and that's working fine with the scss package. Here's how I'm calling the fonts in the stylesheet: @font-face { font-family: 'AmaranthItalic'; src: url