CreativeLyons / NukeSurvivalToolkit_publicRelease

public version of the nuke survival toolkit
MIT License
219 stars 45 forks source link

Gizmo not working on Linux because of Arial #33

Open HansBaldzuhn opened 11 months ago

HansBaldzuhn commented 11 months ago

On linux, the Arial font is not available and thus some gizmo are creating errors.

2023-10-11 17:29:42:  0: STDOUT: [17:29.42] ERROR: UV_Mapper1.Text1.font: Font (Arial.ttf:0) not available.
2023-10-11 17:30:47:  0: STDOUT: [17:30.47] ERROR: UV_Mapper2.Text1.font: Font (Arial.ttf:0) not available.
2023-10-11 17:30:49:  0: STDOUT: UV_Mapper1.Text1.font: Font (Arial.ttf:0) not available.
2023-10-11 17:30:49:  0: STDOUT: UV_Mapper2.Text1.font: Font (Arial.ttf:0) not available.

https://github.com/CreativeLyons/NukeSurvivalToolkit_publicRelease/blob/8abaa82ffa44c9e3e9f53b88d8978243637a28b1/NukeSurvivalToolkit/gizmos/NST_UV_Mapper.gizmo#L448

See this research on the repo for Arial words https://github.com/search?q=repo%3ACreativeLyons%2FNukeSurvivalToolkit_publicRelease%20Arial&type=code

Removing all mention of font would fix the probleme because nuke will use the one by default

brettmaker commented 10 months ago

Ran into the same issue after creating the LabelFromRead node in Nuke on Linux

rfletchr commented 8 months ago

I'd recommend installing Arial. Cross platform font defaults are a kettle of fish.

https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm