On 2015-12-09, Enrico Forestieri wrote:
> On Wed, Dec 09, 2015 at 01:21:01PM +0000, Guenter Milde wrote:
>> On 2015-12-09, Enrico Forestieri wrote:
>> > On Wed, Dec 09, 2015 at 07:20:16AM +0000, Guenter Milde wrote:

>> > And why not using "info-insert icon math/vphantom", that automatically
>> > addresses all of these points?

>> Because the documentation

>> > Help->LyX Functions

>> points to InsetInfo.h for detailed description and there, it says

>>     The syntax is the same as what is used in the bind and ui files.

> But a bit down it also says

>       icon: icon of lfun used in toolbar or direct icon name

This should go into InsetInfo.h, too then.


>> * "info-isert icon ..." does not scale with the font size.

> On screen it does not, but it does scale in the output.


>> Actually, it is even worse: the size of the icons in PDF is hard to
>> predict,

> It is very predictable: you always get a width of 1em.

>> often less than acceptable

Did you have a look at the PDF output of Math.lyx?
(I compiled with trunk, icon-set default, ui file default and got
dreadful results.


>> and cannot be adjusted:

> Of course it can be adjusted. You can make its size larger or smaller.

How?

>> > >    Unfortunately, many of these icons have the wrong size in the PDF:
>> > >    either too large [math-insert \leq] or too small, or with content
>> > >    non-centered and partly invisible [ert-insert].


>> I hope there is a way to fix this issue. Maybe by setting the hight of the
>> displayed icon to "1 em".

> Now you are talking about the representation on screen?

No.

>> For the ert-insert icon, more needs to be done. Currently this is
>> non-readable in the PDF.

> This may also depend on the set of icons you use.

As said above, I use "default".

I'll prepare a bug report with minimal example and output sample.

Günter

Reply via email to