Skip to content
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

Add Computer Modern family #288

Open
sivapvarma opened this issue Jun 29, 2016 · 92 comments
Open

Add Computer Modern family #288

sivapvarma opened this issue Jun 29, 2016 · 92 comments
Assignees
Labels
-- Needs Meta/Desc/License changes Corrections in METADATA.pb or html snippet or License file required -- Needs Upstream Resolution Upstream fix required before moving forward I New Font

Comments

@sivapvarma
Copy link

Computer Modern is the family of typefaces developed by Donald Knuth for TeX. It would be awesome to have these available in Google Fonts.

SIL OFL v1.1 TTF files are available from Computer Modern Unicode project on SourceForge. TTF files are also available from CTAN though the license there is not clear to me.

This page is good example of how Computer Modern looks on web pages. It also gives more details about the family.

@davelab6 davelab6 self-assigned this Jun 29, 2016
@davelab6 davelab6 modified the milestone: Add New Families Jul 8, 2016
@sambaldwin
Copy link

+1

@sivapvarma
Copy link
Author

Is there a timeline by which these might be added to google fonts ?

@davelab6
Copy link
Member

davelab6 commented Mar 11, 2017 via email

@hoke-t
Copy link

hoke-t commented Aug 31, 2017

Any status on this?

@davelab6
Copy link
Member

Will bump it up in priority, but I can't comment on specific timeline

@hoke-t
Copy link

hoke-t commented Aug 31, 2017

Thanks!

@BafS
Copy link

BafS commented Oct 10, 2017

Any new information about this font family ? This PR #1129 is also related but was never merged.

@EklavyaFCB
Copy link

Please add this font.

@MadcowD
Copy link

MadcowD commented Jan 25, 2018

Bump!

@ramyalsharif
Copy link

An open issue for about 9 months now. What's the problem?

I like making diagrams in Google Docs, because the diagram editor is awesome, however, I write my articles in LaTeX, and so for consistency, I need this font in Google Fonts.

"Quick or Urgent but not Important" is subjective here, please get it done.

I see atleast 62 people here that want this, and 0 that don't.

@m4rc1e
Copy link
Collaborator

m4rc1e commented Mar 13, 2018

@ramyalsharif Google Fonts only serves ttfs. Computer Modern only has pfb and otf, http://cm-unicode.sourceforge.net/download.html. We would need to build our own ttfs. It's not as simple as git push.

@BafS
Copy link

BafS commented Mar 13, 2018

@m4rc1e the PR #1129 uses ttfs.

@m4rc1e
Copy link
Collaborator

m4rc1e commented Mar 13, 2018

@BafS Thanks, do you know where these came from or how they were converted?

I've just had a quick look. In order for us to host them, we'll need to change the name table so it complies with our internal api.

@BafS
Copy link

BafS commented Mar 13, 2018

@m4rc1e Okay I see, unfortunately I do not know where they come from. Maybe the author of the PR, @davidgiven, can answer ?

@davidgiven
Copy link

The PR has a DESCRIPTION.en_us.html which points to http://canopus.iacp.dvo.ru/~panov/cm-unicode/index.html --- let me know if need more documentation.

@m4rc1e
Copy link
Collaborator

m4rc1e commented Mar 13, 2018

@davidgiven Did you build the ttfs yourself? the site only has otf, pfb.

If so, it would be nice to hear what you did. Also, thanks for the pr!

@davidgiven
Copy link

No, I just pulled them from the linked site and packaged them, which was the most official distribution source for Unicode-converted all-in-one TTF fonts I could find. They were generated by rendering the TeX fonts to a bitmap and then tracing them. I believe a certain amount of manual work was involved.

The last version of the TTF fonts released was in 2009, so I suspect we don't need to worry about upgrades.

@idupree
Copy link

idupree commented Mar 13, 2018

That page links to the Sourceforge download page for cm-unicode which does list TTF https://sourceforge.net/projects/cm-unicode/files/cm-unicode/0.7.0/

@m4rc1e
Copy link
Collaborator

m4rc1e commented Mar 14, 2018

@idupree @davidgiven Thank you both so much for the extra details.

I'll update the name tables so we can serve them. Once I do the pr, they'll need approval before they get on boarded.

@rocifier
Copy link

+1

nikramakrishnan added a commit to nikramakrishnan/freetype-web-jekyll that referenced this issue Jul 7, 2018
Suggested as

  http://lists.nongnu.org/archive/html/freetype-devel/2018-07/msg00042.html

