Medium icon indicating copy to clipboard operation
Medium copied to clipboard

Query on granularity in pdfretrieval

Open prasum opened this issue 1 year ago • 0 comments

Hi @LouisdeBruijn

Thanks for sharing an informative article on pdf retrieval using pymupdf. Had a query regarding the granularity flag. When it is true it adds other characteristics of text also to the styles dictionary. When getting the tags for headings and paragraphs the size property is taken into consideration. For considering other properties like color and bold characters, is the logic to be be updated for the font_tags function?

Thanks and Regards Sumeet Lalla

prasum avatar Jun 24 '23 04:06 prasum