Problem summary
With the release of Nuke11.0v1 on Windows & Linux machines, Nuke no longer has the font
Helvetica available for user choice within its
note_font knob options.
Although this is the case, the font is still the default option within Nuke Labels.
In any pre-Nuke11.0 versions, users could enter the font options within a note_font knob and choose
Helvetica.
With the release of Nuke11.0,
Helvetica is no longer an available option.
Surprisingly, if the user manually enters
Helvetica into the
note_font knob of the node, the label will become available and will be chosen.
This problem also causes Nuke's Preferences
note_font node to have no chosen value, which makes it default to the users first font alphabetically listed on their workstation.
To display your default
note_font option, execute the following into the Script Editor: ( Execute in Nuke10.5v7 & Nuke11.0v1 to see the difference )
nuke.toNode('preferences').knob('LabelFont').value()
Customer reported version
nuke.10.0v5
Customer reported platform Steps to reproduce
1) Open Nuke,
2) Paste the following into the Node graph:
StickyNote { inputs 0 name StickyNote1 label "<align left>Font Test"}
This will create a StickyNote with HTML formatting, notice how the font looks weird.
3) Navigate to your the Script Editor and copy/paste/execute the following snippet:
nuke.toNode('preferences').knob('LabelFont').value()
The result should be ' ' in Nuke11.0v1 and above.
4) Navigate to
Edit -> Preferences -> Panels -> Node Graph
5) Click on the arrow icon, on the
LabelFont knob and look for
Helvetica The font should not exist within the options.
6) Within the note_font knob, type
Helvetica and press OK.
Result: The StickyNote will default back to
Helvetica. All nodes will be set to
Helvetica as default
Workaround Option 1
Follow the reproduction steps above to save your preferences with
Helvetica Option 2
Within your
.nuke/init.py file, add the following knob defaults:
# TP 353305 workaround - set default font to helvetica by defaultnuke.knobDefault( 'preferences.LabelFont', 'helvetica' )# This will set all nodes with 'note_font' knob default to helveticanuke.knobDefault( 'note_font', 'helvetica' )
This will set all node labels to use helvetica (or your choice of font) on startup.
This will not change nodes with specifically set label font.
Reproduced by support
This bug has been reproduced in:
Nuke11.1v4 - Windows 7
Nuke11.1v1 - Windows 7
Nuke11.0v4 - Windows 7
Nuke11.0v1 - Windows 7 - Regression
Unable to reproduce bug in:
Nuke11.1v4 - Mac10.13 ( Mac has Helvetica installed by default )
Nuke11.1v4 - CentOS6.9 ( CentOS6.9 uses its own unique font default )
Nuke10.5v7 - Windows 7 ( Helvetica is set by default within the preferences location )
Earliest version tested
- This issue no longer appears in this version and has regressed
Expected behaviour
Nuke should have a default label font option set.
The StickyNote Node should not behave differently if no default font is set.
Actual behaviour
No default font is selected, the StickyNote does weird behaviour.
Helvetica is no longer a label option available in Windows Nuke unless specifically entered as an option.