Skip to content

Instantly share code, notes, and snippets.

@tylerhowarth
Last active June 11, 2021 08:13
Show Gist options
  • Save tylerhowarth/7120908 to your computer and use it in GitHub Desktop.
Save tylerhowarth/7120908 to your computer and use it in GitHub Desktop.
Cloud.typography fonts on Amazon S3. Using Hoefler + Frere-Jones Fonts in Production Mode on AWS

Fix Cloud.Typography Fonts in Production mode on Amazon S3

I recently switched a project from Development to Production Mode on cloud.typography, uploaded the files to S3, and none of the fonts were rendering completely.

It seems that Amazon's web uploader doesn't assign the correct MIME types for .eot files.

Make sure that the Content-Type for your .eot files is 'application/vnd.ms-fontobject'

Your .css files should have a Content-Type of 'text/css'

If you are uploading with Transmit, you should set these as your default upload headers.

transmit-css

transmit-eot

@realph
Copy link

realph commented Feb 19, 2016

@tylerhowarth How did you give typography.com access. I keep running into this error:

Your webserver responded with “Error 403 (Access Denied),” which often means that it’s been configured to restrict public access to https://blah.com

Is there a way to set permissions on that folder that unzips from typography.com?

@mclngl
Copy link

mclngl commented Jun 11, 2021

@tylerhowarth How did you give typography.com access. I keep running into this error:

Your webserver responded with “Error 403 (Access Denied),” which often means that it’s been configured to restrict public access to https://blah.com

Is there a way to set permissions on that folder that unzips from typography.com?

Have you managed to solve this ? I'm currently facing this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment