01-18-2013, 09:45 AM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: Nov 2011
Device: Cybook Odyssey
|
Text Rotation (Flip)
Hi All.
It's possible to rotate a text of 180 deg in ADE? I'm working on a paper-book that contain some text flipped, and want to digitalize it. Since I don't want to insert images of text in it and want to maintain the original layout, I try this one: -webkit-transform: rotate(-180deg) that works in Sigil: the text is displayed correctly flipped. Then saving and opening with ADE, the text is straight. Even on my device (cybook odyssey) is straight. Should I use a script? Does it works in ADE? Thanks |
01-18-2013, 10:13 AM | #2 |
Booklegger
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
Since ADE doesn't use the webkit software, I'm not too surprised that a webkit specific instruction doesn't work. I think you will have to create a mirror reversed version of the font and then embed the subset you need. That would work on all readers that allow embedded fonts.
-- N.B. I have no idea how hard that would be, even though it is computable |
01-18-2013, 10:23 AM | #3 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
You could try with SVG. I used SVG to rotate same text in Tom Sawyer (Chapter 5). It worked in ADE and in my reader.
|
01-18-2013, 10:31 AM | #4 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
If it's just a few words, I'd use an image file. Easy and portable.
|
01-18-2013, 10:44 AM | #5 |
Junior Member
Posts: 9
Karma: 10
Join Date: Nov 2011
Device: Cybook Odyssey
|
@ Jellby
I'm downloading the epub and I'll try to understand how to do (Until now, I did only few books and I don't know svg). For now, thanks a lot |
01-18-2013, 11:07 AM | #7 |
Junior Member
Posts: 9
Karma: 10
Join Date: Nov 2011
Device: Cybook Odyssey
|
the text is too long. You loose CAPS and other stuff that should remain. Trying svg but too complex, without a straight exemple of a 180 deg rotated text it's nearly impossible for me. Trying even in the book mentioned above by Jellby, but changing the value of -2.5 in "rotation" to a value of -180 simply make disappear the text.
|
01-18-2013, 11:40 AM | #9 | |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
You can try simpler samples: http://tutorials.jenkov.com/svg/text-element.html http://www.w3schools.com/svg/svg_text.asp But I'm afraid that would only work for short texts (one line), as SVG does no automatic linebreaking. |
|
01-18-2013, 11:54 AM | #10 |
Junior Member
Posts: 9
Karma: 10
Join Date: Nov 2011
Device: Cybook Odyssey
|
Thanks. What make me angry, is that with webkit instruction (simple, very simple ) it works perfectly in Sigil, that IS an epub editor. Why does not work in ade? Really confused... I'll add to the epub the images of text, without editing. Bother&pessimism...
|
01-18-2013, 12:24 PM | #11 | |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Even if it were, that webkit instruction is not required by the ePub spec, so you should not rely on it. In ePub 3 maybe you can use CSS3 properties for that, but don't hold your breath either. Anyway, Sigil is not doing anything wrong there, neither is ADE, you are just using a property that's out of the ePub spec, and each renderer may or may not support it, at its discretion. Just remember: Sigil is an ePub editor that lets you create valid ePub (2.0.1) files. It is not a reference ePub render, whatever it renders is only orientative, subject to webkit bugs and features, and other ePub viewers will have their own bugs and limitations too. |
|
01-18-2013, 12:55 PM | #12 |
Junior Member
Posts: 9
Karma: 10
Join Date: Nov 2011
Device: Cybook Odyssey
|
Thanks for the explanations and for the advices, Jellby. As I say, I will skip the problem by inserting the images of the text or, more likely, make a single line note "flipped in the original text" before the text. Thanks again for the assistance.
|
01-18-2013, 02:32 PM | #13 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
01-19-2013, 12:14 PM | #14 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Small inline images also zoom when the text size is changed in most rendering engines, although resolution doesn't improve
|
01-19-2013, 01:04 PM | #15 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Another possibility would be to simply embed a free upside down font. For example, Quirkus Upside Down, however, this would only be feasible for single letters because words would need to be mirrored, since very few ereaders support bidirectional control characters.
Besides, mirrored text would be rendered illegible if the user disables the use of embedded fonts. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can You Change E-Ink Rotation? | jilg | enTourage eDGe | 2 | 01-06-2013 12:03 AM |
Why Kindle 3 Always Keep One Status of Rotation? | JackLiu | Amazon Kindle | 17 | 09-23-2010 02:27 AM |
Stylus and screen rotation | fru.murphy | enTourage Archive | 11 | 07-28-2010 02:39 PM |
JetBook Lite screen rotation | valcho | Ectaco jetBook | 3 | 04-20-2010 09:58 PM |
Digital Flip: Flip your e-book like a paper book | Alexander Turcic | News | 4 | 12-07-2004 10:00 PM |