Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-05-2017, 08:14 AM   #4186
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 52,387
Karma: 47516399
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by gingerbeardman View Post
I've finished my "font size normalization" tool and it works perfectly. Not specifically PRS+ so I'll start another thread about it somewher more general.
Can you make your font size normalization tool a Calibre Editor plugin?
JSWolf is offline   Reply With Quote
Old 12-06-2017, 07:54 PM   #4187
gingerbeardman
Zealot
gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.
 
gingerbeardman's Avatar
 
Posts: 105
Karma: 1001000
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
Quote:
Originally Posted by JSWolf View Post
Can you make your font size normalization tool a Calibre Editor plugin?
Right now it is written in PHP and relies on a command line tool called font-line to access the font dimensions data. I should be able to convert into python and make a calibre plugin.

here's the code
https://gist.github.com/gingerbeardm...afee9829828ed1

i get the Ascender+Descender sum from the font metrics, and divide 1 by that number. This normalises the values to make the larger fonts smaller and vice versa. Then I just write that data into the CSS.

I'd have to look into how calibre handles ebook CSS to make sure my approach is general enough.

Last edited by gingerbeardman; 12-06-2017 at 08:01 PM.
gingerbeardman is offline   Reply With Quote
Advert
Old 08-06-2018, 02:46 PM   #4188
rem736
purpose priority passion
rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.
 
Posts: 501
Karma: 2380044
Join Date: Jan 2010
Location: socal, usa
Device: koa2 wifi, b&n ngp, sony dpt-s1
sorry to bring this thread back to life after 9 months of hibernation. recently, there is a project for the kindle that turns the reader into a "literary clock".
https://www.instructables.com/id/Lit...From-E-reader/
i was wondering if this can be done for the older sonys as well. i have a PRS-500 and 350 in the closet but would like to put it to use and this looks perfect.
rem736 is offline   Reply With Quote
Old 08-13-2018, 04:11 PM   #4189
gingerbeardman
Zealot
gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.
 
gingerbeardman's Avatar
 
Posts: 105
Karma: 1001000
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
Very cool!

Yes, it's possible. I'll have a go at it and will start a new thread when I have something to show @rem736
gingerbeardman is offline   Reply With Quote
Old 08-13-2018, 04:42 PM   #4190
rem736
purpose priority passion
rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.
 
Posts: 501
Karma: 2380044
Join Date: Jan 2010
Location: socal, usa
Device: koa2 wifi, b&n ngp, sony dpt-s1
Quote:
Originally Posted by gingerbeardman View Post
Very cool!

Yes, it's possible. I'll have a go at it and will start a new thread when I have something to show @rem736
looking forward to testing it out. thank you.
rem736 is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using HD Folders as Collections on Sony PRS-505 fglaysher Calibre 8 07-26-2010 09:55 PM
Enhanced Firmware for V3 keng2000 HanLin eBook 12 04-12-2010 09:30 AM
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 70 02-18-2009 06:34 PM
Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 23 12-08-2008 06:56 AM
Sub folders in firmware v1.08 Prince Hal Amazon Kindle 28 10-23-2008 03:20 PM


All times are GMT -4. The time now is 09:07 PM.


MobileRead.com is a privately owned, operated and funded community.