Created attachment 224233 [details] Screenshot with spindle artifact drawer.lua ignores the values in `loader_brand_x` and `loader_brand_y`. I have attached a patch that *fixes* it, but I would like to request, if possible, some reviewing. I have also attached a screenshot, taken with the patch applied, however there's the spindle? artifact hanging around, and being shifted by the offsetting of the brand (indicated by the red arrow). I don't know how to address this. This can be replicated by creating two files: /boot/loader.conf.d/bootloader.conf: loader_logo="none" loader_brand="nakatomi" loader_brand_x="15" /boot/lua/gfx-nakatomi.lua: return { brand = { image = "/boot/images/freebsd-logo-rev.png" } } Thank you!
Created attachment 224234 [details] WIP of the patch
Thank you for the bug report and patch Jose!
Created attachment 224378 [details] Fix brand positioning and hide twiddle This patch fixes the brand positioning, allowing it to be adjusted and also hides the "twiddle" (spinner, twiddler or whatever it is called).
Hi, Can you re-upload this patch in `git show`/`git format-patch` format, please? This includes authorship metadata and a proposed commit message- Thanks, Kyle Evans
Created attachment 224381 [details] Patch using git format-patch
(In reply to Kyle Evans from comment #4) For some reason it seems to have removed the last line of the file, this was unintended. This is the first time I submit using git format-patch. I'll investigate. Thank you.
(In reply to Jose Luis Duran from comment #6) Sorry, false alarm. The patch is OK. Thank you for reviewing it!
Created attachment 224383 [details] A more descriptive commit message
While this should be OK for now, there are a few minor things I discovered while testing. I will enumerate them here for reference, but I think they can be addressed separately: - [ ] Update drawer.lua.8 (use gfx-*) - [ ] Mention that the height of the brand is capped to 7 rows or - [ ] Implement `branddef.image_rl` - [ ] Test the forth implementation Thank you!