Sort of depends on the font. To get around the lockscreen clock problem if it's not compatible, you pretty much have to use the stock one. This one is called rosemary. If you don't like it, remove the module. Flash via magisk manager.
Tried the Google Sans zip, it works, but it's not systemwide. Labels in QS, section names in settings, at glance widget are some different font.
Would be cool to have a module with Google Sans everywhere except for lockscreen clock to get rid of that square.
I'm very fond of Rosemary. Keep one of my pixel 2 XL is on Android 9 just to get the full effect. On 10 only halfway works even on my pixel 4 XL. So if I could find a rosemary font for the pixel 4 XL on Android 10 I'd be happy.