<sep-soft> support

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@166 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-24 15:03:52 +00:00
parent b059c867d2
commit ca3b7b91b4
7 changed files with 30 additions and 16 deletions
+1 -1
View File
@@ -24,5 +24,5 @@ void SymbolTextElement::getCharInfo(RotatedDC& dc, double scale, vector<CharInfo
}
double SymbolTextElement::minScale() const {
return font.size / min(0.001, min(font.size, font.scale_down_to));
return min(font.size, font.scale_down_to) / max(0.01, font.size);
}