Using the font service from https://fontlibrary.org. A bit slower than
Google Fonts, but OK for code sequences to have a slight load delay.

Font license: SIL Open Font License.

Addition of CMU fonts is pending to Google Fonts:

  google/fonts#288
  google/fonts#1129

Once that is available, we can switch.
@varma443
Copy link

Please add this font.

@danijar
Copy link

danijar commented May 16, 2022

I had a chat with Dave from the Google fonts team. Here is what needs to be done (#1129 (comment)):

someone needs to demonstrate the complete set of copyright holders (a) agree to the work being OFL and (b) agree to drop the RFN. So the next step is to research who the copyright holders are, and be in touch with them.

RFN refers to Reserved Font Name, with some explanation here.

If anybody is able to help with finding the copyright holders and can contact them, we can move forward with this. Getting the fonts into Google Docs lets to greater popularity of the fonts, so I think there is a good chance that the copyright holders will be supportive of this effort.

@delip
Copy link

delip commented May 16, 2022 via email

@mguzm4n
Copy link

mguzm4n commented Jul 1, 2022

Please add Computer Modern

@cheznewa
Copy link

cheznewa commented Jul 1, 2022

Just An Info ::::::: There A Font Better Than Computer Modern (More Glyphs) Called New Computer Modern But In A Licence GFL So Maybe Non-Compatible With Google Fonts.

@danijar
Copy link

danijar commented Jul 5, 2022

The GFL license doesn't work so we can't add Latin Modern (unless the creators would grant us a different license).

The SIL license works, so the best option is the cm-unicode package.

It's also available in common file formats (also under SIL) like @delip said.

I'll talk to Dave to see if we can get started on importing this, fingers crossed!

@davelab6
Copy link
Member

It seems @christianp has published https://www.checkmyworking.com/cm-web-fonts/ and this is probably the best version of CM to use; @christianp claims the fonts are available under OFL terms, and is actively maintaining them for the web, and maybe I've been too heavy handed with insistence on demonstrations of the complete set of copyright holders agreeing to the work being OFL.

@christianp, https://github.com/google/fonts/blob/main/CONTRIBUTING.md and https://googlefonts.github.io/gf-guide explain that we require sources to build with fontmake in a public source control system, and your web page doesn't appear to have a link to such a thing, and https://github.com/christianp?tab=repositories&q=cm also has no results. Would you be willing to maintain the project on Github?

@christianp
Copy link

christianp commented Aug 22, 2022

@davelab6 I wouldn't say I actively maintain it - I don't think I've done anything with them since I first created them.

All I did was to run the TTF fonts provided by the cm-unicode project through FontSquirrel.

@twardoch
Copy link
Collaborator

I think https://www.gust.org.pl/projects/e-foundry/latin-modern would likely be the best implementation of Computer Modern. It's been well-tested by the TeX community and yet has been sensibly modernized to OpenType.

Next Staurday I'll have the chance to talk to the maintainers, and hopefully we'll finally get this OFL licensing in addition to LPPL.

@twardoch
Copy link
Collaborator

BTW, I've analyzed it carefully a few years ago and found that OFL is fully compatible with GFL & LPPL, that is, anyone can fork an LPPL or GFL-licensed font and publish it under OFL.

But it'll still be simpler to get GUST to license the fonts under OFL. Covid has complicated matters because this year at GUST (of which I happen to be temporary president, but don't read much into it), we're skipping our annual BachoTeX conference for the third year in a row. The conference has been a key platform for topic conversations.

But fortunately the coming Saturday, there will be a smaller event that the key players will attend. I'll do my best to ensure that the GUST fonts are soon re-published under dual licenses (GFL+OFL). I also know there's work to put the GUST font sources in Github.

@danijar
Copy link

danijar commented Aug 22, 2022

@davelab6 Just to confirm, we can't use OTF directly (as provided by cm-unicode)?

@anthezium
Copy link

+1, please add, so I can use Google slides figures in my dissertation!

@AlvaroMuradyan
Copy link

+1, still waiting to see the best font in google docs, i hope you can also write latex with it, or at least ur equations thing, and maybe add matrices too?

@danijar
Copy link

danijar commented Nov 2, 2022

Those would be cool but completely separate features. Let's not complicate this more than needed for now. Having just the CM font family would already be an important step.

@albertqi
Copy link

albertqi commented Nov 4, 2022

+1, this would be an amazing font to have!

@prayerie
Copy link

