David Slack - Web developer

Font replacement

In the '90s the only way to add in a cool font to a site was an image or use an eot for Internet Explorer. Then we had iFR to replace headings with a bit of Flash, great for Headings and maybe a few links, but never the whole site.

Over the last few years we have had the @fontface and techiclly, that means we can use any font on any website!

There are a few problems with the way a Mac renders fonts compared to PC and linux and (as usual) there are licencing issues but it looks like things are finally happening for fonts on the web.

This works wonders:

@font-face {

font-family:'AT Rotis Italic Serif';

src: url('/fonts/at-rotis-serif-italic.eot?#iefix') format('embedded-opentype'),

url('/fonts/at-rotis-serif-italic.woff') format('woff'),

url('/fonts/at-rotis-serif-italic.ttf') format('truetype'),

url('/at-rotis-serif-italic.svg#mrjonesbook') format('svg');

}

If you don't want to buy the licence you can use the a few libraries like these which are all great and I've used before:

There is a great resource for all the Font replacement techniques here

Latest content

There are lots of developers out there with varying degrees of experience and expertise, some mid level, some junior and some senior. Some...
First thoughts are Symfony is ace!Only been using Symfony for 1 project but the amount of coding it has saved has been worth the time spent...
The Lost and Found website was built by myself (David Slack) and designed by Arm & Eye.The site was created to promote a bar and...

Social networks

Contact me here or catch me on one of
the social networks below


What I'm listening to

My blog

Wednesday, 2 August, 2017 - 06:56
There are lots of developers out there with varying degrees of experience and expertise, some mid level, some junior and some senior. Some developers...
Tuesday, 5 March, 2013 - 09:49
First thoughts are Symfony is ace!Only been using Symfony for 1 project but the amount of coding it has saved has been worth the time spent learning...
Monday, 3 December, 2012 - 10:07
As a web developer and web designer I need to take into account everything on a site from SEO, marketing, usability across devices, the look and feel...

Try this on your mobile

Use your QR reader to read this

You should be able to use this right from the screen

Latest tweets

Calendar

M T W T F S S
1
 
2
 
3
 
4
 
5
 
6
 
7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
 
21
 
22
 
23
 
24
 
25
 
26
 
27
 
28
 
29
 
30
 
 
 
 
 
 

You are here

Back to top

Copyright David Slack - Web developer