Skip to content

feat: Adds a worker configuration script to install fonts on Linux SMF#170

Merged
joel-wong-aws merged 4 commits intoaws-deadline:mainlinefrom
jblagden:linux_font_installation
Feb 23, 2026
Merged

feat: Adds a worker configuration script to install fonts on Linux SMF#170
joel-wong-aws merged 4 commits intoaws-deadline:mainlinefrom
jblagden:linux_font_installation

Conversation

@jblagden
Copy link
Copy Markdown
Contributor

@jblagden jblagden commented Jan 6, 2026

What was the problem/requirement? (What/Why)

I needed to use fonts that aren't included on the service managed fleet image.

What was the solution? (How)

Download the font(s) from an S3 bucket and install them. This needs administrator powers, so I used a worker configuration script.

What is the impact of this change?

If you need a font on a Linux SMF you'll be able to use it. Assuming the font renders as expected, which isn't guaranteed.

How was this change tested?

Submitted a Nuke job that uses the font 'Arial' in and saw the text in the output image.

output

NukeTextTest.nk.zip

Was this change documented?

Yes, included a README.md.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Signed-off-by: Justin Blagden <jblagden@users.noreply.github.com>
@jblagden jblagden requested a review from a team as a code owner January 6, 2026 19:44
@github-actions github-actions Bot added the waiting-on-maintainers Waiting on the maintainers to review. label Jan 6, 2026
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be ListObjects?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't follow - would that be a smaller scope of permissions?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the host config script, I don't see a use for ListBuckets but the recursive copy looks like it will need ListObjects. Does this IAM policy have a typo?


This script installs fonts from an S3 bucket on AWS Deadline Cloud service managed fleet instances, making them available to applications like Nuke.

Be aware that fonts may render differently from operating system to operating system.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is Linux only right? If so, let's note that.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good catch!

Signed-off-by: Justin Blagden <jblagden@users.noreply.github.com>
…ng from S3 fails

Signed-off-by: Justin Blagden <jblagden@users.noreply.github.com>

# Install fontconfig (required for font management)
echo "Installing fontconfig..."
yum install -y fontconfig
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use dnf instead of yum? It's installed by default on Amazon Linux 2023 and is the standard package manager there with more features

@joel-wong-aws joel-wong-aws enabled auto-merge (squash) February 23, 2026 23:15
@joel-wong-aws joel-wong-aws merged commit b2d55e1 into aws-deadline:mainline Feb 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-on-maintainers Waiting on the maintainers to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants