From owner-freebsd-ports Mon Nov 1 0:50: 5 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 35FF614CE6 for ; Mon, 1 Nov 1999 00:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA43965; Mon, 1 Nov 1999 00:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freebsd.sinica.edu.tw (freebsd.sinica.edu.tw [140.109.13.51]) by hub.freebsd.org (Postfix) with ESMTP id E442A14A2C for ; Mon, 1 Nov 1999 00:40:50 -0800 (PST) (envelope-from keith@freebsd.sinica.edu.tw) Received: (from keith@localhost) by freebsd.sinica.edu.tw (8.9.3/8.9.2) id QAA98065; Mon, 1 Nov 1999 16:40:50 +0800 (CST) (envelope-from keith) Message-Id: <199911010840.QAA98065@freebsd.sinica.edu.tw> Date: Mon, 1 Nov 1999 16:40:50 +0800 (CST) From: keith@ml.tw.freebsd.org Reply-To: jtjang@gcn.net.tw To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/14642: Update port: chinese/moettf Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14642 >Category: ports >Synopsis: moettf doesn't support weight/slant variations >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 1 00:50:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Keith Jang >Release: FreeBSD 3.2-STABLE i386 >Organization: End user >Environment: FreeBSD 4.0-CURRENT #0: Sun Oct 31 15:23:46 GMT 1999 >Description: moettf doesn't support weight/slant font variations. >How-To-Repeat: No -*-bold-i-* in /usr/X11R6/lib/X11/fonts/TrueType/fonts.alias >Fix: Please commit the following patch. It also updates maintainer's(me) email address. --- moettf/pkg/INSTALL.orig Sun Oct 31 14:43:28 1999 +++ moettf/pkg/INSTALL Sun Oct 31 15:08:47 1999 @@ -30,15 +30,22 @@ done # Update fonts.alias, font size ranges from 8 to 128. +# Medium/Bold & Roman/Italic variations are also added. SIZE=8 touch fonts.alias sed -e '/^-moe-/d' -e '/^-twmoe-/d' fonts.alias > fonts.alias.tmp mv -f fonts.alias.tmp fonts.alias for FAMILY in kai lishu sung do - (while [ ${SIZE} -le 128 ] + (for WEIGHT in medium bold do - echo -moe-${FAMILY}-medium-r-normal--${SIZE}-`expr ${SIZE} \* 10`-0-0-c-`expr ${SIZE} \* 10`-big5-0 -twmoe-${FAMILY}-medium-r-normal--${SIZE}-`expr ${SIZE} \* 10`-0-0-c-`expr ${SIZE} \* 10`-big5-0 >> fonts.alias; - SIZE=`expr ${SIZE} + 1`; - done) -done + (for SLANT in r i + do + (while [ ${SIZE} -le 128 ] + do + echo -moe-${FAMILY}-${WEIGHT}-${SLANT}-normal--${SIZE}-`expr ${SIZE} \* 10`-0-0-c-`expr ${SIZE} \* 10`-big5-0 -twmoe-${FAMILY}-${WEIGHT}-${SLANT}-normal--${SIZE}-`expr ${SIZE} \* 10`-0-0-c-`expr ${SIZE} \* 10`-big5-0 >> fonts.alias; + SIZE=`expr ${SIZE} + 1`; + done) # SIZE + done) # SLANT + done) # WEIGHT +done # FAMILY --- moettf/Makefile.orig Mon Nov 1 14:46:20 1999 +++ moettf/Makefile Mon Nov 1 14:47:03 1999 @@ -1,7 +1,7 @@ # New ports collection makefile for: Chinese Big5 TrueType fonts # Version required: 1.0 # Date created: 9 July 1999 -# Whom: Keith Jang +# Whom: Keith Jang # # $FreeBSD: ports/chinese/moettf/Makefile,v 1.3 1999/08/25 04:57:52 obrien Exp $ # @@ -13,7 +13,7 @@ ftp://www.edu.tw/download/mandr/allbook/lishu/ DISTFILES= moe_kai.ttf moe_sung.ttf edustd-15.exe -MAINTAINER= jtjang@gcn.net.tw +MAINTAINER= keith@freebsd.sinica.edu.tw BUILD_DEPENDS= unrar:${PORTSDIR}/archivers/unrar LIB_DEPENDS= font.1:${PORTSDIR}/x11-servers/XttXF86srv-common >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message