ID 303618 - OpenType fonts break when you change the global font size attribute to 12

Follow

Problem summary
OpenType fonts break on random global font sizes, most notably '12pt'. The vectors seem to get misaligned and the result is distorted text. This occurs on some OpenType fonts and not others (mainly serif)

Customer reported version
nuke.10.5v1

Customer reported platform
windows10

Steps to reproduce

1) Install the attached OpenType fonts (or any serif-based OpenType font)

2) Open up Nuke and go to the 'Project Settings>Font' tab

3)  Click on 'Rescan font paths' (This will load the recent fonts into Nuke)

4) Create a 'Text' node

5) Type in 'abc' (or any short text)

6) Change the 'font' to the OpenType font

7) Highlight the text in the 'message' text entry field and change the 'global font scale' to '12' and view results in viewer

9) With the text still highlighted in the 'message' text entry field, change the 'global font scale' to '11' and view results.
Result: global font scale of 12 distorts the text

Workaround
If you select the text and 'create group' and through the text nodes 'groups' tab scale using the 'scale' attribute, this will let you scale the font without shifting vectors, but may cause slight image degradation if using for large scaling changes. 

Our current workflow recommendation is get as close to the font as possible before it breaks using the 'global font size' attribute and manually use the 'scale' attribute in the text nodes 'groups' tab to make minor changes.

Reproduced by support
Nuke 11.0v1 - Windows 7 - MacOSX 10.12 - CentOS 6.9
Nuke 10.5v5 - Windows 7
Nuke 10.5v1 - Windows 7 - MacOSX 10.12 - CentOS 6.9
Nuke 10.0v6 - Windows 7
Nuke 10.0v1 - Windows 7
Nuke 9.0v9 - Windows 7 - MacOSX 10.12 - CentOS 6.9

Earliest version tested
'global font scale' setting did not exist before Nuke 9.0v9.

Expected behaviour
The OpenType font would retain its shape when scaling the font globally with 'global font scale'

Actual behaviour
The OpenType font vectors broken and distorted the text when scaling globally using the 'global font scale'

    We're sorry to hear that

    Please tell us why