>>>>> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:

Herbert> size had two values (x/y-pixel) values for the lyxview. Where
Herbert> is the problem when these ones went into lyxwidth/lyxheight?

As far as I can see from FigInset::Recompute in 1.1.6, the wid and hgh
values (which are set from "size") are in fact computed from the width
argument. So I understand now better why they go in
lyxwidth/lyxheight.

[looking at the sources...] OK I think I know what is wrong. The right
lengths are set in the lyxwidth/lyxheight variable, but the scale type
is left as 'original size' instead of custom.

[looking more...] And then there is another problem: you say the
dimension of size is in pixels, but the code interprets it as "pt",
which is 1/72 inch. So there is a need for some conversion here.

However, what I would prefer (assuming that latex size and lyx size
are exactly compatible) would be to ignore the "size" parameter of
figinset (which is directly computed from the paper size anyway), and
have lyx size be a copy of latex size. Is that possible?

>> Actually, it would be nice if display size had a setting 'default'
>> which mimics latex size, even when it is changed. I would think
>> this is what most people would like. But maybe it has been
>> discussed already, I did not follow all the insetgraphics
>> discussions.

Herbert> again: I can't follow your thoughts.

What I mean is that, a user could expect that, if he changes the latex
size of a graphics, this will be reflected on screen. The reality is
that the user will have to take extra steps to achieve that. Having a
separate lyx size is neat, but I believe that the default should be to
have both coupled.

JMarc

Reply via email to