- // FIXME UNICODE
- docstring const justname =
- from_utf8(onlyFilename(params_.filename.absFilename()));
- if (!justname.empty()) {
- msgFont.setSize(Font::SIZE_FOOTNOTE);
- font_width = theFontMetrics(msgFont)
- .width(justname);
- }
-
- docstring const msg = statusMessage(params_, loader_.status());
- if (!msg.empty()) {
- msgFont.setSize(Font::SIZE_TINY);
- font_width = std::max(font_width,
- theFontMetrics(msgFont).width(msg));
- }
+ // FIXME UNICODE
+ docstring const justname = from_utf8(params_.filename.onlyFileName());
+ if (!justname.empty()) {
+ msgFont.setSize(FONT_SIZE_FOOTNOTE);
+ font_width = theFontMetrics(msgFont).width(justname);
+ }