Loading

Paste #pa5u1n4qp

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

Comments