]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/QLPainter.C
document docstring abuse for symbol font code points
[features.git] / src / frontends / qt4 / QLPainter.C
index 4ac6a84c7065e6a88ed0c4bf6c939966665b86e9..df9b279a48a395a8559b69263a74e2933fa1378a 100644 (file)
@@ -211,6 +211,10 @@ int QLPainter::smallCapsText(int x, int y,
 int QLPainter::text(int x, int y, char_type const * s, size_t ls,
        LyXFont const & f)
 {
+       // Caution: The following ucs4_to_qstring conversion works for
+       // symbol fonts only because it is no real conversion but a simple
+       // cast in reality.
+
        QString str;
        ucs4_to_qstring(s, ls, str);