• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Serving Fonts from Rackspace Cloud Files CDN

By Abhishek Ghosh November 5, 2013 7:04 am Updated on November 5, 2013

Serving Fonts from Rackspace Cloud Files CDN

Advertisement

Serving Fonts from Rackspace Cloud Files CDN will require extra X Header else you can not serve Font-Face and the TTF, EOT, OTF and WOFF Files. Here is how. We will give reference to only two older articles, there nearly a thousand articles only on Cloud Computing, you can either search this website (easy way) using the site Search function or can check the official documentation (for the developers). You can try to offload these files to Rackspace Cloud Files – definitely it will not work.

 

Serving Fonts from Rackspace Cloud Files CDN : Basics

 

You can try serving Fonts from Rackspace Cloud Files CDN including Font-Face and the TTF, EOT, OTF and WOFF Files, it will not work. Two important articles (and the relevant articles linked within those articles) related to this topic are :

 

  1. How To Use Any Web Font From Own Hosted Library
  2. Serving Full HTML Website From Rackspace Cloud Files CDN

 

As one can assume, the basics of serving Fonts from Rackspace Cloud Files CDN remains in the article named Serving Full HTML Website From Rackspace Cloud Files.

Advertisement

---

 

Serving Fonts from Rackspace Cloud Files CDN : Let us Go

 

First, check the normal Header response from your server for serving each files. You can use any online Free tool to check the Header Response or use cURL on *nix (UNIX or GNU Linux) system with this command :

 

Vim
1
curl -i http://example.com/wp/wp-content/themes/my-theme/fonts/font.ttf

 

You can check the cURL manual :

 

Vim
1
http://unixhelp.ed.ac.uk/CGI/man-cgi?curl

 

Serving-Fonts-from-Rackspace-Cloud-Files-CDN

Windows users can follow this guide to install cURL or use any online tool. Now, if you check a image file’s header which is on Cloud Files, you will see that some of the headers are missing.

It is quite obvious, that if you add them manually from your Cloud Files account, you will able to get them served. For Apache server, we use this chunk of code to enable it :

 

Vim
1
2
3
4
5
# Apache config
<FilesMatch ".(eot|ttf|otf|woff)">;
Header set Access-Control-Allow-Origin "*"
#suppose you are ending here in the next line
</FilesMatch>

Basically this never required for servers. But for CDN, we need to add as the content awareness mechanism, which adds a header automatically does not work. Do not ask me how this thing is automatically done – this is part of managing OpenStack Swift’s content policy. What we have seen that, the content awareness works for most of the files (for OTF, for example it works fine), sometimes extra headers are required to be added. Try this to cURL :

 

Vim
1
curl -i http://36b4b398438807f45c08-d307e5ed4df0e6ab544a0970868e062f.r15.cf2.rackcdn.com/SyrCOMUrhoyBold.otf

But heading to the url itself via browser will prompt you to download the font.

Also, see this document :

Vim
1
http://developer.rackspace.com/blog/cloud-files-update-new-features.html

Tagged With NULL , how to add font pack to rackspace

This Article Has Been Shared 436 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Serving Fonts from Rackspace Cloud Files CDN

  • Cloud Hosting Options and Things You Need To Know

    Cloud Hosting options are becoming less costly and very popular because they offers the flexibility of increasing RAM, CPU, Bandwidth, Space like resources.

  • Cloud Computing XaaS : Approaches and Possibilities

    Cloud Computing XaaS is an approach towards everything to provide as a service to make available and consume like we use electricity.Read the important aspects.

  • Changing Scenario in US Based Cloud Computing : The Business Aspects

    Changing Scenario in US Based Cloud Computing Will Render the Telecommunication companies to could become the wholesale suppliers of cloud services in future.

  • Is Everything is Safe in the Cloud ?

    Is Everything is Safe in the Cloud ? We are representing here few popular systems and highlighting especially the security aspects of the Public Cloud services.

  • HTML5, WordPress and Cloud : What We Learnt From Redesign

    HTML5, WordPress and Cloud – with new redesign,not complete yet at the time of publishing this post we learnt important points with this old blog with 5K posts.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Ways To Make Sure Your Online Course Outshine Others July 3, 2022
  • Will Smart Factories Become the New Assembly Line? July 2, 2022
  • The Cost of Doing Business as a Handyman July 1, 2022
  • Samsung Galaxy S22 Ultra: Long Term Review June 30, 2022
  • How to Make the Most of Your S Pen (S22 Ultra) June 29, 2022

About This Article

Cite this article as: Abhishek Ghosh, "Serving Fonts from Rackspace Cloud Files CDN," in The Customize Windows, November 5, 2013, July 4, 2022, https://thecustomizewindows.com/2013/11/serving-fonts-from-rackspace-cloud-files-cdn/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy