emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic WYSIWYG printing in GNU Emacs (Arabic & Hebrew)


From: Anand Tamariya
Subject: Re: Basic WYSIWYG printing in GNU Emacs (Arabic & Hebrew)
Date: Wed, 11 Aug 2021 09:18:23 +0530



On Tue, Aug 10, 2021 at 5:31 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Anand Tamariya <atamariya@gmail.com>
> Date: Tue, 10 Aug 2021 11:11:26 +0530
>
> Here is my next iteration on basic WYSIWYG printing in GNU Emacs for printing RTL languages like Arabic
> and Hebrew.

Does it also start RTL text at the right edge of the paper?  And how
does it reorder characters for printing?

(Sorry for asking these questions, but I'm still unable to see
anything useful on the GitLab URL you show -- when I go there, I see
only the navigation tree on the left and an empty pane on the right.)

The code uses window positioning information for characters from Emacs and then scales the content to fit the print width.

It uses following API to determine BIDI classification and processes accordingly:
(get-char-code-property (char-after from) 'bidi-class)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]