summaryrefslogtreecommitdiffstats
path: root/src/sp-text.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-08-04 23:56:47 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-08-04 23:56:47 +0000
commit498629f82d9453cb7222ab642b867c183fdf1666 (patch)
tree33bb4b8bffc1f67c2167d393e928aee743fdce9d /src/sp-text.cpp
parentFix artifacts in Gaussian blur and other filters inadvertently (diff)
downloadinkscape-498629f82d9453cb7222ab642b867c183fdf1666.tar.gz
inkscape-498629f82d9453cb7222ab642b867c183fdf1666.zip
Wholesale cruft removal part 3
(bzr r9508.1.47)
Diffstat (limited to 'src/sp-text.cpp')
-rw-r--r--src/sp-text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp
index dd9856080..dd0225ac4 100644
--- a/src/sp-text.cpp
+++ b/src/sp-text.cpp
@@ -611,7 +611,7 @@ void SPText::_adjustFontsizeRecursive(SPItem *item, double ex, bool is_root)
{
SPStyle *style = SP_OBJECT_STYLE (item);
- if (style && !NR_DF_TEST_CLOSE (ex, 1.0, NR_EPSILON)) {
+ if (style && !Geom::are_near(ex, 1.0)) {
if (!style->font_size.set && is_root) {
style->font_size.set = 1;
}