On 03/25/2010 07:18 PM, Vincent van Ravesteijn - TNW wrote:
if you do, then i have no problems.
OK, then the problem is in LyX's metrics calculation (and not in Qt's).
Of course it is.
ParagraphMetrics::singleWidth has to call Paragraph::transformChar for arabic
characters. This is however not done if the language is not marked arabic. And,
well, we don't have a language set for the label of the button of Insets.
I suggest to ignore the language, but to use the encoding/unicode-range of the
character instead.
I suggested that strategy a while ago. You might want to read the mail
archives...
Abdel.