scale = min (((double) winw / (double)old_big_clock_width),
((double) winh / (double) old_big_clock_height));
+
+ cerr << "Window scaled by " << scale << endl;
Pango::FontDescription fd (big_clock.get_style()->get_font());
string family = fd.get_family();
original_size = size;
size = lrintf (size * scale);
+ size -= 2;
if (size != original_size) {
+
+ cerr << "new font size = " << size << endl;
+
char buf[family.length()+16];
snprintf (buf, family.length()+16, "%s %d", family.c_str(), size);