void MathNotInset::metrics(MathStyles st) const
{
size(st);
- mathed_char_dim(LM_TC_VAR, size_, '/', ascent_, descent_, width_);
- width_ = 1;
+ if (math_font_available(LM_TC_CMSY))
+ mathed_char_dim(LM_TC_CMSY, size_, 54,
+ ascent_, descent_, width_);
+ else
+ mathed_char_dim(LM_TC_VAR, size_, '/',
+ ascent_, descent_, width_);
+ width_ = 0;
}
xo(x);
yo(y);
- drawChar(pain, LM_TC_VAR, size_, x + 4, y, '/');
+ if (math_font_available(LM_TC_CMSY))
+ drawChar(pain, LM_TC_CMSY, size_, x, y, 54);
+ else
+ drawChar(pain, LM_TC_VAR, size_, x, y, '/');
}