Update: My messaging application has been crashing after I increased the font size, so I had to flash back in order to read some text messages I could not open. I recommend you proceed with caution… Other apps seem not affected.
I was having a great time with N9 but for one thing: the font sometimes became too small to read while walking, talking, or even just sitting down. I know I am not the only one having this problem, many of you have even directly complained to Nokia about the N9’s small fonts. To my knowledge (after browsing forums and blogs), there’s was no solution to increase the font size on the Nokia N9.
I came up with a method to increase the font size on the N9 with the help of @msameer (big thanks to him); the problem is that it is not straightforward because the way fonts are coded in the N9 is not straightforward: there’s no magic file that governs font sizes across the system. Well, there is, but changing that won’t change all the fonts on the N9. Basically what you have to do, and I’ll explain more in detail in a second, is browse the theme files on the N9 and separately edit font sizes on different files. Disclaimer: I am absolutely not responsible if you brick your N9, this worked for me and I am sharing it to use at your own risk. If you don’t know how to work with VIM (or don’t even know what is is), I don’t recommend you proceed.
The N9 has two themes that work together: base and blanco. Base has all the base files, and blanco seems like a theme created to override some files in base. The file that supposedly governs all the fonts in the N9 is called constants.ini and can be found in:
Changing fonts here should fix all the fonts, but it doesn’t. Only some fonts are changed… That’s why I had to edit separate files.
Blanco and base are in /usr/share/themes. All the theme files that need to be edited to change font size are in the meegotouch file inside blanco and base. For example, here are the base files on /usr/share/themes/base/meegotouch
Most of the files you see there contain a subfolder called /style and then a .css file inside. In order to edit a font size for a certain app, you need to edit that .css file. Let say you want to increase the font size in the mail application. So you go to mail/style/mail.css and edit mail.css. You will see there are font sizes in pixels, what I did is adding 6px to every font I found… and there you go, boot up the phone and the mail application has bigger text. The body of an email itself won’t have bigger text as it’s a separate html file, you can still pinch to zoom though. So there’s the basic idea behind it, now let me take you through a small tutorial on making the SMS thread fonts bigger:
1. Connect your N9 to a network and SSH to it, gain root access. (Steps 2,4, and 5)
2. type: cd /usr/share/themes/base/meegotouch. You can now type ls and see all the files. To edit the messaging threads, you need to go into libmessagingwidgets0. So type cd libmessagingwidgets0 now here’s the /style folder I was talking about earlier: cd style and finally edit the css file by hitting: vi libmessagingwidgets0.css.
3. Here’s when you better know what you are doing, vi is not easy to use the first time. But here’s a crash course: you are just in viewing mode right now, you need to hit a to start editing the file. When you are done editing the file, hit ESC and then :wq, that will first take you out of editing mode, and then saving the file and exiting. (To save the file just hit :w)
4. To change this particular font, you need to go to line 134 and change the font to any value you want. I did 30px. Then same thing on line 145, 208, and 230. That will change text inside the bubble, but what I did was changing every font 6px up. Thanks to msameer!
5. Now exit the file by saving: Esc and :wq
6. Reboot your phone and see it for yourself!
To increase the font size on the notifications view, you need to edit a file in /base/meegotouch/meegotouchhome/style/meegotouch.css around the lines in the 730’s. I don’t know exactly what file edits what font, but you can guess that the file mail.css inside mail/style/mail.css will have something to do with the mail app. I have updated many files and my N9 now has generally bigger font, but for the Twitter and Facebook app… If anyone finds the file to edit those fonts, please let me know!
I know is not what you expected, but it’s the only way I could figure it out. I still don’t know how to increase the font size on the Twitter or Facebook app, but will keep working on that. If you find a better way, voice it down in the comments!