From 8b55442b2e0893f3064e88c4372bd0ecf00ba830 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Thu, 17 Oct 2002 02:59:30 +0000 Subject: use drop shadow height in the font height. honour rc file config option for drop shadows with new shadow code --- src/Screen.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Screen.cc') 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 -- cgit v1.2.3