AdminBug reports 23Suggestions 4Exploits 0
Redone at your request: the word is now edited INTO the art instead of being painted over at draw time - the same way the Cash Shop's NexonID and NX labels were done.
It also fixes a real defect, not just the method. The old version blanked the caption with a flat #BBCCDD rectangle, but that plate is not flat - it is a dithered gradient (#BBCCDD 187px, #AABBCC 62, #99BBCC 19, #CCCCDD 17, #BBDDDD 14 across the caption band, which is what 4-bit-per-channel quantisation of a smooth gradient looks like). A solid fill over that leaves a smooth rectangle sitting in speckled surroundings.
The edit is a 1-bit stencil and every pixel comes out of that same PNG - nothing drawn, no colour invented:
- E, S and O are lifted from the word being replaced and moved 2px left (V is 5px where M is 7px).
- The V is lifted from the MOVE UP cell's own V. Same bitmap font, proved not assumed: the M and E of MESO are bit-for-bit identical to the M and E of MOVE.
- Left-aligned at x48, which is where the MAG line below starts, so the two lines still line up.
- Only cells the old word inked and the new one does not are filled, each from its nearest neighbour, so the background continues instead of being flattened.
A re-measurement caught a mistake of mine on the way, now fixed: my first attempt shifted the whole strip, which dragged a pet-silhouette watermark crossing this cell 2px sideways and kinked it for those five rows. The stencil never moves the background. 62 pixels change, all inside the caption box.
Commits 5ccc1349 then 7c1a4839 on develop.
Retest note: the window texture is cached for the page lifetime, so it needs a full page reload - reopening the equipment window will not re-fetch it.