How to make, that the text zooms when resizing the window. Word and Libreoffice has this feature

How to make, that the text zooms when resizing the window. Word and Libreoffice has this feature.

Help

I don’t think you can get automatic zoom when resizing a window. I have always found that zoom and resizing are two separate operations in Word and LibreOffice Writer too. Unless I missed a setting someplace?