[Lunar-commits] <moonbase-other> cantarell-fonts: gnome fonts family.

Florin Braescu florin at lunar-linux.org
Sun Feb 17 14:36:13 CET 2013


commit 6bc9f611892c4e307d028f02b5378084250f16ef
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sun, 17 Feb 2013 05:36:13 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/6bc9f611892c4e307d028f02b5378084250f16ef

cantarell-fonts: gnome fonts family.
---
  fonts/cantarell-fonts/21-cantarell-hinting.conf | +13/-0    
  fonts/cantarell-fonts/BUILD                     | +7/-0     
  fonts/cantarell-fonts/DEPENDS                   | +3/-0     
  fonts/cantarell-fonts/DETAILS                   | +14/-0    
  fonts/cantarell-fonts/POST_INSTALL              | +2/-0     
  5 files changed, 39 insertions(+)

--- /dev/null
+++ b/fonts/cantarell-fonts/21-cantarell-hinting.conf
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+  <!-- Force the autohinter for Cantarell, as it does not have TT hinting -->
+  <match target="font">
+    <test name="family" compare="eq" ignore-blanks="true">
+      <string>Cantarell</string>
+    </test>
+    <edit name="autohint">
+      <bool>true</bool>
+    </edit>
+  </match>
+</fontconfig>
--- /dev/null
+++ b/fonts/cantarell-fonts/BUILD
@@ -0,0 +1,7 @@
+(
+
+  OPTS+=" --with-configdir=/etc/fonts/conf.avail"
+  default_build
+  install -m644 $SCRIPT_DIRECTORY/21-cantarell-hinting.conf /etc/fonts/conf.avail/21-cantarell-hinting.conf
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/fonts/cantarell-fonts/DEPENDS
@@ -0,0 +1,3 @@
+depends fontconfig
+depends mkfontdir
+
--- /dev/null
+++ b/fonts/cantarell-fonts/DETAILS
@@ -0,0 +1,14 @@
+          MODULE=cantarell-fonts
+         VERSION=0.0.12
+          SOURCE=$MODULE-$VERSION.tar.xz
+      SOURCE_URL=http://download.gnome.org/sources/$MODULE/${VERSION::3}
+      SOURCE_VFY=sha1:57dbe64a01f610818cde460ae446d601d2a39487
+        WEB_SITE=http://abattis.org/cantarell
+         ENTERED=20130217
+         UPDATED=20130217
+         ARCHIVE=off
+           SHORT="Cantarell font family"
+
+cat << EOF
+The Cantarell font family.
+EOF
--- /dev/null
+++ b/fonts/cantarell-fonts/POST_INSTALL
@@ -0,0 +1,2 @@
+message "Running fc-cache, please be patient" &&
+fc-cache -f




More information about the Lunar-commits mailing list