Aspose.PDF v22.8 was not FindFont("TimesNewRoman") in FontRepository

Hi,
I have a problem.I solved this font(“Times-Roman”) in FontRepository because TimesNewRoman font name changed.I founded this font but this solution not working every installed microsoft windows operation systems.I have a web application then I used them for add textFragment.

textFragment.TextState.Font = FontRepository.FindFont(“Times-Roman”);

My local machine : ( WORKING )
Edition : Windows 11 Enterprise
Version: 22H2
Other local machine : (WORKING)
Edition : Windows 10
Version: 21H2
My server machine : (NOT WORKING)
Windows server 2016

What is the reason for this, can you help?
Best Regards
Osman

@osmankoymen,

I am not an expert in Windows Server, but can you check the font is installed in C:\Users\Administrator\AppData\Local\Microsoft\Windows\Fonts??

Also, you can use this code to see the fonts properly installed:

var systemFonts = new InstalledFontCollection();

foreach (var family in systemFonts.Families)
{
    Console.WriteLine(family.Name);
}

Edit: Also, can you try using the latest API version?