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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-16-2014, 04:54 PM   #76
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Jellby View Post
As far as I could see, the default font has no Hebrew or Arabic characters, my test was with embedded fonts. I will try your file, but I don't know if I can take a screenshot, and I have no camera at hand.
Doesn't the Kobo have some kind of keyboard combination or touch gesture that will take a screen capture of the currently displayed screen?
If the firmware of your model doesn't support the method described in this thread, just let me know whether the diacrictics are displayed exactly as in Sigil or Calibre.

Quote:
Originally Posted by Jellby View Post
ETA: By the way, I didn't use the "dir" attribute, I just relied on the Unicode bidi algorithm (Hebrew/Arabic characters are intrinsically rtl).
I'm well aware of the fact, that Hebrew and Arabic characters are intrinsically RTL, I just wanted to "dot my I's and cross my T's."
Doitsu is offline   Reply With Quote
Old 07-16-2014, 05:07 PM   #77
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,154
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Quote:
Originally Posted by Doitsu View Post
Doesn't the Kobo have some kind of keyboard combination or touch gesture that will take a screen capture of the currently displayed screen?
Unfortunately that function has been broken in recent f/w levels.
PeterT is offline   Reply With Quote
Advert
Old 07-17-2014, 12:23 AM   #78
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Doitsu View Post
Could you please take a screen capture of my Hebrew/Arabic test file with and without publisher fonts enabled?
I put it on my Kobo Glo and took the attached photo. The font is set to Gothic and the largest that would get all the text on one page. If I set the font to "Document default", the only differences are in how the English text is displayed.
Attached Thumbnails
Click image for larger version

Name:	RTL_Test-KoboGlo.jpg
Views:	514
Size:	663.6 KB
ID:	125471  

Last edited by davidfor; 07-17-2014 at 12:25 AM. Reason: I swear, I attached the photo the first time.
davidfor is offline   Reply With Quote
Old 07-17-2014, 01:36 AM   #79
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by davidfor View Post
I put it on my Kobo Glo and took the attached photo. The font is set to Gothic and the largest that would get all the text on one page. If I set the font to "Document default", the only differences are in how the English text is displayed.
Thanks for testing this! The Kobo does indeed display the Hebrew and Arabic texts RTL, but there are major display issues both with Hebrew and Arabic. Many Hebrew and Arabic letters partially overlap and there are gaps between some of the Arabic letters.
Doitsu is offline   Reply With Quote
Old 07-17-2014, 03:28 AM   #80
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
The problem seems to be diacritics/ligatures. The couple of Hebrew samples I've seen (without diacritics) looked fine, using Ezra SIL as well.
Jellby is offline   Reply With Quote
Advert
Old 07-17-2014, 04:24 AM   #81
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
In my Aura it looks exactly the same as davidfor's picture, except that the Hebrew diacritics don't overlap with the next line (maybe because I have applied the line-height patch). By reducing the font size, some things change, for instance, the first two letters (bet, resh) appear inverted (resh, bet), with a ~60% overlap between them.
Jellby is offline   Reply With Quote
Old 09-09-2014, 02:49 PM   #82
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
I don't recall seeing this reported. Apparently ADE doesn't like putting floats in the first line (even when there is only one line), unless the float is the first element in the block.

Code:
p span { float: right }

<p><span>TEST</span>A test paragraph with a float
as the first element. It is correctly floated, and appears
in the first line.</p>

<p>A<span>TEST</span> test paragraph with a float
not as the first element. It is correctly floated, but
moved to the second line.</p>
Jellby is offline   Reply With Quote
Old 09-09-2014, 03:02 PM   #83
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: 73,877
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
When reporting ADE bugs, please report which version of ADE this was founbd with as there are now three different versions.
JSWolf is offline   Reply With Quote
Old 09-09-2014, 03:03 PM   #84
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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
Quote:
Originally Posted by Jellby View Post
I don't recall seeing this reported. Apparently ADE doesn't like putting floats in the first line (even when there is only one line), unless the float is the first element in the block.

Code:
p span { float: right }

<p><span>TEST</span>A test paragraph with a float
as the first element. It is correctly floated, and appears
in the first line.</p>

<p>A<span>TEST</span> test paragraph with a float
not as the first element. It is correctly floated, but
moved to the second line.</p>
I think it could be argued that this is the correct behavior. I don't think this is defined in the spec but if the figure is after the first character then floating it left on the first line would change the order of the information by placing the figure visually ahead of the character. I think the behavior of floating it left after the first character is correct. Which readers do it differently?

Dale
DaleDe is offline   Reply With Quote
Old 09-09-2014, 03:47 PM   #85
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by JSWolf View Post
When reporting ADE bugs, please report which version of ADE this was founbd with as there are now three different versions.
This is 1.7, the only one I can try in linux. The same effect is seen here, which is ADE 2.0.67275 on Mac.

