mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
baseline correction for wasy symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4576 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0a034e45b8
commit
63f7e8ce2e
@ -49,7 +49,7 @@ void MathSymbolInset::metrics(MathMetricsInfo & mi) const
|
||||
MathFontSetChanger dummy(mi.base, sym_->inset.c_str());
|
||||
mathed_string_dim(mi.base.font, sym_->draw, ascent_, descent_, width_);
|
||||
// correct height for broken cmex font
|
||||
if (sym_->inset == "cmex") {
|
||||
if (sym_->inset == "cmex" || sym_->inset == "wasy") {
|
||||
h_ = 4 * descent_ / 5;
|
||||
ascent_ += h_;
|
||||
descent_ -= h_;
|
||||
|
Loading…
Reference in New Issue
Block a user