Hi, I need to get font features of a word like is font size of that particular word bigger than the normal size of whole pdf file and is this word bold or underlined etc.

Please anybody help me which library [Open source or paid] can provide solution to extract such font features of the word in pdf file.