[EMAIL PROTECTED] (Lars Gullik Bjnes) wrote:

> With a lot of work that would be possible, but currently LyX is only
> able to write text left to right and top to bottom.

I don't think it is hard to implement right to left drawing, provided
that users have fonts with negative width characters.  XDrawString()
and XDrawString16() automagically draw strings from right to left if
characters in the strings have negtive widths.  So if paragraphs have
the direction property and we calculate the origin of paragraphs and
insets accordingly, the screen will look just fine.  The direction
hint of XFontStruct is not something to be trusted on, however.

Unfortunately all the arabic/hebrew fonts I have, bdf fonts in XFree86
version 4 distribution and two Unicode TrueType fonts, have only positive
width characters.

Regards,
        SMiyata

P.S.  We have to write an inline text inset.

Reply via email to