New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support OpenType math #330

Open
GoogleCodeExporter opened this Issue Jun 8, 2015 · 21 comments

Comments

Projects
None yet
@GoogleCodeExporter
Contributor

GoogleCodeExporter commented Jun 8, 2015

If Noto supported OpenType MATH tables, the font could be used for rendering 
mathematical equations in high quality. In particular, (a) web browsers could 
use the Noto font for rendering MathML; and (b) TeX could use Noto for 
high-quality mathematical typesetting.

Some pointers:
http://fontforge.github.io/math.html
http://www.tug.org/tugboat/tb30-1/tb94vieth.pdf
https://tug.org/TUGboat/tb33-3/tb105vieth.pdf
http://blogs.msdn.com/b/murrays/archive/2014/04/27/opentype-math-tables.aspx
http://mpeg.chiariglione.org/standards/mpeg-4/open-font-format/text-isoiec-cd-14
496-22-3rd-edition
https://wiki.mozilla.org/MathML:Open_Type_MATH_Table
https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/Fonts#MATH_fonts

Original issue reported on code.google.com by sas...@google.com on 8 Apr 2015 at 8:19

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Jun 8, 2015

Contributor
Thanks.  This is already planned.

Original comment by behdad@google.com on 9 Apr 2015 at 5:29

  • Changed state: Accepted
Contributor

GoogleCodeExporter commented Jun 8, 2015

Thanks.  This is already planned.

Original comment by behdad@google.com on 9 Apr 2015 at 5:29

  • Changed state: Accepted
@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Jun 8, 2015

Contributor
On the general math support, I have drawn some of the Arabic math block for 
Noto Naskh, if there is interest I can contribute them.

Original comment by dr.khale...@gmail.com on 20 Apr 2015 at 8:53

Contributor

GoogleCodeExporter commented Jun 8, 2015

On the general math support, I have drawn some of the Arabic math block for 
Noto Naskh, if there is interest I can contribute them.

Original comment by dr.khale...@gmail.com on 20 Apr 2015 at 8:53

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Jun 8, 2015

Contributor
Thanks Khaled, yes, I think we are interested in that.  Would you please sign 
the Google CLA?  Or I believe you have already signed that, right?

Original comment by behdad@google.com on 21 Apr 2015 at 6:01

Contributor

GoogleCodeExporter commented Jun 8, 2015

Thanks Khaled, yes, I think we are interested in that.  Would you please sign 
the Google CLA?  Or I believe you have already signed that, right?

Original comment by behdad@google.com on 21 Apr 2015 at 6:01

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Jun 8, 2015

Contributor
I already signed the CLA.

Original comment by dr.khale...@gmail.com on 10 May 2015 at 8:04

Contributor

GoogleCodeExporter commented Jun 8, 2015

I already signed the CLA.

Original comment by dr.khale...@gmail.com on 10 May 2015 at 8:04

@behdad

This comment has been minimized.

Show comment
Hide comment
@behdad
Member

behdad commented Jun 8, 2015

cc @brawer

@fred-wang

This comment has been minimized.

Show comment
Hide comment
@fred-wang

fred-wang Oct 14, 2015

I referenced this issue on
https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/Fonts#Android

@marekjez86 What is the plan here? Create a separate noto math font?

