1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
f(FONT_NORMAL, font->charset, fw_dontcare, FALSE); + if (bold_mode == BOLD_FONT) { + f(FONT_BOLD, font->charset, fw_bold, FALSE); + } SelectObject(hdc, fonts[FONT_NORMAL]); GetTextMetrics(hdc, &tm); } } - if (bold_mode == BOLD_FONT) { - f(FONT_BOLD, font->charset, fw_bold, FALSE); - } #undef f descent = tm.tmAscent + 1; |
