08-20-2012, 11:15 PM | #121 | ||
Groupie
Posts: 171
Karma: 1706300
Join Date: Oct 2010
Device: iDevices
|
Quote:
Quote:
Did you guys ever figure out a way to add the @import line via Calibre? (I found Simon's query in the Calibre forum, but it didn't seem to have resulted in a solution.) I tried adding it to the "Look & Feel: Extra CSS" box, but it didn't seem to work. I'm not sure if I'm doing something wrong or if it's just not possible. (I am asking this for a friend with a T1 who likes the idea of custom fonts but is afraid to root or install Morkl's reader app. Thus the external stylesheet solution.) Thanks for any assistance! |
||
08-20-2012, 11:36 PM | #122 |
Wannabe Connoisseur
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
|
I'm afraid to say that since I've been using Morkl's reader app I haven't had the need to look at automating adding the @import through Calibre.
When you tried adding the @import to the "Extra CSS" box, did that actually CSS make it out to the epub? Cheers, Simon. |
08-20-2012, 11:56 PM | #123 |
Groupie
Posts: 171
Karma: 1706300
Join Date: Oct 2010
Device: iDevices
|
Nope. When I added the @import line to the Extra CSS box and ran the conversion, I couldn't find the @import line anywhere in the epub. Checked both the new css stylesheet and the html files.
Last edited by Jane12; 08-21-2012 at 09:42 AM. |
08-21-2012, 12:43 AM | #124 | |
Wannabe Connoisseur
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
|
Quote:
Code:
p.test { font-size: 1em; } I'm not at home, so can't try it. Cheers, Simon. |
|
08-21-2012, 01:54 AM | #125 |
Groupie
Posts: 171
Karma: 1706300
Join Date: Oct 2010
Device: iDevices
|
Thanks Simon. I tried adding plain CSS and it showed up in the css stylesheet. I added @font-face and it showed up in the page stylesheet. But when I add @import, it doesn't show up anywhere.
Perhaps it's not possible to do this with Calibre after all |
08-21-2012, 02:37 AM | #126 |
Wannabe Connoisseur
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
|
Digging a bit further the @import thing looks like a known problem that won't be fixed - see the "won't fix" status.
I'm not sure what other options you have, short of adding all the font-family stuff to the "Extra CSS" but then that locks you into a fixed font (unless you play funny games with renaming the font files on the device if you want to change font). Cheers, Simon. |
08-21-2012, 09:41 AM | #127 |
Groupie
Posts: 171
Karma: 1706300
Join Date: Oct 2010
Device: iDevices
|
Thanks much Simon! You've been very helpful. Now that I know it won't work (as opposed to user-error), I'll stop messing with Calibre.
best, jane |
09-12-2012, 08:28 PM | #128 |
Enthusiast
Posts: 29
Karma: 2910
Join Date: Aug 2012
Location: Montreal, Canada
Device: Sony PRS-T1
|
I'm having trouble activating custom CSS via the modified reader.
I went through the Wiki pages, and jackie's detailed post, but my T1 doesn't seem to find the referenced fonts. If I use the definitions below, the fonts in the drop-down selection all look the same! (Once I remove the styles section from reader.xml everything looks ok again.) The reader.xml itself seems to be interpreted fine, as the other settings are applied correctly (like the refresh frequency and the clock display), so I'm afraid I went wrong with the paths somewhere (but they all look ok to me...) reader.xml (in [reader drive]\reader) Spoiler:
default.css (in [reader drive]\reader\css) Spoiler:
Amasis.css (in [reader drive]\reader\css) (I didn't put any custom CSS in there yet, as I just wanted to get it working with the defaults.) Spoiler:
... plus the 5 other css files for the other fonts Last edited by Frescard; 09-13-2012 at 06:37 PM. |
09-12-2012, 10:29 PM | #129 | |
Wannabe Connoisseur
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
|
Quote:
If not, can you post something in that thread - that seems to be where most of the Morkl reader discussions are happening now. Cheers, Simon. |
|
09-12-2012, 10:39 PM | #130 | |
Grand Sorcerer
Posts: 6,206
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Did you actually view a real epub rather than just the font list? Another problem could be the epub you're using. Try a few others. In addition I've attached a sample test epub which I often use for font testing. Does this one work? |
|
09-12-2012, 11:20 PM | #131 | |
Enthusiast
Posts: 29
Karma: 2910
Join Date: Aug 2012
Location: Montreal, Canada
Device: Sony PRS-T1
|
Quote:
I guess I gave up too early, and thought that everything was lost, when the different styles didn't show up in the drop-down menu. But once I actually opened the text, the fonts did change; and any global or font-specific style attributes I defined in my CSSs are correctly applied. Thanks for that great detective work! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hacks how to return to the original font | lizayin | Amazon Kindle | 1 | 07-07-2011 07:25 PM |
Changing original font css in ePub | jlbfoot | Sony Reader | 4 | 12-28-2010 12:07 PM |
Troubleshooting Font size changing | Kumabjorn | Amazon Kindle | 1 | 07-23-2010 12:49 AM |
DR1000 Changing Font-Size | ThR | iRex | 6 | 06-21-2010 06:29 AM |
Book Conversion - Changing Original Texts | RWood | Sony Reader | 13 | 04-18-2007 01:28 PM |