|
|
#31 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
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
|
|
|
|
|
|
#32 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83,731
Karma: 153649587
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
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. |
|
|
|
|
|
#33 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
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.
|
|
|
|
|
|
#34 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83,731
Karma: 153649587
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
|
|
#35 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
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. |
|
|
|
|
|
#36 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83,731
Karma: 153649587
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
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. |
|
|
|
|
|
|
#37 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
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.
|
|
|
|
|
|
#38 |
|
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,706
Karma: 320245586
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) |
|
|
|
|
|
#39 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
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. |
|
|
|
|
|
#40 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
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? |
|
|
|
|
|
#41 | ||
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 111
Karma: 100000
Join Date: Dec 2024
Device: Tolino Shine 5
|
Quote:
Quote:
First-letter and initial-letter work really well for me in epub3 –*unfortunately my reading device still doesn't support initial-letter. But it works fine in calibre viewer, apple books, thorium, sigil and ADE. I haven't been able to try it in justread, the app keeps crashing on my computer when I try to finish the initial setup. My chapter headings are h2, this is what I use: Code:
h2 + p::first-letter{
initial-letter: 2;
-webkit-initial-letter: 2;
margin-right: 0.3em;
}
|
||
|
|
|
|
|
#42 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
Karma: 567890
Join Date: Dec 2025
Location: Czech Republic
Device: iphone, ipad
|
Hi Falkor, the problem with search feature does not exist, the search feature works properly from the beginning.
What do you mean by that 'The app keeps crashing on my computer?' The app is for iOS and ipadOS, not a computer, it is not supposed to work on a computer and I even have it not allowed in the binary, looks like I have to look into this, because a proper macOS app is planned for summer. And now I understand, from where are those crashes coming :-). |
|
|
|
|
|
#43 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
Karma: 567890
Join Date: Dec 2025
Location: Czech Republic
Device: iphone, ipad
|
Found it, a separate checkbox for availability for macOS in the AppStore Connect.
As this app is not supposed to run on macOS, I disabled it now also in the AppStore Connect. Proper macOS app is planned for summer (with editing functionality). |
|
|
|
|
|
#44 | ||
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 111
Karma: 100000
Join Date: Dec 2024
Device: Tolino Shine 5
|
Quote:
Quote:
|
||
|
|
|
|
|
#45 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 401
Karma: 567890
Join Date: Dec 2025
Location: Czech Republic
Device: iphone, ipad
|
Just a quick sneak peek: for that macOS version, my inspiration is what https://www.panels.app did for comics: scroll down to see how it looks on macOS, that is what I want for epubs (with editing).
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 |