A script designed to make it easy to install and uninstall fonts on iOS devices.
Perl
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
VERSION
iosfont

README.md

iosfont v0.1.1

DEPRECATED: Use AnyFont instead.


iosfont is a script designed to make it easy to install and uninstall fonts on iOS devices. These fonts can then be used in iOS applications like Apple's Pages. It is my hope that making it easier to

WARNING!

Before messing with any system files on iOS you should fully back up your iOS device. No, seriously! By using this code you acknowledge that I will not be held responsible for you willfully ignoring my warning and losing files. I may instead laugh at you for trusting code you found on the Internet to work!

Installing fonts that iOS doesn't know what to do with may put your iOS device into a respring loop. So far that has not been a problem as SSH has remained available. To fix this simply run iosfont revert [hostname] and wait for your device to recover.

Dependencies

Installation

wget https://raw.github.com/nathanhammond/iosfont/master/iosfont
chmod +x iosfont
mv iosfont /usr/local/bin/

Usage

You should use the .local address assigned to your phone (via Netatalk) as the hostname.

iosfont backup [hostname] Saves the current iOS font config files in ~/.iosfont/

iosfont restore [hostname] Restores the default iOS font config files from ~/.iosfont/

iosfont revert [hostname] Reverts the the most recent install operation, copying iOS font config files from ~/.iosfont/

iosfont install [hostname] Roboto.ttf Install the font Roboto.ttf to your iPhone.

iosfont install [hostname] Roboto*.ttf Shell expansion/multiple arguments work.

iosfont uninstall [hostname] Roboto.ttf Remove the font Roboto.ttf from your iPhone.

iosfont update Updates the iosfont script.

iosfont version Returns the version of the iosfont script you are running.

Miscellaneous

Support development of this library!

The time I have spent working on this library is non-trivial. However, instead of asking for donations, it seems a good fit to have referral links to places where you can buy fonts. You can support my development of this library by using these referral links when you purchase fonts or webfont services:

MIT License

Copyright (c) 2012 Nathan Hammond

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.