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

Get help with XFCE specific problems
Post Reply
yldouright
Black ninja
Black ninja
Posts: 45
Joined: 04 Mar 2015, 16:27
Distribution: Porteus (slackware 12.1)
Location: NY

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

Post#1 by yldouright » 30 Mar 2016, 01:29

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?
Last edited by yldouright on 30 Mar 2016, 11:36, edited 1 time in total.

User avatar
francois
Contributor
Contributor
Posts: 5142
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: How do I get msttcorefonts working with Porteus?

Post#2 by francois » 30 Mar 2016, 01:48

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.
Carpe diem.

yldouright
Black ninja
Black ninja
Posts: 45
Joined: 04 Mar 2015, 16:27
Distribution: Porteus (slackware 12.1)
Location: NY

Re: How do I get msttcorefonts working with Porteus?

Post#3 by yldouright » 30 Mar 2016, 10:34

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
Last edited by yldouright on 30 Mar 2016, 11:34, edited 1 time in total.

User avatar
francois
Contributor
Contributor
Posts: 5142
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: How do I get msttcorefonts working with Porteus?

Post#4 by francois » 30 Mar 2016, 11:27

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.
Carpe diem.

Post Reply