Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > justRead.app

Notices

Reply
 
Thread Tools Search this Thread
Old 05-20-2026, 12:38 PM   #31
petrjahoda
Addict
petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.
 
Posts: 375
Karma: 567890
Join Date: Dec 2025
Location: Czech Republic
Device: iphone, ipad
Aha, and that is right because the word is separate in the source itself. But now i understand the problem and will add some merging of those words for search
petrjahoda is offline   Reply With Quote
Old 05-20-2026, 02:19 PM   #32
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: 83,563
Karma: 153646251
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by petrjahoda View Post
Aha, and that is right because the word is separate in the source itself. But now i understand the problem and will add some merging of those words for search
And if you want drop caps and your eBook is ePub3 and you you want to be backwards compatible with ePub2, you need to use a span.

Last edited by JSWolf; 05-20-2026 at 02:56 PM.
JSWolf is offline   Reply With Quote
Advert
Old 05-20-2026, 02:50 PM   #33
petrjahoda
Addict
petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.
 
Posts: 375
Karma: 567890
Join Date: Dec 2025
Location: Czech Republic
Device: iphone, ipad
Yes, I understand it now, thank you very much for it, will look into it. Surely it has to have a solution.
petrjahoda is offline   Reply With Quote
Old 05-20-2026, 02:57 PM   #34
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: 83,563
Karma: 153646251
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by petrjahoda View Post
Yes, I understand it now, thank you very much for it, will look into it. Surely it has to have a solution.
My solution is to drop the drop cap. It never works properly anyway. Not with my choice of font and choice of line height.
JSWolf is offline   Reply With Quote
Old 05-20-2026, 02:58 PM   #35
petrjahoda
Addict
petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.
 
Posts: 375
Karma: 567890
Join Date: Dec 2025
Location: Czech Republic
Device: iphone, ipad
What would you do in my shoes?
Half the users say drop the drop cap, the other half say solve it.
petrjahoda is offline   Reply With Quote
Advert
Old 05-20-2026, 03:03 PM   #36
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: 83,563
Karma: 153646251
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by petrjahoda View Post
What would you do in my shoes?
Half the users say drop the drop cap, the other half say solve it.
I suppose if you want ot try to solve it, you should figure out that it's a drop cap and using the font and the line height, you can render the drop cop overriding the CSS. But you would need different algorithms for some different letters.

My opinion is to just drop it. In most cases it doesn't look good. It would take too much for you to solve it.
JSWolf is offline   Reply With Quote
Old 05-20-2026, 03:04 PM   #37
petrjahoda
Addict
petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.
 
Posts: 375
Karma: 567890
Join Date: Dec 2025
Location: Czech Republic
Device: iphone, ipad
OK, fair response, because I already tried to solve it for almost a whole day and I think I solved it.
petrjahoda is offline   Reply With Quote
Old 05-20-2026, 03:13 PM   #38
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 75,610
Karma: 320245568
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
I look forward to trying it. IMO there are several parts to the problem

(1) working out that a drop cap is being attempted
(2) working out the number of lines the drop cap is supposed to be over
(3) setting the size and position of the drop cap so that *for the fonts being used* the baseline of the drop cap is on the baseline of the nth line of text, and that position of the cap height of the drop cap is the same as the position of the the cap height of the first line of text.

I would not expect any drop cap algorithm to handle unusually large descenders (e.g. a swash Q), or make the text wrap to the shape of the drop cap (e.g. A)
pdurrant is online now   Reply With Quote
Old 05-20-2026, 03:17 PM   #39
petrjahoda
Addict
petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.
 
Posts: 375
Karma: 567890
Join Date: Dec 2025
Location: Czech Republic
Device: iphone, ipad
I ended up like this
- for any font, the drop cap is rendered in proper size and placed properly, meaning no more overlap to top, etc.
- the number of lines is set by the css of that element, so sometimes it is over 2 lines, sometimes over 3, etc.

Last edited by petrjahoda; 05-20-2026 at 03:33 PM.
petrjahoda is offline   Reply With Quote
Old 05-20-2026, 03:22 PM   #40
petrjahoda
Addict
petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.
 
Posts: 375
Karma: 567890
Join Date: Dec 2025
Location: Czech Republic
Device: iphone, ipad
And about that search. Can you please send me a file, where it is not working?
I just tried that Eye Spy and searched for multiple word, that are in dropcap and the search works ok.

Like this example, searching for Karse, that is in dropcap and the search returns it without problems.

Surely there has to be a problem with this search, when you are reporting it, but I am not able to find it in any epubs I have, so I would like to look at that problematic epub and that dropcap word, that cannot be found.

JSWolf, can you please send me a book with this problem? Maybe it will be around formatting?
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2026-05-20 at 21.20.11.png
Views:	15
Size:	339.4 KB
ID:	223439   Click image for larger version

Name:	Screenshot 2026-05-20 at 21.20.43.png
Views:	12
Size:	785.7 KB
ID:	223440  
petrjahoda is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop Caps cybergonsa KOReader 5 03-26-2026 06:38 AM
Drop Caps Help? RMOP ePub 31 05-20-2025 09:20 AM
Drop caps? jackm8 Amazon Kindle 5 02-07-2024 12:33 PM
Drop caps RandyK Conversion 2 05-18-2014 09:13 PM
Drop caps huebi ePub 8 03-04-2012 06:25 AM


All times are GMT -4. The time now is 11:53 AM.


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