mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 20:32:49 +00:00
Improve size of spaces.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22236 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7280d67126
commit
a155d8934e
@ -55,21 +55,21 @@ void InsetSpace::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
switch (kind_) {
|
switch (kind_) {
|
||||||
case THIN:
|
case THIN:
|
||||||
case NEGTHIN:
|
case NEGTHIN:
|
||||||
dim.wid = fm.width(char_type('x')) / 3;
|
dim.wid = fm.width(char_type('M')) / 6;
|
||||||
break;
|
break;
|
||||||
case PROTECTED:
|
case PROTECTED:
|
||||||
case NORMAL:
|
case NORMAL:
|
||||||
dim.wid = fm.width(char_type('x'));
|
dim.wid = fm.width(char_type(' '));
|
||||||
break;
|
break;
|
||||||
case QUAD:
|
case QUAD:
|
||||||
dim.wid = 20;
|
dim.wid = fm.width(char_type('M'));
|
||||||
break;
|
break;
|
||||||
case QQUAD:
|
case QQUAD:
|
||||||
dim.wid = 40;
|
dim.wid = 2 * fm.width(char_type('M'));
|
||||||
break;
|
break;
|
||||||
case ENSPACE:
|
case ENSPACE:
|
||||||
case ENSKIP:
|
case ENSKIP:
|
||||||
dim.wid = 10;
|
dim.wid = 0.5 * fm.width(char_type('M'));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// Cache the inset dimension.
|
// Cache the inset dimension.
|
||||||
|
Loading…
Reference in New Issue
Block a user