I stumbled into 2 Godot bugs that made impossible to get the desired effect. I've made pull requests fixing those, but are pending to merge: #18298 Text edit didn't work when scaling display. #18028 ...