Thanks for adding annotations. Adding inline notes to the document, there is some problem in setting the size. The yellow elements get huge even for small text. As they are opaque they cover text. Thus the should try to be small. However, sometimes they use twice the needed space. Reproducible: Always Steps to Reproduce: 1. open PDF 2. Add inline annotation F6 and then 2 3. Look at the annotation Actual Results: A box just the right size for the text Expected Results: The box is huge.
Created attachment 73428 [details] showing a too big box
I agree that it's a annoying bug and that it should be fixed. In the meantime, as a workaround, I suggest to make the annotation box initially as big as you think you are going to need (by keeping the left mouse button pressed and dragging the opposite vertex), but leave the initial text blank, so that it doesn't get resized. Then you can start to fill it using the yellow popup note (the one that opens when you doubleclick), which doesn't cause the annotation to be resized.
If this issue is still open I would like to work on this. As I am new kindly help me to start with it. I have the initial source code set-up.
What do you mean "help me to start with it"? What have you tried and what is your problem?
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
The padding arround inline text objects have obviously been adjusted in Okular, but unfortunately without testing how the adjustment works when viewing the result in other PDF readers, so now Typewriter and Inline note text objects created in Okular are frequently cropped when viewed in for example Acrobat reader. See: https://bugs.kde.org/show_bug.cgi?id=334210 The font used by Okular for Typewriter and Inline note annotations is substituted to another default font face when viewed in other readers. Obviously the Okular font face requires less space compared to the substituted font in other readers, such as Adobe Acrobat reader or pdf.online web-app. The result is that text boxes created around on-screen text annotations in Okular is to small for the text inside them when viewed in another viewer. A way to handle this better in Okular until custom fonts are supported by Poppler is to use a (much) more space consuming font face for annotations in Okular, or to increase the padding arround Typewriter and Inline note annotations in Okular. My testing suggest that today you need to set the font size in Okular to at least '12' (in contrast to default '9') in order to avoid cropping (for longer lines or multi-line annotations) when the font face used by Okular/Poppler is substituted to another default font face and font size in other PDF readers.