Archive for February, 2009
-
Custom fonts in your webpage using Cufon (canvas and VML)
For years designers have wanted to use custom fonts in their web page designs, this however has been problematic. Until now there’s only really been one option - sIFR - which unfortunately requires the Flash plugin. It also comes with its own set of problems, aside of requiring the Flash plugin, too many sIFR objets on the page have been known to cause problems in the browser - not to mention how tricky it can be to set up. Now, however there is Cufon - from Simo Kinnunen.
The main aims behind Cufon were to avoid proprietary software in favour of the open standard <canvas> and VML. Essentially Cufon acts as a web interface to fontforge to create an a JavaScript version of your font. There’s also a neat little online genertaor that allows you to upload your own font and generate the required JavaScript.
It’s incredibly easy to use, once you’ve created your JavaScript version of your font simple reference it along with the Cufon js (making sure you load cufon first!) then apply it to the element you want rendered. The following will render the text in an <h1>:
<script type="text/javascript"> Cufon.replace('h1'); </script>For full instructions and downloads visit Cufon on Git Hub.
-
Steak with honey-glazed root vegetables
As I walked past the butchers this evening I first reveled in the fact that they were still open and then at the wonderful looking piece of ribeye steak (you can tell a good piece by the amount of ‘marbling‘, the fat is where the flavour comes from), I thought some root veg, glazed with honey and thyme - Nice! And not much fuss either.
Read full post -
Roast sirloin of beef
When it comes to a traditional joint of roast beef nothing beats a good piece of sirloin. It is a little extravagent at £20 the kilo, but well worth it in my opinion! For this roast you’ll need a joint of at least 1.5 kilos to cook properly - this should be easily enough for 4 or 5 people. Read full post
-
Yorkshire pudding
This is a recipe that I have adapted from Jane Grigson’s English Food - I can’t recommend this book highly enough as a wonderful celebration of English cooking. It is true that, as a nation, we did once have something to shout about when it came to food.
-
And for my next trick
You got it, another design. Well, design is one word for it - in fact what I’ve done is thrown yet another design away and stripped everything right back to a bare-bone/wireframe approach, having at least sussed the theme out. Now to customise my new theme and at some point both add the makeup and the content!
