> On 29 Oct 2018, at 09:53, Mark Roberts <[email protected]> wrote:
> 
> Maybe I'm not explaining this clearly. I open the PDF and use File > Convert 
> Notes...
> 
> There is a prompt which says PDF annotations will be converted to Skim notes.
> 
> It creates notes for the highlights, and populates them with the italicized 
> text but not the regular text — that's what looks kind of buggy to me.
> 
> If it's not a bug, is there another way or another application to do this? 
> 
> I.e., convert the text that has been highlighted into PDF annotations that 
> actually contain text.
> 
> I understand this is slightly complicated, because the app needs to check all 
> the bounding boxes of the highlights and find all of the text elements that 
> intersect them.
> 
> However, it seems like Skim does this when I create Skim notes, so I assume 
> the app has functionality for this.
> 

 
I don’t know what the text of your notes was, if any. If the notes had text, we 
just leave it at that. If it did not have text, we set the text to the text 
inside the bounding boxes of the highlight. The notes provide the bounding 
boxes, PDFKit gives us the text inside the bounding box. If the notes provide 
bounding boxes that are too narrow, not all text will be returned. Sometimes, 
PDFKit has problems getting text with certain fonts, that may also be dependent 
open how the text and font are encode in the PDF. Anyway, that is all outside 
our control, as is the bounding boxes we get from the note.

Christiaan

_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to