mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Adjust FIXME
This commit is contained in:
parent
07afd76b7c
commit
0c447db0ca
@ -352,10 +352,12 @@ int GuiPainter::text(int x, int y, docstring const & s,
|
|||||||
// same as that of a soft-hyphen (0x00ad), unless it
|
// same as that of a soft-hyphen (0x00ad), unless it
|
||||||
// occurs at a line-break. As a kludge, we force Qt to
|
// occurs at a line-break. As a kludge, we force Qt to
|
||||||
// render this glyph using a one-column line.
|
// render this glyph using a one-column line.
|
||||||
|
// This is needed for some math glyphs.
|
||||||
// FIXME In texted, this behaves differently depending
|
// FIXME In texted, this behaves differently depending
|
||||||
// on lyxrc.force_paint_single_char status.
|
// on lyxrc.force_paint_single_char status.
|
||||||
// Should the soft hyphen char be displayed at all?
|
// Should the soft hyphen char be displayed at all?
|
||||||
// I don't think so (i.e., Qt is correct here). /spitz
|
// I don't think so (i.e., Qt is correct as far as
|
||||||
|
// texted is concerned). /spitz
|
||||||
if (s.size() == 1 && str[0].unicode() == 0x00ad) {
|
if (s.size() == 1 && str[0].unicode() == 0x00ad) {
|
||||||
setQPainterPen(computeColor(f.realColor()));
|
setQPainterPen(computeColor(f.realColor()));
|
||||||
QTextLayout adsymbol(str);
|
QTextLayout adsymbol(str);
|
||||||
|
Loading…
Reference in New Issue
Block a user