08-11-2014, 12:31 PM | #16 | |
Member
Posts: 18
Karma: 10
Join Date: May 2014
Location: Italy
Device: kindle
|
Maybe solved
I finally solved.
In your example, font-size attributes are inside style attribute: Code:
<text style="text-anchor: middle; font-size: 20px; font-family: Futura" textLength="180" x="150" y="65">Some Author</text>
Quote:
Code:
<text style="text-anchor: middle; font-family: Futura" textLength="180" font-size="20" x="150" y="65">Some Author</text>
Uploading to kdp characters appear finally with the right size in the online preview. Last edited by zonker; 08-11-2014 at 03:09 PM. |
|
08-12-2014, 10:04 AM | #17 | |
Wizard
Posts: 1,539
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
|
|
Advert | |
|
08-12-2014, 10:18 AM | #18 | |
Member
Posts: 18
Karma: 10
Join Date: May 2014
Location: Italy
Device: kindle
|
Quote:
|
|
08-22-2014, 04:41 AM | #19 | ||
Curmudgeon
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
If any Kindle reader fails to handle something as simple as an inline style on an SVG tag, then it really can't be said to support SVG... or HTML, for that matter. That would be such a laughable omission of such basic HTML functionality that even non-programmers should feel justified at mocking their entire engineering team mercilessly if such a bug went uncorrected. So I'm pretty sure that these are not the droids you're looking for, and that if their online previewer is butchering the formatting in this way, it is simply doing something very wrong. With that said, it might be worth dropping a note to the KDP people asking for clarification on that. There's certainly no legitimate reason why CSS styles on SVG elements should be ignored, but if there are known bugs somewhere, it would be nice to know it so we can add it to the rather long list of known eBook reader CSS handling bugs that has been steadily growing over on the wiki site. BTW, with regards to the Kindle DX, the way you solve that is pretty straightforward. First, in your CSS, declare two media rules containing two styles apiece: Code:
@media amzn-mobi { .kf8only { display: none; } .mobionly { display: inline; } } @media amzn-kf8 { .kf8only { display: inline; } .mobionly { display: none; } } When you view the page on older, pre-KF8 Kindle readers, you'll get the simplified title page, which won't be as neatly formatted, but at least the information will be there. And when you view it on a newer, KF8-compatible reader, you'll get the nice SVG title page. |
||
08-22-2014, 04:56 AM | #20 | |
Member
Posts: 18
Karma: 10
Join Date: May 2014
Location: Italy
Device: kindle
|
Quote:
Then I don't know why amazon guidelines recommend that, I only know that on my kindle (5) it works only that way, otherwise texts appear very small. Last edited by zonker; 08-22-2014 at 05:06 AM. |
|
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epub on IPad: SVG-graphics don't show. | georg3200 | Apple Devices | 19 | 07-10-2013 02:41 PM |
Centering SVG graphics in iBooks? | FunkeXMix | ePub | 8 | 01-04-2013 09:21 PM |
Which is the best way to add SVG (vector graphics) to PDF files ? | DSpider | 0 | 04-01-2011 07:27 PM | |
Converting SVG graphics | navels | Sigil | 5 | 03-15-2011 09:58 PM |
Epub with full page graphics only zooming issue | JonDeus | Nook Color & Nook Tablet | 10 | 03-10-2011 02:33 PM |