Here is my next iteration on basic WYSIWYG printing in GNU Emacs for printing RTL languages like Arabic and Hebrew.

Code: https://gitlab.com/atamariya/emacs/tree/dev

Screenshots: https://lifeofpenguin.blogspot.com/2021/06/basic-wysiwyg-printing-in-gnu-emacs.html