Re: Math fonts -- Win vs Mac

2007-03-19 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> The second one would be caching the right bearings (in the Qt Enrico> meaning, not the one documented in Enrico> src/frontends/FontMetrics.h) such that when the right bearing Enrico> is negative, its absolute value gets added

Re: Math fonts -- Win vs Mac

2007-03-18 Thread Andre Poenitz
On Sun, Mar 18, 2007 at 04:41:53PM +0100, Enrico Forestieri wrote: > Committed. When I find some more time I will address a remaining issue. > Currently, the character widths used in mathed are the same as those > used in normal text, i.e., they are logical and not actual widths as > explained here

Re: Math fonts -- Win vs Mac

2007-03-18 Thread Enrico Forestieri
On Sun, Mar 18, 2007 at 04:41:53PM +0100, Enrico Forestieri wrote: > The second one would be caching > the right bearings (in the Qt meaning, not the one documented in > src/frontends/FontMetrics.h) such that when the right bearing is > negative, its absolute value gets added to the width reported

Re: Math fonts -- Win vs Mac

2007-03-18 Thread Enrico Forestieri
On Sun, Mar 18, 2007 at 07:55:36AM +0100, Andre Poenitz wrote: > On Sun, Mar 18, 2007 at 06:42:34AM +0100, Enrico Forestieri wrote: > > On Sat, Mar 17, 2007 at 01:28:21AM +0100, Uwe Stöhr wrote: > > > > > > With the attached patch LyX is also closer to TeX, at least for > > > > super/subscript

Re: Math fonts -- Win vs Mac

2007-03-17 Thread Andre Poenitz
On Sun, Mar 18, 2007 at 06:42:34AM +0100, Enrico Forestieri wrote: > On Sat, Mar 17, 2007 at 01:28:21AM +0100, Uwe Stöhr wrote: > > > > With the attached patch LyX is also closer to TeX, at least for > > > super/subscript placement. I implemented the rules from 18a to 18f > > > in appendix G of

Re: Math fonts -- Win vs Mac

2007-03-17 Thread Enrico Forestieri
On Sat, Mar 17, 2007 at 01:28:21AM +0100, Uwe Stöhr wrote: > > With the attached patch LyX is also closer to TeX, at least for > > super/subscript placement. I implemented the rules from 18a to 18f > > in appendix G of the TeXbook. > > > > I also attach here two screenshots showing a formula

Re: Math fonts -- Win vs Mac

2007-03-16 Thread Uwe Stöhr
> With the attached patch LyX is also closer to TeX, at least for > super/subscript placement. I implemented the rules from 18a to 18f > in appendix G of the TeXbook. > > I also attach here two screenshots showing a formula before and after the > patch. This improves the on screen layout a lot! I

Re: Math fonts -- Win vs Mac

2007-03-16 Thread Enrico Forestieri
On Thu, Mar 15, 2007 at 11:09:39PM +0100, Andre Poenitz wrote: > On Thu, Mar 15, 2007 at 02:15:43PM -0700, Jan Peters wrote: > > >Note, however, that sticking too closely to the TeX rules gives fairly > > >dense formulas which are more difficult to navigate, > > > > I believe that SWP is very clos

Re: Math fonts -- Win vs Mac

2007-03-15 Thread Andre Poenitz
On Thu, Mar 15, 2007 at 02:15:43PM -0700, Jan Peters wrote: > >Note, however, that sticking too closely to the TeX rules gives fairly > >dense formulas which are more difficult to navigate, > > I believe that SWP is very close to TeX here. This might be true. > If you need more > screenshots tha

Re: Math fonts -- Win vs Mac

2007-03-15 Thread Jan Peters
Note, however, that sticking too closely to the TeX rules gives fairly dense formulas which are more difficult to navigate, I believe that SWP is very close to TeX here. If you need more screenshots than the ones which I have provided, let me know! Best wishes, -Jan =

Re: Math fonts -- Win vs Mac

2007-03-15 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> I found the rules in appendix G and I think that they could be Enrico> applied. However I stumbled over a problem. The ascent() Enrico> method in mathed doesn't correctly report ascent values less Enrico> than the ascent of a

Re: Math fonts -- Win vs Mac

2007-03-15 Thread Andre Poenitz
On Thu, Mar 15, 2007 at 03:27:54AM +0100, Enrico Forestieri wrote: > I found the rules in appendix G and I think that they could be applied. Fine. I haven't read too much TeX related 'real' books so it must have been _the_ TeX book... > However I stumbled over a problem. The ascent() method in m

Re: Math fonts -- Win vs Mac

2007-03-14 Thread Enrico Forestieri
On Wed, Mar 14, 2007 at 04:02:25PM +0100, Andre Poenitz wrote: > On Wed, Mar 14, 2007 at 10:25:56AM +0100, Enrico Forestieri wrote: > > Maybe LyX displaces too much super and subscripts, such that \left > > and \right delimiters are higher than necessary. > > I really don't care, but does the attac

Re: Math fonts -- Win vs Mac

2007-03-14 Thread Enrico Forestieri
On Wed, Mar 14, 2007 at 04:02:25PM +0100, Andre Poenitz wrote: > I think the exact rules are in the TeX book, or at least some kind > of approximation... If that's not too difficult, we should try to > use this (at least the rules for displayed math, inline is too dense for > editing). I could no

Re: Math fonts -- Win vs Mac

2007-03-14 Thread Andre Poenitz
On Wed, Mar 14, 2007 at 10:25:56AM +0100, Enrico Forestieri wrote: > Maybe LyX displaces too much super and subscripts, such that \left > and \right delimiters are higher than necessary. > I really don't care, but does the attached patch give a less uglier > aspect in those cases? BTW, I think that

Re: Math fonts -- Win vs Mac

2007-03-14 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> Maybe LyX displaces too much super and subscripts, such that Enrico> \left and \right delimiters are higher than necessary. I Enrico> really don't care, but does the attached patch give a less Enrico> uglier aspect in those ca

Re: Math fonts -- Win vs Mac

2007-03-14 Thread Enrico Forestieri
On Tue, Mar 13, 2007 at 10:53:02PM -0400, Bennett Helm wrote: > On Mar 13, 2007, at 7:45 PM, Jan Peters wrote: > > > Dear Bennet, > > > > I had a discussion with Uwe on the fonts for > > parantheses, see > > > > http://bugzilla.lyx.org/show_bug.cgi?id=3330 > > > > He told me that the parentheses/v