Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Howto: Vista 2007 fonts eg Calibri, Cambria
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jesnow
Guru
Guru


Joined: 26 Apr 2006
Posts: 581

PostPosted: Wed Dec 31, 2014 4:28 pm    Post subject: Howto: Vista 2007 fonts eg Calibri, Cambria Reply with quote

We all know about media-fonts/corefonts that provides Arial, Times, and so forth. It was an annoying ploy
on the part of MS to change to proprietary fonts in Vista to try to own the office space. These fonts
(Calibri, Cambria) are often called the Vista 2007 fonts. It is a major PITA that applications such as
LibreOffice and OpenOffice don't have them.

BUT they are available, just not as easily as corefonts.

Here is the guide:
http://www.oooninja.com/2008/01/calibri-linux-vista-fonts-download.html

Perhaps someone could write an ebuild to do this?
Anyway here are the steps in case that guide goes away.

1. Install cabextract
Code:
emerge cabextract

2. Download Powerpoint Viewer 2007:
http://www.microsoft.com/downloads/details.aspx?familyid=048DC840-14E1-467D-8DCA-19D2A8FD7485&displaylang=en

3. Extract the cab file from the executable installer:
Code:
cabextract -F ppviewer.cab PowerPointViewer.exe

4. Make the target installation directory
Code:
sudo mkdir /usr/share/fonts/vista

5. Extract the fonts:
Code:
sudo cabextract -F '*.TT?' -d /usr/share/fonts/vista ppviewer.cab

6. Update the cache
Code:
fc-cache -fv

Enjoy the MS fonts system-wide. It's a big boost to interoperability.

Cheers,

Jon


Last edited by jesnow on Wed Dec 31, 2014 5:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
jesnow
Guru
Guru


Joined: 26 Apr 2006
Posts: 581

PostPosted: Wed Dec 31, 2014 5:07 pm    Post subject: Reply with quote

Problem: In LibreOffice, Cambria comes out italic. the problem is that Cambria regular is in a ttc file, which LibreOffice can't read.

The solution is from here:
http://askubuntu.com/questions/252306/cambria-appears-only-in-italics-in-libreoffice

1. emerge fontforge if necessary

2. as root, in the directory where the fonts were installed:

Code:

# cd /usr/share/fonts/vista
# fontforge -lang=ff -c 'Open("CAMBRIA.TTC(Cambria)"); Generate("CAMBRIA.TTF");Close();Open("CAMBRIA.TTC(Cambria Math)"); Generate("CAMBRIA-MATH.TTF");Close();'


Regenerate the font cache as above.

Done.
Back to top
View user's profile Send private message
jesnow
Guru
Guru


Joined: 26 Apr 2006
Posts: 581

PostPosted: Wed Dec 31, 2014 5:52 pm    Post subject: Reply with quote

In the discussion about the procedures above, the license the fonts are issued under is
brought up several times:

Quote:

License
...
You may use the fonts that accompany the PowerPoint Viewer only to display and print content from a device running a Microsoft Windows operating system.


If you read the wording, it's clear that as long as the content is from a device running MS Windows, you're in the clear. So your boss sent you a docx file full of calibri, you can use these fonts to read it on your linux box. Your modifications might be an issue, but since the original content was from msw, it's ambiguous. Generating a new file of your own with Calibri is probably a violation of the license and you are a bad person.

Jon.
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1635
Location: United Kingdom

PostPosted: Thu Jan 01, 2015 3:06 pm    Post subject: Reply with quote

jesnow wrote:
In the discussion about the procedures above, the license the fonts are issued under is
brought up several times:

Quote:

License
...
You may use the fonts that accompany the PowerPoint Viewer only to display and print content from a device running a Microsoft Windows operating system.


If you read the wording, it's clear that as long as the content is from a device running MS Windows, you're in the clear. So your boss sent you a docx file full of calibri, you can use these fonts to read it on your linux box. Your modifications might be an issue, but since the original content was from msw, it's ambiguous. Generating a new file of your own with Calibri is probably a violation of the license and you are a bad person.

Jon.

I don't think it is clear that you can use these fonts in a Linux installation. That Microsoft licence clause could be read differently. It all hinges on the use of the word 'from', and it would not be the first time English is used incorrectly and/or ambiguously by Microsoft (and others) in licence clauses. I believe the intent of that clause is that the content has to be generated on a device running Windows, and displayed on a device running Windows, and printed from a device running Windows (albeit the devices used for generating, viewing and printing the content could be different platforms running different versions of Windows). In other words, I believe the 'from' was intended to mean 'on' with respect to the PowerPoint Viewer application, and it is printing to a peripheral (hence the use of 'from'). And modification of that content would certainly be an issue, because PowerPoint Viewer is just that, namely a viewer only, and cannot be used to modify content.
_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
jesnow
Guru
Guru


Joined: 26 Apr 2006
Posts: 581

PostPosted: Fri Jan 02, 2015 7:34 pm    Post subject: Reply with quote

Entirely moot. Everyone has to make up their own mind on these things. NO need to get
on a high horse about it.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5592

PostPosted: Fri Jan 02, 2015 7:56 pm    Post subject: Reply with quote

Well the license only specifies from a device running MS windows. Doesn't say any specifics on versions, or where it's run, so if you're concerned about licenses just grab the smallest trial version iso you can find off MS's own site and let it sit idle in a VM. ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum