I have not looked at gedit source code, but if it is written with Qt as
many things are these days, the bug is in Qt.
https://bugreports.qt.io/browse/QTBUG-21279?jql=text%20~%20%22formfeed%22
I noticed the exact same behavior between gedit and a program I was
developing with Qt. You can load the same text file in Libre Office and
it will respect the formfeed character both in display and print.
--
Roland Hughes, President
Logikal Solutions
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com