From 94ce6cbdb9e6b17974ae89d14ae5cf4e89526daf Mon Sep 17 00:00:00 2001 From: "Martin Felis (berta)" Date: Mon, 15 Nov 2010 00:10:39 +0100 Subject: [PATCH] fixed annoying vertical alignment bug in OGLFT --- engine/libraries/oglft/liboglft/OGLFT.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/libraries/oglft/liboglft/OGLFT.cpp b/engine/libraries/oglft/liboglft/OGLFT.cpp index 03d1d57..19a4514 100644 --- a/engine/libraries/oglft/liboglft/OGLFT.cpp +++ b/engine/libraries/oglft/liboglft/OGLFT.cpp @@ -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.); }