octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Latex interpreter via Mathjax + Qt


From: Pantxo
Subject: Re: Latex interpreter via Mathjax + Qt
Date: Tue, 12 Jan 2016 05:16:13 -0800 (PST)

George Apostolopoulos wrote
> For the implementation the Qt graphics capabilities can be used.
> It is true what Panxto writes, that mathjax will convert latex to an svg
> image. However, Qt can render the svg through the QSvgRenderer class
> (http://doc.qt.io/qt-4.8/qsvgrenderer.html) which is able to draw on a
> QGLWidget. Thus, the rest of the toolchain would remain intact (gl2ps
> etc) Of course, this will only be possible when using the qt
> graphics_toolkit in octave. 
> 
> Maybe a test of qt+mathjax+openGL+gl2ps would be in order to see if all
> this is possible.

Do you have references on how does Qt handle svg -> opengl? Does it
rasterize the svg image prior to rendering it in the opengl scene or does it
somehow actually draw the svg path? The latter would be interesting (even
though, again, its is not text anymore) and would probably work with gl2ps,
while the former will probably produce poor quality rasterized text.

Pantxo



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Latex-interpreter-via-Mathjax-Qt-tp4674346p4674362.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]