maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Nokia N9 email font size change (https://talk.maemo.org/showthread.php?t=86865)

polandspring 2012-09-16 20:04

Nokia N9 email font size change
 
This annoyed me since getting an N9.. tried to change CSS everywhere but with no avail, so here is something - hope it helps others!

1/ Enable all developer privileges so you can SSH into your phone and get a devel-su shell
2/ Copy the file /usr/lib/fenixplugin/libfenixmeegotouch.so to your PC
3/ Open up the file in a hex editor
4/ Locate the text snippet and change as follows:

Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><style type="text/css">body, p, li { font-family: NokiaPureTextLight; }</style></head><body>%1</body></html>
What we will do is change this to another string which EXACTLY matches the size of the previous string. This is done by trimming the first line of the HTML (the <!doctype .. crap). So our new string is:

Code:

<html><head><style type="text/css">body, p, li { font-family: NokiaPureTextLight; font-size: 12px; }</style></head><body>%1</body></html><!-- padding...                                                          -->
Of course you could change any other part of the style you want too..

5/ Copy the file back to your phone, then move to /usr/lib/fenixplugin/libfenixmeegotouch.so (take a backup of the original!)

6/ Locate fenix processes and kill them (ps -axwf | grep -i fenix and then kill <pid>) .. fenix should come back straight away but with a new PID

7/ Your changes should now have taken effect


Enjoy!


All times are GMT. The time now is 14:08.

vBulletin® Version 3.8.8