Replies: 3 comments 2 replies
-
unfortunately this is not possible at the moment, text markings are basically svg elements over the position(x,y) of the text |
Beta Was this translation helpful? Give feedback.
-
I managed to fix the error a little bit by updating the epubjs library, however, it does not work 100%, but it is much better than it was before. Unfortunately, I am a pedant, and this solution does not cover 100 percent of cases, so I abandoned my project |
Beta Was this translation helpful? Give feedback.
-
very good, thanks for the contribution @Uregek I will implement this in the next version if everything goes well |
Beta Was this translation helpful? Give feedback.
-
I started making my own small reader for personal use, I want to read with a friend and synchronize our annotations, but I ran into a problem that stopped me. When adding an annotation in the standard way presented in the example from the documentation, the colors with transparency overlap each other and in some places a different shade is obtained.
I roughly understand what this might be connected with.
tags are used there, and sometimes the same piece of text can be in nested
tags, for example: p>p>text. And the color fill extends to both elements, which is why the overlap occurs.
Is it possible to solve this problem? I can't move with this. I am attaching two screenshots. The first one is my overlay application. The second is an annotation in the standard "Book" application on the iPhone. I will be very happy for any answer please!
My app: it is all one annotate
![Screenshot 2024-07-17 at 1 48 09 AM](https://private-user-images.githubusercontent.com/80712443/349296801-f6a2389b-be26-496f-8a8b-0311dfc22b46.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NjI0ODksIm5iZiI6MTczOTY2MjE4OSwicGF0aCI6Ii84MDcxMjQ0My8zNDkyOTY4MDEtZjZhMjM4OWItYmUyNi00OTZmLThhOGItMDMxMWRmYzIyYjQ2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDIzMjk0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ3OTllMTYwMzU1Nzk0ZjI1YWQ4ZDljNzEwYWI0MGE5NzY0NWM5OTY4NTVjMzYzMzZhOGQ0MWQwMmJjNGZkMjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.dKeaTC2C9YAbhQZbghRfTWYfjYq3u46LIoIJLEPMrr8)
"Book" ios app:
![IMG_6906](https://private-user-images.githubusercontent.com/80712443/349296821-59367f62-ecb9-4a59-925a-1eb57e9a14a4.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NjI0ODksIm5iZiI6MTczOTY2MjE4OSwicGF0aCI6Ii84MDcxMjQ0My8zNDkyOTY4MjEtNTkzNjdmNjItZWNiOS00YTU5LTkyNWEtMWViNTdlOWExNGE0LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDIzMjk0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY2NGNjOGRhMmFmMGFmNWQ5NDlhNWE2YTkxZmYzMzY2NTUzNTFkMmM1NTZlOTJlNGRmMTQ1ODc4OTA1MjNjYzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.f1V_M8Mq8TQ4e1N8cv0N6PA5yfjFjyA_w55eWcuTfRU)
pice of code that i used in:
so it is from standard example
Beta Was this translation helpful? Give feedback.
All reactions