Fixed #207 (integer rounding happens on text bias and spacing values for Basic.TEXT PCell)

This commit is contained in:
Matthias Koefferlein 2018-12-11 21:51:40 +01:00
parent a588751c27
commit b75681a333
1 changed files with 3 additions and 3 deletions

View File

@ -154,11 +154,11 @@ BasicText::produce (const db::Layout &layout, const std::vector<unsigned int> &l
const db::TextGenerator &font = db::TextGenerator::generators ()[f];
double m = parameters [p_magnification].to_double ();
db::Coord b = parameters [p_bias].to_double ();
double b = parameters [p_bias].to_double ();
bool inv = parameters [p_inverse].to_bool ();
db::Coord dx = parameters [p_char_spacing].to_double ();
db::Coord dy = parameters [p_line_spacing].to_double ();
double dx = parameters [p_char_spacing].to_double ();
double dy = parameters [p_line_spacing].to_double ();
std::string t = parameters [p_text].to_string ();