Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

The typeface used in Safari's "Reader" mode (on both iOS and OS X) seems to be some form of Palatino, which, while certainly not the worst screen face, isn't the best either. This used to be a limitation in iBooks as well, until the addition of excellent screen faces like Charter and Athelas.

Is there a way to change the typeface used by Safari's Reader mode?

share|improve this question

3 Answers 3

up vote 2 down vote accepted

I've never tried it, but apparently you can modify the file: Safari.app/Contents/Resources/Reader.html

From an Apple community support page:

Do a right-click on the application Safari and choose +Show Package Contents+. An new finder window will open. There is one folder in there named Contents. Contents includes several files and folders, navigate to see the content of the folder Resources until you find a file named Reader.html. This is the file you want to edit. Most probably you will not have the rights to do so. Depending on your choice of text editor, you are asked for a admin password when opening the file or when you try to save it. I use the nice TextWrangler from BareBones and it opens the file without asking (it will do so later in the process).

Now edit the CSS to your liking and save the file.

Open Safari and check out how it looks.

And one more thing: With the next update of Safari your changes in Reader.html will most likely be overwritten. So you might want to keep a version of Reader.html at another location outside the application package Safari to re-implement your changes.

As always, proceed with caution when modifying default applications and have backups of both any edited files as well as your important data.

share|improve this answer
    
Any ideas how one might do this for iOS? –  raxacoricofallapatorius May 1 '12 at 21:47
    
Probably no way of doing this - I'd look instead for other apps with similar functionality, like Instapaper. –  da4 May 2 '12 at 16:11

New new location of Reader.html is at

/System/Library/PrivateFrameworks/Safari.framework/Versions/A/Resources

if you're not sure, just use locate

share|improve this answer

You can also change the iOS Reader.html CSS on iPad, iPhone or iPod, confirmed working on iOS 8.1.2 iPad Air 2. Here's how:

You will need to Jailbreak your iOS device, and download a file system managing app called iFile. Then you'll have full Explorer/Finder functionality on your iOS device.

Next, navigate to the folder:

/var/stash/_.HVRQId/Applications/MobileSafari.app/Reader.html

This is the location on my iPad Air 2 with iOS 8.1.2, it may differ for you. If you upgrade to the paid version of iFile for $4, you can do a search system wide for the Reader.html file, which is what I did.

Open in Text Viewer, now just change the CSS as desired, anywhere you see the "font: -apple-system-*" declaration.

If you want to change the main body typography, add a font-family declaration to the .page tag. For example:

  .page {
        font: -apple-system-body;
        text-align: start;
        font-family: Georgia;

}

You can do the same thing to edit the page heading under the h1.title tag

h1.title {
        font: -apple-system-headline;
        font-weight: normal;
        text-align: start;
        -webkit-hyphens: manual;
        font-family: Georgia;
    }

Save Reader.html, reload the Safari webpage, and enjoy your new Reader font!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.