View Single Post
Old 01-17-2012, 05:37 PM   #35
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Morkl - great work! I installed this last night but didn't have a chance to play with it until my train ride this morning. I've also installed your homescreen mod, and that in combination with the reader mod works really well. I'll echo the comments of others here about what a great job you've done in a short amount of time. Some extra karma coming your way.

Now, I'm eagerly awaiting the user css next .

Could this be done as simply as replacing one of the existing font-face directives in the smali code? For example, replace

@font-face{ font-family: %s; font-style:normal; font-weight:normal; src: url(%s);}

with

@font-face{ font-family: %s; font-style:normal; font-weight:normal; src: url(%s);}
@import url(res:///ebook/fonts/../../mnt/sdcard/css/my.css);

I've previously determined that referencing a CSS that doesn't exist doesn't cause problems. If that works, then (hopefully!) it can be made an option but this (should!) be a simple way of verifying that it's that simple to deal with.

Quote:
Originally Posted by JSWolf View Post
This new mod works quite well overall. I did find one bug. When using the fonts.xml file to add/change what fonts are available via Sony's menu, after I select one of my installed fonts, the name displayed as to what font it is is a different name. The last font in the list gave me a title of Verdana.
I noticed this too this morning. That looks like the list in the "selected font" box is using the original hard-coded Sony list. Hopefully it's as simple as Morkl overriding the Sony font list in one more place.

Cheers,
Simon.
snarkophilus is offline   Reply With Quote