Index: src/gfx.cpp
===================================================================
--- src/gfx.cpp (revision 26785)
+++ src/gfx.cpp (working copy)
@@ -435,7 +435,7 @@
int dpi_left = dpi->left;
int dpi_right = dpi->left + dpi->width - 1;
- draw_shadow = fc->GetDrawGlyphShadow() && colour != TC_BLACK;
+ draw_shadow = fc->GetDrawGlyphShadow() && (colour & TC_NO_SHADE) == 0 && colour != TC_BLACK;
for (int i = 0; i < run->GetGlyphCount(); i++) {
GlyphID glyph = run->GetGlyphs()[i];