Archive for December, 2008
I think I made a mistake by not researching for FontSwap too much..
apparantly an application with the same name and purpose used to exist for the 1.x firmware.. I’m surprised how I could’ve missed that.. it used to be a TouchRepo
it’s needless to say that this app is totally unrelated to the older one except for the functioning..
now.. for those of you who’re having issues with the default system font being a few pixels too high..
copy [do *not* move] Helvetica.ttf and HelveticaBold.ttf
and reapply the default system font using FontSwap..
for those of you who’re worrying about why the Phone app doesn’t launch after applying Dialer font.. I don’t know.. the font change does take place. the Phone app is terminated and started again but it starts in the background.. the selected font will be available next time you start the app from the springboard.. will look for a fix for this..
I’m just trying to stress that this is a beta release and many issues will be ironed out with an update as soon as I get time to work.
here’s an icon for the FontSwap app, couldn’t do a proper icon in time for release but here it is now.. will be added with the next update for those who are okay with the current icon..
FontSwap Package format:
1. Package must be a folder with the name FontName.font
FontName is the custom font’s name that you’ve ported. .font at the end is essential.
2. Package must contain all fonts related to the category it belongs to.
Dialer Fonts: PhonepadTwo.ttf
LockClock Fonts: LockClock.ttf
Notes Fonts: MarkerFeltThin.ttf
System Fonts: Helvetica.ttf *and* HelveticaBold.ttf
3. Package must be placed in the correct folder in the packages directory
4. Fonts must be ported with correct metadata intact. Applying fonts with incorrect metadata will cause serious problems like app crashes or SWOD.
here’s how to port fonts http://blog.gauravgiri.com/2008/08/tutorial-port-fonts-to-iphone/
this issue will be resolved in future versions of FontSwap so that fonts with incorrect metadata will not be installed.
5. Package should contain an Info.plist file
this is not utilized in the beta release, but placing this file will help your package to be compatible with future releases of FontSwap
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Author</key> <string>Author Name</string> <key>FontName</key> <string>Custom Font Name</string> <key>FontCategory</key> <string>Category of Font</string> <key>Description</key> <string>Brief Description</string> <key>URL</key> <string>Author's Blog or Website</string> </dict> </plist>
6. Package should contain an image Preview.png with a preview of the custom font.
this too is not utilized in the beta release, but placing this file will help your package to be compatible with future releases of FontSwap.
Image dimensions must be 36px by 260px. It must show the Custom Font name in the font itself. Text size must be 24px. Text color must be black [#000000].
I know these are some strict rules but they will ensure that packages are uniform in appearance and easy on the eyes of the end-users.
FontSwap 1.0b was made available on Cydia earlier today. you’re all welcome to test the software and report bugs or feature requests if any..
the application is accompanied by a starter font pack that is a dependency and should install on it’s own..
i’ve tried installing the app myself and it works alright.. those of you who had problems, please try to reinstall it..
please put all criticism and suggestions in the comments..
you may also consider donating if you find this application useful..
HOW TO ADD MORE FONTS:
read this tutorial
this application *does not* cause endless reboots. if you think you’re iPhone is rebooting endlessly, it’s most definitely having a SWOD [spinning wheel of death].
if that happens or if your springboard crashes or if applications fail to start then you must restore to iPhone’s stock fonts before trying to restoring the iPhone itself [which will not be required in any case].
for this you must be able to login into the device over SSH. you may not see the SpringBoard, just the endlessly spinning wheel or the boot logo, but if you left WiFi and SSH on, you’re not in trouble and can still connect to the device.
to restore default fonts you need to run this command as root from a terminal over SSH
PS: if you got the “unmet dependencies” error.. try reinstalling now. i couldn’t see the “FontSwap Starter” package in the available list but it installs along with the app. it’s basically a pack of all the custom fonts i’ve released on this blog to get you started with the app.. more packages can be added to the app and i’ll detail the expected package format shortly. as i haven’t built any security checks in the app yet [for absolute lack of time] i suggest you carry on with the started pack or only add fonts that you trust.
I finally found the time to update my iPhone to the latest fw.. i haven’t yet been able to explore the new features but the device sure runs a lot quicker, though i’m sure that’s because all the apps have been wiped out.. man my iPhone got really slow as i had loads of apps installed, largest being the toolchain and all dev tools.. will try and keep the app count low this time..
as reported by many users the Neo Dialer theme was broken by the upgrade to 2.2
the fix has been sent to Allen of Planet-iPhones and should appear on Cydia soon.
for those who can’t wait..
1. navigate to /Library/Themes/Neo Dialer.theme/Folders/MobilePhone.app
2. remove all files EXCEPT
this was suggested by suifon in the shoutbox so thanks go out to him/her.
FontSwap is also coming.. soon..
EDIT: whoa.. looks like that didn’t quite fix the problem.. plus it made the theme look bad if you had any other theme on that played with the stock dialer.. two different themes changing few parts made it look bad.. so i fixed it for other images as well..
the update should come up in Cydia shortly..