Package Details: ttf-google-fonts-git 1:r1704.59afb78a-1

Git Clone URL: https://aur.archlinux.org/ttf-google-fonts-git.git (read-only, click to copy)
Package Base: ttf-google-fonts-git
Description: TrueType fonts from the Google Fonts project (git version)
Upstream URL: https://github.com/google/fonts
Keywords: fonts google ttf
Licenses: custom:SIL Open Font License, custom:Ubuntu Font License v1.0
Conflicts: adobe-source-code-pro-fonts, adobe-source-sans-pro-fonts, jsmath-fonts, lohit-fonts, ttf-andika, ttf-anonymous-pro, ttf-arabeyes-fonts, ttf-cardo, ttf-comfortaa, ttf-google-fonts-typewolf, ttf-lato, ttf-lekton, ttf-lora-cyrillic, ttf-medievalsharp, ttf-nova, ttf-oxygen, ttf-oxygen-git, ttf-pt-fonts, ttf-roboto-mono, ttf-sil-fonts, ttf-source-code-pro-ibx, ttf-source-sans-pro-ibx, ttf-vollkorn-ibx
Provides: adobe-source-code-pro-fonts, adobe-source-sans-pro-fonts, jsmath-fonts, lohit-fonts, ttf-andika, ttf-anonymous-pro, ttf-cardo, ttf-comfortaa, ttf-lato, ttf-lekton, ttf-lora-cyrillic, ttf-medievalsharp, ttf-nova, ttf-oxygen, ttf-oxygen-git, ttf-pt-fonts, ttf-roboto-mono, ttf-sil-fonts, ttf-source-code-pro-ibx, ttf-source-sans-pro-ibx, ttf-vollkorn-ibx
Submitter: sebstar
Maintainer: andrewSC
Last Packager: andrewSC
Votes: 536
Popularity: 0.36
First Submitted: 2013-04-27 20:41
Last Updated: 2019-10-09 02:50

Required by (26)

Sources (1)

Pinned Comments

thatgeek commented on 2017-11-17 03:56

If you're having an issue upgraded with errors related to fonts like merriweather, here's my steps to resolve the issue (assuming you have Yaourt):

#Clear out what you had before

yaourt -R fonts-meta-extended-lt
sudo pacman -Rns $(pacman -Qtdq)
sudo pacman -R ttf-google-fonts-git
sudo pacman -Rns $(pacman -Qtdq)

#Install dependencies

yaourt -S ttf-merriweather-sans ttf-opensans ttf-oswald ttf-quintessential ttf-signika
yaourt -S fonts-meta-extended-lt

#Heads up, if ttf-impallari-cantora isn't fixed yet, change the PKGBUILD source to the URL in the comments on the package

yaourt -S ttf-impallari-cantora
yaourt -S ttf-google-fonts-git

Latest Comments

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

andrewSC commented on 2017-11-15 13:25

thatgeek: Glad to hear you were able to get it resolved! And not a problem :) More than happy to help as long as the other person is actually trying lol

sQVe: I appreciate the comments. Here are my responses:

> @andrewSC I understand that the package depends on some external ttf packages but should these not be installed as dependencies by the package itself? I imagine that many will be confused.

I'm not entirely following here. Are you suggesting that this PKGBUILD should auto-install its own dependencies somehow?

> @andrewSC It does this correctly when installing from fresh, without an old ttf-google-fonts-git installed. It seems like there are cases where it does not warn about package conflicts though. This is the reason for the confusion.

In part of a larger ongoing effort I've been spending time trying to clean up the depends, provides, and conflicts arrays of this package. This package provides over 2400 TrueType fonts with over 900 font families. My goal for this PKGBUILD is for every font family in google/fonts that is already being packaged (whether that be in extra, community, or the AUR) for the distro, should be relied upon and become a dependency for this package. I've been working on a script[1] to help me sift through all the potential candidates.

For example the merriweather font family exists as a package within the AUR (ttf-merriweather) _and_ the google/fonts repo also provides this font family. I've made ttf-merriweather a dependency for this package and blacklisted google/fonts/ofl/merriweather during installation. The idea behind this change is to, first, rely on packages that are already being maintained for Arch. Second, to rely on a single package to provide the best version of a given font family. It doesn't make sense to have multiple packages providing the merriweather font family (or other font families) if it can be avoided.

Since there's going to be a fair number of dependencies, and some of those dependencies list ttf-google-fonts-git as a conflict, I'm contacting each maintainer to work through the changes. It'll take time but we'll end up with a higher quality package in the end.

[1] https://github.com/andrewSC/font-fengshui/blob/master/main.py

sQVe commented on 2017-11-15 05:55

@andrewSC It does this correctly when installing from fresh, without an old ttf-google-fonts-git installed. It seems like there are cases where it does not warn about package conflicts though. This is the reason for the confusion.

