Questions tagged [woff]

a cross-browser, web-only font format that uses gzip compression. IE9+, FF3.6+, Chrome 5+

153 questions
0
votes
1 answer

Nginx missing content-type for woff2

The problem, nginx missing content type for woff2 curl -s -I -X GET https://.../Montserrat-Medium.woff2 HTTP/1.1 200 OK Server: nginx Date: Wed, 10 Oct 2018 10:30:54 GMT Content-Length: 118676 Connection: keep-alive Keep-Alive:…
SiZE
  • 2,217
  • 1
  • 13
  • 24
0
votes
1 answer

Error Serving WOFF File in PHP - file_get_contents versus readfile

I am trying to serve a WOFF font file in PHP. First I set the Content-Type header: header("Content-Type: application/font-woff"); Then I try the following: This works fine (the file is properly served to the user, and the Content-Length header…
user3163495
  • 2,425
  • 2
  • 26
  • 43
0
votes
1 answer

How cache woff file with .htaccess

I try to cache a .woff?v=4.6.3 file with .htaccess but this code doesn't works: mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file .(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler…
0
votes
1 answer

How to load a woff2 font into IE with CSS?

I have IE11 on IE10 mode, and I want to load a css file. I have this @font-face { font-family: celestesansbold; src: url('celestesanscomp-bold-webfont.woff2'); } And then in the console I see this CSS3111: @font-face encountered unknown…
omega
  • 40,311
  • 81
  • 251
  • 474
0
votes
1 answer

permission to access piwik.woff, broken fonts in Piwik 3

I'm hosting Piwik on an Ubuntu server with the whole LAMP stack. After upgrading to Piwik 3 the font stopped working. I get this 403 error: You don't have permission to access /piwik/plugins/Morpheus/fonts/piwik.woff on this server. I found this…
the
  • 21,007
  • 11
  • 68
  • 101
0
votes
1 answer

Misbehaving woff file - one font loads, the other doesn't

I'm building a website that uses two purchased fonts, both .woff. One loads correctly, the other doesn't, and the console logs an error 'File not found'. A quick Google suggested this might be the solution: Why is @font-face throwing a 404 error on…
0
votes
2 answers

How to render woff fonts in PhantomJS 2.1+ or headless Chrome?

I'm using PhantomJS 2.1.1 on CentOS with the example script rasterize.js just to reproduce the screenshot problem, which is to take a screenshot of a simple web-font demo site: http://castellsonclaret.com/public/external/georgiapro/demo.htm It…
Drakes
  • 23,254
  • 3
  • 51
  • 94
0
votes
1 answer

Sitecore 8.1 MIMEType font .woff issue

We are using new fonts in application so I added following in MimeTypes.config file application/font-woff
Sukhjeevan
  • 3,074
  • 9
  • 46
  • 89
0
votes
1 answer

How to convert/encode fonts into base 64 format?

As there are several issues related to fonts so it is best to convert it keep it in base 64 format. Sometimes sites like fontsquirrel.com etc. are not able to convert your fonts in base64 format showing issues like fonts are blacklisted or other…
paraS elixiR
  • 1,866
  • 1
  • 18
  • 26
0
votes
2 answers

What is the encoding for OPT, TTF, EOT, and WOFF?

What is the encoding for OPT, TTF, EOT, and WOFF? I can't seem to find them. Is there a list of encodings mapped to file types?
Quinn Keaveney
  • 1,248
  • 1
  • 17
  • 39
0
votes
1 answer

embedding font into a html

Yeah, I know it's a question that is being asked and asked again. I prefere to think that I did my homework, but still none of my browsers isn't even pulling the font from a web server (according to logs). CSS: @font-face { font-family: "Open…
drookie
  • 179
  • 3
  • 11
0
votes
1 answer

Rails 3.2.18, Unable to get font-family

I created a fonts.css.scss file in fonts folder and given below format @font-face { font-family: 'amandaregular'; src: url(font-path('amanda-webfont.eot')); } it's generating with compiled fonts, but unable to load font-family @font-face { …
user5014864
0
votes
1 answer

PHP How to parse web fonts

I am trying to parse some webfonts like woff,ttf etc. Thats why i started working with this lib https://github.com/PhenX/php-font-lib But there is no usage example for example, how to parse some relevant information from a font.ttf file. This is an…
Creative crypter
  • 1,348
  • 6
  • 30
  • 67
0
votes
0 answers

what is the benifit of using woff font file

I saw example of a site which is using a separate font file (woff) and using the source code as
dead programmer
  • 4,223
  • 9
  • 46
  • 77
0
votes
0 answers

Chrome dev tools network tab and base64 inlined fonts lag

For a site I'm building, I'm trying to get the absolute best performance possible via some inline font / async JS loading in the head. In order to get around the extra http requests and delayed load required by Typekit font loading, I've opted to…
cchamberlain
  • 17,444
  • 7
  • 59
  • 72