Skip to content

Minimal set of render text changes - #1984

Closed
rich257 wants to merge 1 commit into
Motion-Project:masterfrom
rich257:master
Closed

rich257 wants to merge 1 commit into
Motion-Project:masterfrom
rich257:master

Conversation

@rich257

@rich257 rich257 commented Nov 6, 2026

Copy link
Copy Markdown

Include text rendering code, a set of fonts and minimal configuration changes.

At runtime fonts are expected to be in a fonts folder relative to the config_dir or use the HERSHEY_FONTS_DIR environment variable.

In order to create a minimal set of changes I have not compiled these changes on this fork!

@Mr-Dave

Mr-Dave commented Nov 6, 2026

Copy link
Copy Markdown
Member

I'll add the fonts files separately as they are cryptic.

@Mr-Dave

Mr-Dave commented Nov 10, 2026

Copy link
Copy Markdown
Member

I'm going to close this and go a different route. What I didn't know until I got this PR was that Hershey fonts don't do Mandarin or Hangul (which I wanted a new draw procedure to do) and that FFMPEG has the ability to implement this for installed true type fonts and easily manages various sizes, colors, FreeType flags, etc.

I've been able to prototype the FFMPEG implementation today so I'll be trying to fully implement it over the next week or so.

Please note that I do appreciate your work to create the PR. I just think that using the FFMPEG option with the FreeType backend will provide a better overall experience for users.

@Mr-Dave Mr-Dave closed this Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants