The font size is referenced as part of the pointSize attribute in the
Ephox configuration file information.
The DPI I have seen on the Design Science website and as far as fonts, I
believe it uses several different fonts to include all the symbols.
Again, the Design Science site has information about fonts.
- John
-----Original Message-----
From:
[hidden email]
[mailto:
[hidden email]] On Behalf Of Dun Li
Sent: Friday, September 11, 2009 9:22 AM
To: Ephox Developers
Subject: Re: [Liveworks] from MathML to image
Dylan,
Thank you for the information. I only see createEquationImage attribute
in our mathml config, but the pointsize attribute is not there. So I
think we use the default. Do you have those default settings from the
3rd party? I'm looking for font-face, font-size, and dpi.
Thanks.
Dun
--- On Thu, 9/10/09, Dylan Just <
[hidden email]> wrote:
From: Dylan Just <
[hidden email]>
Subject: Re: [Liveworks] from MathML to image
To: "Ephox Developers" <
[hidden email]>
Date: Thursday, September 10, 2009, 6:23 PM
> Can we customize the configuration (dpi, font-face, font-size, color,
etc.) when MathML equation is stored as an image?
Font face is a little unusual for equation rendering, given that special
fonts are required in order to render the symbols. The new equation
editor for EditLive! 7.0 allows you to set a "style" from a drop-down
box - these styles roughly equate to fonts, but are like "bold italic,
fraktur, script, sans serif ", not "arial, times new roman".
The equation editor is an integrated 3rd-party component, and we've
asked the vendor for a way to set the style by default, so we can then
add this as a config setting to EditLive!. Our reference code for this
is EL-2586.
As John Vanantwerp mentioned, there is a pointSize attribute of the
mathml config element. In 7.0, we also add a DPI setting. The EditLive!
7.0 documentation has details.
Setting the foreground and background colour of an equation is logged as
a future feature - our reference code is EL-2542.
> Also, does ELJ 7 generate altimg and alttext attributes in MathML tag?
Sorry, we don't support these attributes, but we've logged EL-2587 to
investigate them in future. Note the createEquationImage="true" setting
on the mathml tag in the config - this may be useful to you.
Kind regards,
Dylan Just
Software Engineer
www.ephox.com
_______________________________________________
[hidden email]
List instructions at
http://liveworks.ephox.com/mailing-list/
_______________________________________________
[hidden email]
List instructions at
http://liveworks.ephox.com/mailing-list/_______________________________________________
[hidden email]
List instructions at
http://liveworks.ephox.com/mailing-list/