Angus Leeming <[EMAIL PROTECTED]> writes: > > Enrico Forestieri wrote: > > >> I suspect that there is a way to output in the .log file what is the > >> height of, say, a 'x' in math mode, and use this information to scale > >> the preview to that it fits the height of a 'x' in lyx default font. > > > > This would definitely be the right approach, and would also obsolete > > preview_scale_factor, but I suspect that it is not that simple to > > implement... > > Ask David Kastrup. He's the preview.sty wizard...
I meant simple to implement in the right way in LyX. Isn't it possible just now to get that info through ImageMagick? $ identify 0lyxpreview1.png 0lyxpreview1.png PNG 11x11 11x11+0+0 PseudoClass 14c 186 -- Enrico