Page 1 of 1

How do I get msttcorefonts working with Porteus? [Solved]

Posted: 30 Mar 2016, 01:29
by yldouright
The dearth of font choices on Porteus is one of the few weaknesses of this distro. I tried to address this by copying 438 Truetype fonts from my Windows installation to /.local/share/fonts and ran fc-cache -f -v. The terminal told me the cache succeeded and all 438 fonts were recognized but when i opened Libre Office expecting to find a plethora of font choices, only the original 5 were on the menu. Where do I look next?

Re: How do I get msttcorefonts working with Porteus?

Posted: 30 Mar 2016, 01:48
by francois
Download the rpm equivalent msttcore-fonts-2.0-6.noarch.rpm:
http://olea.org/paquetes-rpm/msttcore-f ... noarch.rpm

And then transform it into a porteus module by right clicking on it and choosing from context menu rpm2xzm. Activate and bingo.

Or in terminal mode, cd to download folder, and use command:
rpm2xzm.

Re: How do I get msttcorefonts working with Porteus?

Posted: 30 Mar 2016, 10:34
by yldouright
francois
Why does the module resulting from an rpm to xzm conversion work when an rpm to trgz to xzm module doesn't? I tried both and discovered this curiousity. Is it because the directories change depending on the conversion command used? Where is the active font folder in Porteus? Never mind, I found it.
/usr/share/fonts/TTF for Truetype and /usr/share/fonts/OTF for Opentype

Re: How do I get msttcorefonts working with Porteus?

Posted: 30 Mar 2016, 11:27
by francois
The only thing I can answer is that you can xzm2dir or right click on the font module and then look in it to see the file structure of the packages.

Otherwise you will have to look into the scripts of rpm2xzm etc. mc in command line is good to find file on your Linux box.