jbarker.com / blog

Icon

Speaking at ebay Tech Talk, Berlin

See me cover Cloud & DevOps in the small. Join the ebay Tech Talk on August 21 in Berlin.

You can review my slides on SlideShare and the related code & documentation on GitHub.

ebay logo

Classic Books on Software Projects

All ready to review four classic books for software development projects during some flights this weekend.

Four Classic Books on Software Development

Four Classic Books on Software Development

Olympia, an Old German Radio (photo)

Berlin, Germany – April 2012. An old German radio named Olympia. Sat next to this retro gem at a tiny neighborhood cake shop on a lazy Sunday. Photographer: Jay Barker, Resolution: 2048 × 1536 (QXGA), License: CC BY-NC-ND.

Old German Radio, Olympia

Old German Radio, Olympia

Achensee, Austria: Lake/Mountain Mirror (photo)

Achensee, Austria – March 2012. In the foreground, the lake covered half with ice. In the background, a snowy mountain framed with the glow of the setting sun. Photographer: Jay Barker, Resolution: 1536 × 2048 (QXGA), License: CC BY-NC-ND.

Achensee, Austria: Lake/Mountain Mirror

Achensee, Austria: Lake/Mountain Mirror

“Resource interpreted as Font but transferred with MIME type …”

Have you seen a warning like this in your web browser console?

Resource interpreted as Font but transferred with MIME type ...

Google Chrome web browser

Some browsers, like Google Chrome, will show this warning when a font is downloaded from a web server that sets an unexpected MIME type for fonts.

For many font types, there is a solution!

Read the rest of this entry »

Web Fonts: No MIME Types, No Problem

In a previous post, Correct MIME Type for CSS Web Fonts, I discussed the lack of official, standards-based MIME types for various web fonts.

In the 18 months since then, the state of MIME types for web fonts largely remains the same:

Because there are no defined MIME types for TrueType, OpenType, and WOFF fonts, the MIME type of the file specified is not considered.
@font-face, Mozilla Developer Network

Web Browser Logos

Read the rest of this entry »

What is apple-touch-icon.png?

apple-touch-icon.png from apple.comThe use of apple-touch-icon.png as defined by Apple is on the rise. This file is a small, square image that is primarily intended for bookmarking a web site on a mobile device.

The icon is used by the Apple iPhone OS and iPod touch software to add a web site shortcut to the Home screen. The benefit of creating an apple-touch-icon.png file is that the icon displayed for the site is defined by the web site owner rather than a thumbnail of the site content generated by the mobile device.

Read the rest of this entry »

Correct MIME Type for CSS Web Fonts

Support for CSS3 Fonts via @font-face is now available in Microsoft Internet Explorer, Mozilla Firefox, and Apple Safari, with support in Opera and Google Chrome due soon.

Web Browser Logos

With increasing support, more sites are being designed with web fonts. However, many web servers are not providing the correct MIME type for these files.

For the Apache web server, the following configuration in an .htaccess file will provide the correct MIME type for web fonts:

AddType application/vnd.ms-fontobject .eot
AddType application/octet-stream .otf .ttf

Read the rest of this entry »