X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Frowpainter.C;h=3ef9a9a59f47de08694a11302474b21cee721488;hb=0071cd814002c9afee33753122ee5db1e9897c42;hp=84c281c6bac4a426b109cff4eb90b0029e8f0632;hpb=b4831be2192fc32645ddd46cc919ad223183b47f;p=lyx.git diff --git a/src/rowpainter.C b/src/rowpainter.C index 84c281c6ba..3ef9a9a59f 100644 --- a/src/rowpainter.C +++ b/src/rowpainter.C @@ -253,12 +253,8 @@ void RowPainter::paintHebrewComposeChar(pos_type & vpos, LyXFont const & font) if (isPrintableNonspace(c)) { int const width2 = text_.singleWidth(par_, i, c, text_.getFont(*bv_.buffer(), par_, i)); - // FIXME UNICODE - // This does not work anymore, and non-ascii - // characters in source files are forbidden - // anyway. - // dalet / resh - dx = (c == 'ø' || c == 'ã') + dx = (c == 0x05e8 || // resh + c == 0x05d3) // dalet ? width2 - width : (width2 - width) / 2; } @@ -267,7 +263,6 @@ void RowPainter::paintHebrewComposeChar(pos_type & vpos, LyXFont const & font) } // Draw nikud - // FIXME UNICODE pain_.text(int(x_) + dx, yo_, str, font); }