diff options
Diffstat (limited to 'media-fonts/crosextrafonts-carlito')
4 files changed, 57 insertions, 0 deletions
diff --git a/media-fonts/crosextrafonts-carlito/Manifest b/media-fonts/crosextrafonts-carlito/Manifest new file mode 100644 index 000000000000..7adf59ea40b3 --- /dev/null +++ b/media-fonts/crosextrafonts-carlito/Manifest @@ -0,0 +1 @@ +DIST crosextrafonts-carlito-20130920.tar.gz 1169488 BLAKE2B 9a7aab65bd6e523ca9d9c9b89eba43db2e909d669e9e3250f2eae97c3ab963c0f6ca9f90bd9f40e08aeb98346387242555c7e08d3254ca5e5e0bb083b31d193b SHA512 eb516060487d30353e06de711921c0d54c5844f2be69b1c1d37edac4b27303e9213a6bb306f309dc5827b2a6a2a37c9cb85b62368164eba6dd397dbaab3e3ba0 diff --git a/media-fonts/crosextrafonts-carlito/crosextrafonts-carlito-20130920.ebuild b/media-fonts/crosextrafonts-carlito/crosextrafonts-carlito-20130920.ebuild new file mode 100644 index 000000000000..3b4bc45916ff --- /dev/null +++ b/media-fonts/crosextrafonts-carlito/crosextrafonts-carlito-20130920.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit font + +DESCRIPTION="Open licensed sans-serif font metrically compatible with Calibri" +HOMEPAGE="http://code.google.com/p/chromium/issues/detail?id=280557" +SRC_URI="http://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/${P}.tar.gz" + +LICENSE="OFL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT="binchecks strip test" + +FONT_SUFFIX="ttf" +FONT_CONF=( "${FILESDIR}"/62-crosextra-carlito.conf ) diff --git a/media-fonts/crosextrafonts-carlito/files/62-crosextra-carlito.conf b/media-fonts/crosextrafonts-carlito/files/62-crosextra-carlito.conf new file mode 100644 index 000000000000..286e933db47e --- /dev/null +++ b/media-fonts/crosextrafonts-carlito/files/62-crosextra-carlito.conf @@ -0,0 +1,28 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <alias> + <family>Carlito</family> + <default> + <family>sans-serif</family> + </default> + </alias> + <alias> + <family>sans-serif</family> + <prefer> + <family>Carlito</family> + </prefer> + </alias> + <alias binding="same"> + <family>Carlito</family> + <default> + <family>Calibri</family> + </default> + </alias> + <alias binding="same"> + <family>Calibri</family> + <accept> + <family>Carlito</family> + </accept> + </alias> +</fontconfig> diff --git a/media-fonts/crosextrafonts-carlito/metadata.xml b/media-fonts/crosextrafonts-carlito/metadata.xml new file mode 100644 index 000000000000..11cb2c539f2b --- /dev/null +++ b/media-fonts/crosextrafonts-carlito/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>fonts@gentoo.org</email> + <name>Gentoo Fonts Project</name> + </maintainer> +</pkgmetadata> |