GNOME Bugzilla – Bug 122990
Ar, He: print preview/printing is mirrored
Last modified: 2005-06-07 09:19:33 UTC
Type-in some arabic/hebrew characters in gedit using XKB and try 'print preview option'. Screen is full of boxes. Ar: Print preview, printing: character order is mirrored to the original written in Gedit; Unable to find suitable font to display arabic characters correctly. There is only a font, that is able to display separated arabic characters without binding ("FZSongTi", "FZHeiTi") or a font, that displays characters with binding, but isn't able to display all characters ("FreeSans"). Print preview/printing doesn't work using the same font as for displaying text in gedit ("Beakmuk Gulim"). He: Print preview, printing: character order is mirrored to the original written in Gedit; There are more suitable fonts for printing Hebrew, e.g. FreeSerif (Hebrew font displays characters correctly, but mirrored. Arabic font does not bind the characters).
The changes being committed for bug 143874 will greatly improve the situation. One thing that still won't be addressed with that is the automatic determination of paragraph direction as done by GtkTextView -- this needs to be implemented separately in gtksourceview's printing code. (Probably 30 minutes of work or so)
Closing, since with stock GNOME 2.10 I could print mixed Persian and English text, with automatic paragraph direction working and all.
I opened bug 306749 for the small issue remaining that Owen mentioned.