LibreOffice Writer displaying ruler very weirdly (in cm)

Hello.

I recently got a laptop with a 4K resolution, and it has had tons of problems with programs displaying so small, due to high resolution and DPI. I don’t know if this problem is due to high resolution, but I have never seen this occurring to any other computers I’ve handled. Here’s how the ruler looks like on my new laptop: picture. And here’s how it should look like: picture link. As you can see, the difference between my Writer’s ruler and the other one I linked, is that my ruler has bunch of zeros written in top of each other on multiple layers.

I’m wondering what could cause this and is there a way to fix it?

Thanks for any help.