(also cc'ing @khaledhosny as he commented on the original GoogleCode entry)

fred-wang commented Oct 14, 2015

I referenced this issue on
https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/Fonts#Android

@marekjez86 What is the plan here? Create a separate noto math font?

(also cc'ing @khaledhosny as he commented on the original GoogleCode entry)

@marekjez86

This comment has been minimized.

Show comment
Hide comment
@marekjez86

marekjez86 Nov 3, 2015

Contributor

@fred-wang The current idea (subject to change if there's a good argument): create a separate math font.

Contributor

marekjez86 commented Nov 3, 2015

@fred-wang The current idea (subject to change if there's a good argument): create a separate math font.

@physikerwelt

This comment has been minimized.

Show comment
Hide comment
@physikerwelt

physikerwelt commented Nov 4, 2015

👍

@kohlhase

This comment has been minimized.

Show comment
Hide comment
@kohlhase

kohlhase commented Nov 4, 2015

👍

@fred-wang

This comment has been minimized.

Show comment
Hide comment
@fred-wang

fred-wang Dec 29, 2015

This issue was recently raised again during the MathML session of the Web Engines Hackfest 2015 (https://github.com/Igalia/webengineshackfest/wiki) and by a user of metamath (fred-wang/Mathzilla#31). I'm really interested to have a discussion with Noto/Google developers to know the status/plan on math support in Android and how we can make progress on this issue. Maybe the MathML Association could help here (http://mathml-association.org/). Thanks.

fred-wang commented Dec 29, 2015

This issue was recently raised again during the MathML session of the Web Engines Hackfest 2015 (https://github.com/Igalia/webengineshackfest/wiki) and by a user of metamath (fred-wang/Mathzilla#31). I'm really interested to have a discussion with Noto/Google developers to know the status/plan on math support in Android and how we can make progress on this issue. Maybe the MathML Association could help here (http://mathml-association.org/). Thanks.

@kohlhase

This comment has been minimized.

Show comment
Hide comment
@kohlhase

kohlhase Dec 30, 2015

could we organize a virtual technical workshop to which we can invite the relevant parties?

kohlhase commented Dec 30, 2015

could we organize a virtual technical workshop to which we can invite the relevant parties?

@behdad

This comment has been minimized.

Show comment
Hide comment
Member

behdad commented Dec 31, 2015

@KrasnayaPloshchad

This comment has been minimized.

Show comment
Hide comment
@KrasnayaPloshchad

KrasnayaPloshchad Jan 13, 2016

What is the plan here? Create a separate noto math font?

I don’t think create a seperate note math font is a good solution, that’s inconvenient for users. OT MATH tables can be add directly in Noto Sans/Serif.

KrasnayaPloshchad commented Jan 13, 2016

What is the plan here? Create a separate noto math font?

I don’t think create a seperate note math font is a good solution, that’s inconvenient for users. OT MATH tables can be add directly in Noto Sans/Serif.

@dougfelt

This comment has been minimized.

Show comment
Hide comment
@dougfelt

dougfelt Jan 13, 2016

Contributor

I don't see how it's that inconvenient for users when they already have to add a second font (for other than LGC) to get Latin anyway. There's a lot of Arabic math characters-- do they go into LGC?

Contributor

dougfelt commented Jan 13, 2016

I don't see how it's that inconvenient for users when they already have to add a second font (for other than LGC) to get Latin anyway. There's a lot of Arabic math characters-- do they go into LGC?

@fred-wang

This comment has been minimized.

Show comment
Hide comment
@fred-wang

fred-wang Jan 15, 2016

@fred-wang The current idea (subject to change if there's a good argument): create a separate math font.

Yes, I believe it makes sense to have a separate font for math and tech symbols, as many of these characters belong to dedicated unicode blocks. It also seems to be a current practice to have a "My Font" and its "My Font Math" companions (e.g. Cambria and Cambria Math).

For math fonts, it is very important that the typo metrics are used for ascender/descender/linegap and there is even a USE_TYPO_METRICS flag to force that (https://www.microsoft.com/typography/otspec/os2.htm#fss). If you prefer to let applications decide which metrics to use for the LGC font (e.g. Win or hhea) then you will really need a separate Noto Math font.

fred-wang commented Jan 15, 2016

@fred-wang The current idea (subject to change if there's a good argument): create a separate math font.

Yes, I believe it makes sense to have a separate font for math and tech symbols, as many of these characters belong to dedicated unicode blocks. It also seems to be a current practice to have a "My Font" and its "My Font Math" companions (e.g. Cambria and Cambria Math).

For math fonts, it is very important that the typo metrics are used for ascender/descender/linegap and there is even a USE_TYPO_METRICS flag to force that (https://www.microsoft.com/typography/otspec/os2.htm#fss). If you prefer to let applications decide which metrics to use for the LGC font (e.g. Win or hhea) then you will really need a separate Noto Math font.

@fred-wang

This comment has been minimized.

Show comment
Hide comment
@fred-wang

fred-wang Feb 4, 2016

@marekjez86 @behdad @xiangyexiao @brawer Could you please indicate your plan for this issue and the status of the work ? And whether you would be interested in getting some help ? (see also the email I sent to Behdad last month where I try and start a discussion and provide some ideas). Thank you.

fred-wang commented Feb 4, 2016

@marekjez86 @behdad @xiangyexiao @brawer Could you please indicate your plan for this issue and the status of the work ? And whether you would be interested in getting some help ? (see also the email I sent to Behdad last month where I try and start a discussion and provide some ideas). Thank you.

@behdad

This comment has been minimized.

Show comment
Hide comment
@behdad

behdad Feb 5, 2016

Member

Thanks Frederik. Just replied to your email.

Member

behdad commented Feb 5, 2016

Thanks Frederik. Just replied to your email.

@adrientetar

This comment has been minimized.

Show comment
Hide comment
@adrientetar

adrientetar Oct 20, 2017

@marekjez86 Is a math font still planned?

adrientetar commented Oct 20, 2017

@marekjez86 Is a math font still planned?

@dougfelt

This comment has been minimized.

Show comment
Hide comment
@dougfelt

dougfelt Oct 20, 2017

Contributor

Our primary clients (Android and ChromeOS) have not been interested in math layout support, so no work on that is currently planned, unfortunately. We will have a separate font with math characters and symbols, but only basic glyph support.

Contributor

dougfelt commented Oct 20, 2017

Our primary clients (Android and ChromeOS) have not been interested in math layout support, so no work on that is currently planned, unfortunately. We will have a separate font with math characters and symbols, but only basic glyph support.

@lancejpollard

This comment has been minimized.

Show comment
Hide comment
@lancejpollard

lancejpollard Aug 4, 2018

Wondering what the status is on this. This would be a neat feature to have. It looks like not too many of the asciimath is implemented. Symbols2 has some of the geometry and that's about it. Asciimath only has a small portion of the unicode math symbols, so in general it looks like math isn't currently supported. Would love to see this implemented! 👍

lancejpollard commented Aug 4, 2018

Wondering what the status is on this. This would be a neat feature to have. It looks like not too many of the asciimath is implemented. Symbols2 has some of the geometry and that's about it. Asciimath only has a small portion of the unicode math symbols, so in general it looks like math isn't currently supported. Would love to see this implemented! 👍

@lancejpollard

This comment has been minimized.

Show comment
Hide comment
@lancejpollard

lancejpollard Aug 4, 2018

Looks like it might be coming soon! #669

lancejpollard commented Aug 4, 2018

Looks like it might be coming soon! #669

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment