fontist / formulas

Fontist Font Formulas
6 stars 0 forks source link

Can you also add "MS PGothic"? #73

Closed ronaldtse closed 6 months ago

ronaldtse commented 3 years ago

Can you also add "MS PGothic"? https://bigfontsite.com/download/ms-pgothic.html#download

Originally posted by @raffaem in https://github.com/fontist/formulas/issues/70#issuecomment-752422687

ronaldtse commented 3 years ago

@raffaem thank you for the suggestion, the link provided however does not seem to provide the fonts legally.

The MS PGothic font is also available here: https://ftp.gwdg.de/pub/linux/misc/suser-jengelh/openSUSE_Tumbleweed/src/ (package microsoft-japanese-fonts)

However, this package doesn't provide a license, which makes it difficult to incorporate.

ronaldtse commented 3 years ago

@raffaem actually a nearly identical font "HGPGothicM" is already available: https://github.com/fontist/formulas/blob/f00554db219aeef562b2dc6cd9ade329c3d5a05b/Formulas/japanese.yml#L51

The differences between the fonts can be found here: https://industry.ricoh.com/en/font/true_type_font/

raffaem commented 3 years ago

@raffaem actually a nearly identical font "HGPGothicM" is already available:

https://github.com/fontist/formulas/blob/f00554db219aeef562b2dc6cd9ade329c3d5a05b/Formulas/japanese.yml#L51

The differences between the fonts can be found here: https://industry.ricoh.com/en/font/true_type_font/

Hello,

is this font metric-compatible with "MS PGothic" and registered as "MS PGothic"?

If it does not get registered as "MS PGothic", LibreOffice / WPS Office will not use it in lieu of "MS PGothic".

If it is not metric-compatible, the layout will be messed up

Best

ronaldtse commented 3 years ago

"MS PGothic" is available directly from the Office 2011 for Mac trial: https://www.heidoc.net/joomla/technology-science/microsoft/61-office-2011-for-mac-direct-download-links

Screen Shot 2021-01-14 at 2 50 28 PM

It is possible to extract them via:

Screen Shot 2021-01-14 at 2 54 11 PM Screen Shot 2021-01-14 at 2 54 50 PM

@alexeymorozov is this type of extraction doable?

In any case, this means that these fonts are distributed under the Office 2011 license for the trial.

raffaem commented 3 years ago

It's incredible the effort you put into this

Thank you so much

ronaldtse commented 3 years ago

Instead of Office 2011 trials, #78 would be a much better choice due to the open license. Let's do that instead.

ronaldtse commented 2 years ago

Once we confirm #78 is completed and "MS PGothic" is available as a Formula, we can close this issue. Thanks!

alexeymorozov commented 6 months ago

Restored the Office Preview formula.

It was removed because it was used to install some often-used font (afaik, Cambria) but it required an upgraded fontist, so it failed at CI. The v3 formulas branch requires an upgraded fontist, so it's fine now.

More than that, this formula is avoided by default, because fontist avoids formulas larger than 300 MB (unless it's cached), and the office preview formula is 700 MB. At the same time it can be installed with a special flag, like --size-limit, or by a formula name:

fontist install -F office_preview
alexeymorozov commented 6 months ago
fontist update

And "MS PGothic" can be installed now:

fontist install "MS PGothic"
ronaldtse commented 6 months ago

@alexeymorozov that’s great! Could you also help add a blog post on the website?

alexeymorozov commented 6 months ago

@ronaldtse Of course! I'll make a PR with the post.

ronaldtse commented 6 months ago

And FYI @raffaem this ticket is finally resolved, and "MS PGothic" is now available. Thanks!