Date: Mon, 1 Nov 1999 16:40:50 +0800 (CST) From: keith@ml.tw.freebsd.org To: FreeBSD-gnats-submit@freebsd.org Subject: ports/14642: Update port: chinese/moettf Message-ID: <199911010840.QAA98065@freebsd.sinica.edu.tw>
next in thread | raw e-mail | index | archive | help
>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 <jtjang@gcn.net.tw> +# Whom: Keith Jang <keith@freebsd.sinica.edu.tw> # # $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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911010840.QAA98065>