fixed annoying vertical alignment bug in OGLFT

main
Martin Felis (berta) 2010-11-15 00:10:39 +01:00
parent 9aaed3cfc3
commit 94ce6cbdb9
1 changed files with 3 additions and 2 deletions

View File

@ -425,13 +425,14 @@ namespace OGLFT {
bbox += char_bbox;
/* std::cerr << "adding " << c
/*
std::cerr << "adding " << c
<< " y_max_: " << bbox.y_max_ << " y_min: " << bbox.y_min_
<< " advance.dy: " << bbox.advance_.dy_
<< " advance.dx: " << bbox.advance_.dx_
<< std::endl;
*/
*/
assert (bbox.y_max_ - bbox.y_min_ != 0.);
}