* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
* \author Jean-Marc Lasgouttes
* \author Angus Leeming
- * \author André Pönitz
+ * \author André Pönitz
* \author Dekel Tsur
*
* Full author contact details are available in file CREDITS.
}
-ColorCode FontInfo::realColor() const
+Color FontInfo::realColor() const
{
+ if (paint_color_ != Color_none)
+ return paint_color_;
if (color_ == Color_none)
return Color_foreground;
return color_;