summaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2002-10-17 02:59:30 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2002-10-17 02:59:30 +0000
commit8b55442b2e0893f3064e88c4372bd0ecf00ba830 (patch)
tree5d3df4894b9a1597d62735dbf4a7e8a11c511d73 /src/Screen.cc
parent8552ba2ac95cf489c404df0175d4eac9cf23c3a7 (diff)
use drop shadow height in the font height.
honour rc file config option for drop shadows with new shadow code
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index f691cf6e..70494cab 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -2757,7 +2757,8 @@ BFont *BScreen::readDatabaseFont(const string &rbasename,
BFont *b = new BFont(blackbox->getXDisplay(), this, family, i, bold,
- italic, dropShadow, offset, tint, resource.aa_fonts);
+ italic, dropShadow && resource.shadow_fonts, offset,
+ tint, resource.aa_fonts);
if (b->valid())
return b;
else