No TTF font file bundled or documented for image text overlay #50
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
ImageGenerator.phprequires a TTF font file for text overlay on generated OG images, but:Fix
Either:
File
source/packages/plg_system_mokoog/src/Helper/ImageGenerator.phpBranch created:
feature/50-no-ttf-font-file-bundled-or-documented-fClosing —
ImageGenerator::generate()is never called anywhere in the codebase. The class exists but isn't wired into any workflow, so no TTF font is actually needed at runtime. The font path is a parameter togenerate(), so when/if a caller is added, the caller will need to provide the font. The generator already logs a clear warning if the font is missing (#49).