fixed annoying vertical alignment bug in OGLFT
parent
9aaed3cfc3
commit
94ce6cbdb9
|
@ -425,13 +425,14 @@ namespace OGLFT {
|
||||||
|
|
||||||
bbox += char_bbox;
|
bbox += char_bbox;
|
||||||
|
|
||||||
/* std::cerr << "adding " << c
|
/*
|
||||||
|
std::cerr << "adding " << c
|
||||||
<< " y_max_: " << bbox.y_max_ << " y_min: " << bbox.y_min_
|
<< " y_max_: " << bbox.y_max_ << " y_min: " << bbox.y_min_
|
||||||
<< " advance.dy: " << bbox.advance_.dy_
|
<< " advance.dy: " << bbox.advance_.dy_
|
||||||
<< " advance.dx: " << bbox.advance_.dx_
|
<< " advance.dx: " << bbox.advance_.dx_
|
||||||
|
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
*/
|
*/
|
||||||
assert (bbox.y_max_ - bbox.y_min_ != 0.);
|
assert (bbox.y_max_ - bbox.y_min_ != 0.);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue