Re: [PATCH] Computation of char style inset width does not consider inset name

2005-09-06 Thread Lars Gullik Bjønnes
Michael Gerz <[EMAIL PROTECTED]> writes: | Angus Leeming wrote: > >>I suspect that you mean to pass "s" to rectText, no? >> >> +string const s = undefined() ? +_("Undef: ") + >> params_.type : params_.type; >>+font_metrics::rectText(s, font, w, a, d); >> > | Oops, you are right! Wh

Re: [PATCH] Computation of char style inset width does not consider inset name

2005-09-06 Thread Michael Gerz
Angus Leeming wrote: I suspect that you mean to pass "s" to rectText, no? +string const s = undefined() ? +_("Undef: ") + params_.type : params_.type; +font_metrics::rectText(s, font, w, a, d); Oops, you are right! Which means that there was another bug in the code, sinc

Re: [PATCH] Computation of char style inset width does not consider inset name

2005-09-05 Thread Angus Leeming
Michael Gerz wrote: > Hello, > > in a desparate attempt to find a simple bug to fix - so that Lars no > longer has a reason to reject my key bindings patch - I came across char > styles: > > If there are consecutive char styles with little content, there is a > good chance that the inset labels

[PATCH] Computation of char style inset width does not consider inset name

2005-09-05 Thread Michael Gerz
Hello, in a desparate attempt to find a simple bug to fix - so that Lars no longer has a reason to reject my key bindings patch - I came across char styles: If there are consecutive char styles with little content, there is a good chance that the inset labels are printed on top of each other