-
Notifications
You must be signed in to change notification settings - Fork 1
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 support for Wingdings and Symbol fonts #70
Comments
Those fonts are available here |
MT Extra is available via Fontist. Symbol, Wingdings, Wingdings 2, Wingdings 3 are not available in Fontist. We would prefer not directly downloading the fonts from some other package on GitHub due to potential licensing concerns. The good news is that these fonts are available from here:
Including:
Let's link to this publicly published RPM package instead. This package is also officially mentioned by an Atlassian Confluence support article: https://confluence.atlassian.com/confkb/the-text-in-a-powerpoint-excel-or-word-document-is-missing-or-looks-different-via-confluence-view-file-macro-200213562.html |
This package also contains:
|
Good that we found a solution! It is really important for people who comes from Windows and would like a smooth transition with Linux :) |
Moved to fontist/formula. |
Can you also add "MS PGothic"? https://bigfontsite.com/download/ms-pgothic.html#download |
Would appreciate any help with cross-platform unarchiving of RPM packages. The ways I tried so far:
|
I think the only two viable options are rupert and seven_zip_ruby. Installation of libarchive can be complex. @alexeymorozov it seems that rupert does have some method for data reading? Seems like we will need to first traverse the index to find the correct |
@alexeymorozov I found this Source RPM package that can be directly un-tared, without necessary for RPM/CPIO unpacking: $ tar -zxvf webcore-fonts-3.0-2.14.src.rpm
x webcore-fonts-3.0.tar.gz
x webcore-fonts.spec
$ tar -zxvf webcore-fonts-3.0.tar.gz
x webcore-fonts/
x webcore-fonts/fonts/
x webcore-fonts/fonts/couri.ttf
x webcore-fonts/fonts/verdanaz.ttf
x webcore-fonts/fonts/cour.ttf
x webcore-fonts/fonts/arialbd.ttf
x webcore-fonts/fonts/comicbd.ttf
... |
Thanks, Ronald! The source RPM appeared to be easier to extract from. Though still couldn't finish it. Indeed File.write("archive.cpio.gz", @raw_io.read) The resulting file could be unarchived by GzipReader: require 'zlib'
cpio = Zlib::GzipReader.open(filename)
File.write("archive.cpio", cpio.read) But then we get the CPIO file: $ file archive.cpio
archive.cpio: ASCII cpio archive (SVR4 with no CRC) I've tried to unarchive it with this library with no success, because it supports only an old format. The formats differ by a magic number: 070707 for old, and 070701 for new. The next step could be to rewrite the lib to support the new format. |
@alexeymorozov The webcore-fonts-3.0-2.14.src.rpm file can be extracted using just "tar", so there's no need for CPIO or RPM extraction. See the extraction log above. |
I've tried to do it with man tar
|
Oh wow! Didn't know that the tar command supports them...
Let's create a new repo/gem that parses the new CPIO format (while also the old CPIO format): fontist/cpio#1 |
Found working implementation of the CPIO unarchiver in unused files of Working draft (with some local files) of unarchiving of RPM is in fontist/fontist#207 |
Thank you very much. I am having a very hectic period but I was still able to follow this, it is incredible the amount of effort you put into this. Thank you so much. Best regards |
I am trying to open a PDF but it says that these fonts are missing:
Symbol, Wingdings, Wingdings 2, Wingdings 3.
Are these available from fontist?
I also told me that "MT Extra" was missing but I was able to install it
The text was updated successfully, but these errors were encountered: