How Can I Check if a Specific Font Exists in a PDF on the Web with UiPath?

Hello Community,

I’m working on a project where I need to determine whether a particular font is present in a PDF file hosted on the web. My goal is simply to verify the existence of this font in the document, rather than extracting its properties (like name, size, or style).

What I’m trying to achieve:

  • Use UiPath to access a PDF file located on a web URL.
  • Check whether a specific font is used anywhere in the PDF.
  • I’ve considered using the Check App State activity, but I’m not aware of any built-in feature that directly checks for a font’s presence.

What I’ve looked into so far:

  • I’ve reviewed threads regarding PDF processing, OCR, and Document Understanding. While there are discussions on extracting text (e.g., using OCR) and troubleshooting related issues, none cover detecting the presence of a specific font.
  • Standard PDF activities in UiPath typically focus on text extraction and may not support checking font availability out-of-the-box.
  • I’m open to using custom code or integrating with a third-party library if that offers a solution to just verify if a font exists in the PDF.

My questions:

  1. Has anyone achieved this—checking for a particular font’s presence—in a PDF using UiPath?
  2. What approach would you recommend? Would using custom code with a .NET PDF library be the best option?
  3. Are there any tips or workarounds to integrate this functionality into a UiPath workflow?

Any insights, experiences, or sample approaches you could share would be greatly appreciated. Thank you in advance for your help!

@Abdulrahman_Alfarraj

Generally when dealing with pdf the data in pdf is what is considered

Generally not the font..one way you can try is to use agents to know if the font is matching again the assumption is may be it can detect..but again event those depend on tone,words,text and data rather than on looks as the font is more related to look it might differ..

Or some object detection or image comparision needs to be used when you train with as many variations if letters you want

Cheers

Hi Anil,

What i am dealing is a Signature on a font, so thats why i want the RPA To spot the font, if its available, then test is correct, else: error.

So is there any other solution that UiPath can provide?

Cheers.

@Abdulrahman_Alfarraj

If you want the signature detection you can leverage models again or object detection as mentioned

Cheers

Many Thanks for your support, can we please get into a meeting since this is new to me ?

Thanks

@Abdulrahman_Alfarraj

I believe this would help\

cheers

Thank you,

i believe if we can do meeting to solve it, it will be better.

BR.