I need to display Math equations and Chemical formulas in a Spark (Adobe Flex 4) text control. What are 开发者_Python百科my options?
Thanks!
Try this product - fMath for Flex, claims to be capable of displaying math formulas coded in MathML in Flex
http://www.fmath.info/flex/download.jsp
I'm not sure about Math and Chemical symbols, but you can display special characters by using a character’s numeric value
i.e. © for copyright symbol
See flexexamples for an example: http://blog.flexexamples.com/2007/08/02/using-special-characters-in-your-flex-applications/
The usual practice is to embed a font that supports maths symbols in your application. Make sure the font you choose has all the symbols you need to use. DejaVu is one of the many freely available font families that support mathematical symbols. I am not sure if it supports chemical symbols as well. A guide to using embedded fonts is available here.
精彩评论