+1, please add :)

@uN4sh
Copy link

uN4sh commented Nov 19, 2022

+1, we still believe!

@aalok-sathe
Copy link

+1

@applecuckoo
Copy link
Contributor

Hello all! Feel free to react with a like in the top post, just reduces all the thread clutter in this issue.

@anthezium
Copy link

anthezium commented Nov 28, 2022 via email

@sylvaticus
Copy link

Maybe they don't give a s...t to academic users that use LateX or like LateX-like fonts :-) :-)

@MadcowD
Copy link

MadcowD commented Dec 24, 2022 via email

@tiroj
Copy link

tiroj commented Dec 24, 2022

@twardoch What’s the status on this? Any movement on the GUST front? If it might be useful—and if some funding were located—I’d be up for porting Computer Modern into the build stream that we used for the STIX Two fonts.

@PaoloLuciano
Copy link

This would save me DAYS of work for my thesis instead of creating the figures in Tiks
Pleaaaseee

@alexec
Copy link

alexec commented Jan 13, 2023

What font is a good approximation for Computer Modern and is supported?

@alexec
Copy link

alexec commented Jan 13, 2023

Robot Serif:

image

Spectral light:

image

@danijar
Copy link

danijar commented Jan 24, 2023

@twardoch What was the outcome of this?

Either way, cm-unicode is available under SIL, so I don't see any issues here. @davelab6 could we proceed with importing these?

@davelab6
Copy link
Member

@danijar We can't use OTF directly (as provided by cm-unicode), because GF requires TTF; in cases where TTFs are available, we can indeed just stuff them into the GF system, making an exception to our current policy requirements - mainly that there be OFL without RFN licensing, plus sources and a build script in some version control system, so that as bugs are found, the step required to make a source patch and rebuild is not too tall - hotfixing binary TTFs is undesirable as it is risks regressions.

Here, TTFs are available from https://sourceforge.net/projects/cm-unicode/files/cm-unicode/0.7.0/ (@tiroj not sure why you saw only the FTP link, I guess maybe just Sourceforge's poor UI :) However in the TTF zip available there, the OFL has RFN, and its very broad:

Copyright (C) Authors of original metafont fonts:
Donald Ervin Knuth (cm, concrete fonts)
1995, 1996, 1997 J"org Knappen, 1990, 1992 Norbert Schwarz (ec fonts)
1992-2006 A.Khodulev, O.Lapko, A.Berdnikov, V.Volovich (lh fonts)
1997-2005 Claudio Beccari (cb greek fonts)
2002 FUKUI Rei (tipa fonts)
2003-2005 Han The Thanh (Vietnamese fonts)
1996-2005 Walter Schmidt (cmbright fonts)

Copyright (C) 2003-2009, Andrey V. Panov (panov@canopus.iacp.dvo.ru),
with Reserved Font Family Name "Computer Modern Unicode fonts".

So we need Andrey to drop the RFN, or publish them with a hotfix rename that doesn't include the words Computer, Modern, unicode or fonts...

Sadly then #288 (comment) also confirms the github repo we were looking at is indeed also in the "TTFs requiring hotfixing" state, and the RFN retention is something I'd want to see verified... so, we are back to a situation where there are no source files or upstream actively maintained project by the libre font community - While @tiroj 's offer to be commissioned to use the STIX build process is welcome, currently the GF team have no intention to fund such work.

If @twardoch can indeed get GUST to release their version freshly under OFL with sources and build script and no RFN, that would be a large step towards getting the CM fonts into Google Fonts, with GUST as a reputable active upstream maintainer.

@alexec the most similar are probably Playfair Display and Old Standard TT?

@AlvaroMuradyan try https://workspace.google.com/marketplace/app/autolatex_equations/850293439076 or other searches for Workspace LaTeX plugins :)

@MDNich
Copy link

MDNich commented Nov 2, 2023

+1

@lgrawet
Copy link

lgrawet commented Apr 7, 2024

You might prefer NewComputerModern these days...
Download here and documentation there.

The NewComputerModern FontFamily is a huge extension (“huge” in terms
of the number of additional glyphs) of the lm fonts. It is not just a family
adding random missing glyphs but it adds support for several more languages
and shapes needed for academic (and not only) work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-- Needs Meta/Desc/License changes Corrections in METADATA.pb or html snippet or License file required -- Needs Upstream Resolution Upstream fix required before moving forward I New Font
Projects
None yet
Development

No branches or pull requests