ID 167870 - Font recognition is case sensitive so extension matching fails on uppercase open fonts such as .OFT

Follow

Problem summary

Nuke will not recognize Font files with an uppercase file extension e.g. .OFT or .TTF

Customer Reported Version
Nuke 9.0v7          

Cusotmer Reported Platform
Windows 7     

Steps to reproduce 

1. Save a font file with an upper case extension (e.g. .TTF) locally.

2. In Nuke go to the Font tab on the Project Settings and set the "project font path" to the location where you saved the font file and click on "Rescan font paths".

3. Add a Text node and check the font drop down, your font will be missing.

4. Rename the font file to have a lowercase extension and then in Nuke click on "Rescan font paths" in the Project Settings. The font will now be available on the Text node.


Reproduced by Support in:
Nuke 12.2v1 - Windows 10
Nuke 12.1v1 - Windows 10
Nuke 12.0v1 - Windows 10
Nuke 11.0v1 - Windows 10
Nuke 10.0v3 - Windows 10
Nuke 9.0v9 - Windows 10
Nuke 9.0v1 - Windows 10
Nuke 8.0v7 - Windows 10
Nuke 8.0v1 - Windows 10

Expected behaviour
Nuke should read in font files regardless of the case of the extension

Actual behaviour

Nuke's font machine only works with lowercase file extensions

    We're sorry to hear that

    Please tell us why