ports/182862: x11-fonts/croscorefonts-fonts-ttf : add some more fonts.
Pedro Giffuni
giffunip at tutopia.com
Wed Oct 9 22:30:00 UTC 2013
>Number: 182862
>Category: ports
>Synopsis: x11-fonts/croscorefonts-fonts-ttf : add some more fonts.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 09 22:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Pedro Giffuni
>Release: 9.2-STABLE
>Organization:
>Environment:
FreeBSD pcbsd-1465 9.2-STABLE FreeBSD 9.2-STABLE #2: Tue Oct 1 17:10:44 COT 2013 pfg at pcbsd-1465:/usr/obj/usr/src/sys/DELL amd64
>Description:
Google has added some more fonts to their collection for Chrome-OS that are metric compatible with Microsoft Cambria and Calibri fonts.
We should probably investigate how to add a fontconf local file to set the equivalences.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: croscorefonts-fonts-ttf/Makefile
===================================================================
--- croscorefonts-fonts-ttf/Makefile (revisione 329916)
+++ croscorefonts-fonts-ttf/Makefile (copia locale)
@@ -6,7 +6,10 @@
CATEGORIES= x11-fonts
MASTER_SITES= http://gsdview.appspot.com/chromeos-localmirror/distfiles/ \
LOCAL/sunpoet
-
+DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
+ ${EXTRAFNT_CALADEA}.tar.gz \
+ ${EXTRAFNT_CARLITO}.tar.gz
+
MAINTAINER= office at FreeBSD.org
COMMENT= Fonts created from by Google for ChromeOS to replace MS TTF
@@ -35,6 +38,13 @@
MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale
MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir
+EXTRAFNT_CALADEA= crosextrafonts-20130214
+EXTRAFNT_CARLITO= crosextrafonts-carlito-20130920
+
+post-extract:
+ @${MV} ${WRKDIR}/${EXTRAFNT_CALADEA}/*.ttf ${WRKSRC}
+ @${MV} ${WRKDIR}/${EXTRAFNT_CARLITO}/*.ttf ${WRKSRC}
+
do-build:
cd ${WRKSRC} && ${MKFONTSCL_CMD}
${REINPLACE_CMD} -e 's|-misc-|-google-|' ${WRKSRC}/fonts.scale
Index: croscorefonts-fonts-ttf/distinfo
===================================================================
--- croscorefonts-fonts-ttf/distinfo (revisione 329916)
+++ croscorefonts-fonts-ttf/distinfo (copia locale)
@@ -1,2 +1,6 @@
SHA256 (croscorefonts-1.23.0.tar.gz) = b469b5457b093a9d8878ef6ff6868f54e258441b88983b1866f64c8995584b4c
SIZE (croscorefonts-1.23.0.tar.gz) = 2696327
+SHA256 (crosextrafonts-20130214.tar.gz) = c48d1c2fd613c9c06c959c34da7b8388059e2408d2bb19845dc3ed35f76e4d09
+SIZE (crosextrafonts-20130214.tar.gz) = 112756
+SHA256 (crosextrafonts-carlito-20130920.tar.gz) = 4bd12b6cbc321c1cf16da76e2c585c925ce956a08067ae6f6c64eff6ccfdaf5a
+SIZE (crosextrafonts-carlito-20130920.tar.gz) = 1169488
Index: croscorefonts-fonts-ttf/pkg-descr
===================================================================
--- croscorefonts-fonts-ttf/pkg-descr (revisione 329916)
+++ croscorefonts-fonts-ttf/pkg-descr (copia locale)
@@ -1,8 +1,11 @@
Google has created a set of fonts for its ChromeOS Operating system.
The three standard ones closely mimic the most popular ones for the Windows
-platform and the linuxso-called Liberation fonts but are available under an
+platform and the linux so-called Liberation fonts but are available under an
OpenFont license.
-Tinos, Arimo and Cousine, appear to be variations of the old standard Times,
-Arial and Courier.
+Tinos, Arimo and Cousine, appear to be metric compatible variations of the
+standard Times, Arial and Courier fonts.
+
+Caladea (ALv2) is metric-compatible with Cambria.
+Carlito (OFL) is metric-compatible with Calibri.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list