Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - ttf-ms-fonts

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: ttf-ms-fonts 2.0-10

Git Clone URL: https://aur-dev.archlinux.org/ttf-ms-fonts.git (read-only)
Package Base: ttf-ms-fonts
Description: Core TTF Fonts from Microsoft
Upstream URL: http://corefonts.sourceforge.net/
Keywords: corefonts
Licenses: custom:microsoft
Provides: ttf-font
Submitter: None
Maintainer: birdflesh
Last Packager: birdflesh
Votes: 1764
Popularity: 17.965109
First Submitted: 2010-12-01 11:17
Last Updated: 2015-06-09 16:50

Required by (98)

Sources (11)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 ... Next › Last »

yourealwaysbe commented on 2013-10-19 11:27

@emel:

I had the same problem: the current PKGBUILD doesn't seem to extract the fonts from the exes before trying to install them. I fixed it by editing the PKGBUILD to include

for f in *.exe; do
cabextract $f
done

before

install -dm755 "$pkgdir/usr/share/fonts/TTF"

in the package() function.

Anonymous comment on 2013-09-17 09:22

I'm fairly sure that this could be made legal for packaged distribution if you ship the exe-files untouched and extract them in post_install() (and remove on port_remove())...
I've made a PKGBUILD & install-file that should do this: https://gist.github.com/bkcsoft/6591991

Doesn't really make a difference in AUR (as you're building them locally anyway) but would be nice if someone could comment on the legality of this :)

emel commented on 2013-08-06 21:06

The checksums failed so I generated new ones with makepkg -g.
then trying to install these says
==> Starting package()...
install: cannot stat ‘*.ttf’: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...

What am I doing wrong here?

birdflesh commented on 2013-01-30 18:06

Still, tahoma is not part of the core fonts.
Also, there is no license file in your installer. If this is part of some MS Office update, it's probably not legal to use this without an Office license.

Mikos commented on 2013-01-30 16:11

Thank you for explanation, I didn't know about this issue. I know there are another packages in AUR that provides Tahoma, but nothing is from official sources (one is WINE equivalent of Tahoma which has bad quality and other is from unofficial/illegal source).

Btw. I have found that winetricks is downloading Tahoma installer from this official Microsoft FTP server: ftp://64.4.17.176/Softlib/MSLFILES/tahoma32.exe

And this installer also contains Tahoma Bold. It can be made to separate package, but IMHO it would be better to include it in this one.

birdflesh commented on 2013-01-28 17:34

This has been discussed before (take a look at comments starting from 2010-12-08). Basically, tahoma from wd97vwr32.exe misses the bold version and this looks bad in some web pages. Additionally, tahoma is not part of the original core fonts from microsoft that this package is supposed to provide.
There are a couple of packages that provide tahoma or you can use your modified PKGBUILD.

Mikos commented on 2013-01-28 15:17

Damn, it doesn't preserve text formatting. So here it is on pastebin: http://pastebin.com/z5GtGTHE

Mikos commented on 2013-01-28 15:14

Please can you change this PKGBUILD to also install original Tahoma font? Here is updated PKGBUILD which works:

pkgname=ttf-ms-fonts
pkgver=2.0
pkgrel=11
pkgdesc="Core TTF Fonts from Microsoft"
arch=('any')
url="http://corefonts.sourceforge.net/"
license=('custom:microsoft')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
makedepends=('libarchive>=3.0.2' 'cabextract')
provides=('ttf-font')
install=$pkgname.install
_sfpath="http://downloads.sourceforge.net/corefonts"
source=($_sfpath/andale32.exe $_sfpath/arial32.exe $_sfpath/arialb32.exe
$_sfpath/comic32.exe $_sfpath/courie32.exe $_sfpath/georgi32.exe
$_sfpath/impact32.exe $_sfpath/times32.exe $_sfpath/trebuc32.exe
$_sfpath/verdan32.exe $_sfpath/webdin32.exe $_sfpath/wd97vwr32.exe)
md5sums=('cbdc2fdd7d2ed0832795e86a8b9ee19a'
'9637df0e91703179f0723ec095a36cb5'
'c9089ae0c3b3d0d8c4b0a95979bb9ff0'
'2b30de40bb5e803a0452c7715fc835d1'
'4e412c772294403ab62fb2d247d85c60'
'4d90016026e2da447593b41a8d8fa8bd'
'7907c7dd6684e9bade91cff82683d9d7'
'ed39c8ef91b9fb80f76f702568291bd5'
'0d7ea16cac6261f8513a061fbfcdb2b5'
'12d2a75f8156e10607be1eaa8e8ef120'
'230a1d13a365b22815f502eb24d9149b'
'efa72d3ed0120a07326ce02f051e9b42')

package() {
# We have to use cabextract, bsdtar doesn't work with this CAB archive
cabextract "Viewer1.cab"

install -dm755 "$pkgdir/usr/share/fonts/TTF"

for font in *.{ttf,TTF}; do
install -m644 $font "$pkgdir/usr/share/fonts/TTF/$(echo $font|tr A-Z a-z)"
done

install -Dm644 Licen.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

birdflesh commented on 2013-01-26 09:38

@jstjohn, unfortunately not everyone is fully updated before using aur. Keeping this in makedepends ensures that a meaningful error message is presented to those who aren't.

jstjohn commented on 2013-01-25 23:23

@birdflesh, pacman has the same versioned dependency. :)