Juergen Spitzmueller wrote:
Charles de Miramon wrote:
Very nice. A preview of fonts would be very useful for new users
This is not so easy, unfortunately. After all, lots of these fonts are only
available to LaTeX, not to qt, for instance.
If you want to do it, here is the way:
Use the preview-latex feature that we already use to render pretty
math! Render the word "Test" with latex, and use the
resulting image as the preview in your form. This way, you
only need the font to exist in latex, it is ok if it isn't available to X.
Well, perhaps the latexed string should be something
like "Test 123456" followed by a short formula - that way
we see the effect of oldstyle numbers and math font details as well.
Helge Hafting