Non embedded font “TimesNewRomanPS-ItalicMT”

We have documents which has non embedded font “TimesNewRomanPS-ItalicMT”.
We use Aspose pdf to validate such fonts.

In aspose.pdf.dll version 20.3 it is able to recognized, but in the latest version 21.3 non embedded fonts are not recognized.

Please find the attached screen shot

Aspose-NonEmbeded font.png (92.5 KB)

@sidcode

Can you please share the used sample code, source file, generated PDF files and desired output. We will be able to investigate that on our end on provision of requested information.

@mudassir.fayyaz

Code used to detect if font is embedded is as shown below

Page resource;

FontCollection fontcoll = resource.Resources.Fonts;
foreach (Aspose.Pdf.Text.Font font in fontcoll)
{

  if (font.IsEmbedded)
  {
      FontEmbedStatus = "Yes";
  }  
}

Sample file:
introduction.pdf (548.9 KB)

@sidcode

While using 21.11 version of the API and following code snippet, we noticed that the API was able to get information about the font in question:

Aspose.Pdf.Text.Font[] fonts = doc.FontUtilities.GetAllFonts();
foreach (Aspose.Pdf.Text.Font font in fonts)
{
 var embedded = font.IsEmbedded;
 var subset = font.IsSubset;
 Console.WriteLine(font.FontName + " embedded = " + embedded);
}

Output

TimesNewRomanPS-ItalicMT embedded = False
Arial,Bold embedded = True
Arial embedded = True
Arial,Italic embedded = True
TimesNewRoman embedded = True
Arial,Italic embedded = True
Arial,Italic embedded = True
Arial,Italic embedded = True
Arial,Italic embedded = True
Arial,Italic embedded = True
Arial embedded = True
Arial embedded = True
Arial,Bold embedded = True
Arial embedded = True
Arial embedded = True
Arial,Bold embedded = True
Arial,Bold embedded = True
Arial,Bold embedded = True
Arial,Bold embedded = True
Arial embedded = True
Arial embedded = True
Arial,Bold embedded = True
Arial embedded = True
Arial embedded = True
Arial embedded = True
Arial embedded = True
Arial,Bold embedded = True
TimesNewRoman,Bold embedded = True
Arial,Bold embedded = True
TimesNewRoman embedded = True
TimesNewRoman embedded = True
TimesNewRoman,Bold embedded = True
Arial,Bold embedded = True
TimesNewRoman embedded = True
Helvetica-Bold embedded = False
Helvetica embedded = False
ZapfDingbats embedded = False

Please try to use the latest version of the API and let us know in case you notice any issues.