Quote:
Originally Posted by DaleDe View Post
I think it could be argued that this is the correct behavior. I don't think this is defined in the spec but if the figure is after the first character then floating it left on the first line would change the order of the information by placing the figure visually ahead of the character. I think the behavior of floating it left after the first character is correct. Which readers do it differently?
I should note that the same happens with left or right floats (and also that my example was with a right float).
I'm not now in the mood of decoding the spec (rule #8 seems to be broken, but maybe some of the other rules play a role here), but the sample at the end of the section does not behave like ADE. You are probably right in that this may not be against the spec, but it is an unexpected (and undesired) behaviour, I'd say. I haven't tried in readers yet, but firefox (and calibre) seem to behave differently.

Last edited by Jellby; 09-09-2014 at 03:51 PM.
Jellby is offline   Reply With Quote
Old 09-12-2014, 01:48 AM   #86
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by DaleDe View Post
I think it could be argued that this is the correct behavior. I don't think this is defined in the spec but if the figure is after the first character then floating it left on the first line would change the order of the information by placing the figure visually ahead of the character. I think the behavior of floating it left after the first character is correct. Which readers do it differently?
Hopefully all of them. The only situation where a float is allowed to move to a new line, AFAIK, is when you have too many of them to fit on a single line.

For sure, WebKit floats them both correctly (left or right) on the first line, so iBooks, Kindle (KF8), and most other non-ADE readers should float them correctly.

With that said, check your margins to ensure that you don't have a big top margin (which could push it down), and be sure to set that span to be a block element. Floating an inline element is nonsensical, and just about any random interpretation of such invalid CSS could probably be considered correct.
dgatwood is offline   Reply With Quote
Old 10-04-2014, 10:11 AM   #87
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
I think we already know that ADE likes breaking lines at element borders (<span>s, <em>s, etc.), even when there is no space. This is another sample of annoying results caused by this behaviour bug:

Code:
some text <a id="pg_123"/>and more text
When ADE thinks that it's OK to break the line between the <a> and "and", the first line ends with a visible space. It's as if there were an &nbsp; but worse (an &nbsp; doesn't stretch, this space does.

The workaround is simple:

Code:
some text <span id="pg_123"/>and</span> more text
but I'm afraid many published books already use the first code, and look broken.

PS. I've noticed this reading in my Kobo. I'm assuming this is an ADE bug, and not Kobo-only, but I didn't test, and I could be wrong.
Jellby is offline   Reply With Quote
Old 10-06-2014, 04:02 AM   #88
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by Toxaris View Post
Media queries are not supported in ePUB2, they are in ePub3. ADE does not work with ePUB3 yet.
I know I'm replying to a very old post, and I'm being somewhat pedantic here, but I think it's worth noting that CSS "at rules" were defined way back in the original CSS1 specification, and any spec-compliant CSS parser is required to ignore any syntactically valid rules that it does not understand. So if ADE chokes on media queries, it's still a spec compliance bug, even according to the EPUB 2 specification.

With that said, it's easy enough to work around such bugs by moving any rules that anger ADE into a separate CSS file.


Quote:
Originally Posted by luckyparrot View Post
I have found that ADE tolerates both '@media amzn-mobi' and '@media amzn-kf8' without ignoring the whole CSS file. Anything else (that I've tried) causes ADE to ignore the whole CSS file, even 'not amzn-mobi'. Has anyone had any success with any other media queries?
IIRC, it works for basic media queries, but chokes on more complex ones.
dgatwood is offline   Reply With Quote
Old 02-09-2015, 04:43 AM   #89
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
ADE 4 buggy?

I've problems with the following on ADE 4 which I do not have with the same document in ADE 2:
  • white-space:nowrap ignored.
  • negative margins ignored.
  • <span style="border-top-style:solid"> is applied to the text preceeding the span.
It beggars belief that these should be actual errors, but I've not been able to replicate the behaviour on other viewers.
SBT is offline   Reply With Quote
Old 02-10-2015, 01:24 PM   #90
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by SBT View Post
It beggars belief that these should be actual errors, but I've not been able to replicate the behaviour on other viewers.
AFAIK, most new ADE4 features only work with ePub3 files. I.e., you'll have to code your ePub file as an ePub3 file to take advantage of the new ADE4 features.

I've created a simple test file with Sigil 0.8.4, converted it with the optional Sigil ePub3 plugin and both nowrap and the solid border top styles seem to work with ADE4.
Attached Files
File Type: epub ADE4_Test_epub3.epub (2.9 KB, 432 views)
Doitsu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classic Some bugs in 1.3 rfog Barnes & Noble NOOK 23 06-21-2010 03:42 PM
What bugs you SameOldStory Reading Recommendations 28 05-24-2010 10:23 PM
Seriously thoughtful bugs GeoffC Lounge 5 11-21-2009 03:42 AM
How to report bugs in Adobe Digital Editions (ADE) pdurrant ePub 1 09-04-2009 12:03 PM
Bugs ? hannah Calibre 4 06-15-2009 06:51 AM


All times are GMT -4. The time now is 09:08 AM.


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