sQVe commented on 2017-11-15 05:44

@andrewSC I understand that the package depends on some external ttf packages but should these not be installed as dependencies by the package itself? I imagine that many will be confused.

thatgeek commented on 2017-11-15 04:20

@andrewSC - just an update, for some reason those packages weren't actually installed despite being listed as such. I completely uninstalled fonts--meta-extended-lt and its dependencies, installed those specific fonts that threw the error, installed fonts-meta-extended-lt, and then was able to get ttf-google-fonts-git to install.

Thanks for the troubleshooting!

andrewSC commented on 2017-11-14 20:29

butler360: You need to install those fonts before you try to install ttf-google-fonts-git. ttf-google-fonts-git is _dependent_ upon them for installation.

butler360 commented on 2017-11-14 18:10

I don't have fonts-meta-extended-lt installed but I still get the same error with merriwether, etc.

:: Installing ttf-google-fonts-git package(s)...
loading packages...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: ttf-google-fonts-git: requires ttf-merriweather
:: ttf-google-fonts-git: requires ttf-merriweather-sans
:: ttf-google-fonts-git: requires ttf-opensans
:: ttf-google-fonts-git: requires ttf-oswald
:: ttf-google-fonts-git: requires ttf-quintessential
:: ttf-google-fonts-git: requires ttf-signika

andrewSC commented on 2017-11-14 12:31

For those of you getting the `omitted_font_families[]: bad array subscript` error, the problem was an upstream commit: https://cgit.freedesktop.org/fontconfig/commit/fc-query?id=e5a51c899480c3bd99c36e49d1c24932f6a08810 which caused a regression in behavior. The offending line has since been removed: https://cgit.freedesktop.org/fontconfig/commit/fc-query/fc-query.c?id=b56207a069be2574df455ede0a6ab61f44d5ca2b however extra/fontconfig hasn't been updated to reflect this change yet. It's also been brought to my attention that https://aur.archlinux.org/packages/fontconfig-infinality/ doesn't have this regression.


tl;dr if you're getting the error simply change the `sed` command at: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ttf-google-fonts-git#n72

From: sed -n '2p'
To: sed -n '1p'

Until the package get's updated (which will occur once extra/fontconfig gets updated).

andrewSC commented on 2017-11-14 11:07

thatgeek: re-install the dependencies for fonts-meta-extended-lt, then re-install ttf-google-fonts-git. I've explicitly worked with the package maintainer for the ttf-* fonts last night so we could add them as deps to this package and remove ttf-google-fonts-git from his packages. It was the only way i could install fonts-meta-extended-lt on my system actually... After I installed fonts-meta-extended-lt, I was able to install ttf-google-fonts-git without an error.

If anyone is still having the `omitted_font_families[]: bad array subscript` error, I'm still trying to get to the bottom of it. It seems to only be affecting some systems while other people aren't having an issue.

thatgeek commented on 2017-11-14 06:39

@andrewSC - I hope so. Yaourt downloaded this version of the PKGBUILD:

ttf-google-fonts-git 1:r1212.a16b8302-2 (2017-11-14 02:08)

It got worse:

error: failed to prepare transaction (could not satisfy dependencies)
:: ttf-google-fonts-git: requires ttf-merriweather
:: ttf-google-fonts-git: requires ttf-merriweather-sans
:: ttf-google-fonts-git: requires ttf-opensans
:: ttf-google-fonts-git: requires ttf-oswald
:: ttf-google-fonts-git: requires ttf-quintessential
:: ttf-google-fonts-git: requires ttf-signika
:: fonts-meta-extended-lt: installing ttf-google-fonts-git (1:r1212.a16b8302-2) breaks dependency 'ttf-oswald'
:: fonts-meta-extended-lt: installing ttf-google-fonts-git (1:r1212.a16b8302-2) breaks dependency 'ttf-quintessential'
:: fonts-meta-extended-lt: installing ttf-google-fonts-git (1:r1212.a16b8302-2) breaks dependency 'ttf-droid'
:: fonts-meta-extended-lt: installing ttf-google-fonts-git (1:r1212.a16b8302-2) breaks dependency 'ttf-merriweather'
:: fonts-meta-extended-lt: installing ttf-google-fonts-git (1:r1212.a16b8302-2) breaks dependency 'ttf-merriweather-sans'
:: fonts-meta-extended-lt: installing ttf-google-fonts-git (1:r1212.a16b8302-2) breaks dependency 'ttf-opensans'
:: fonts-meta-extended-lt: installing ttf-google-fonts-git (1:r1212.a16b8302-2) breaks dependency 'ttf-signika'

andrewSC commented on 2017-11-13 23:42

misc: what version of bash do you have?