Browse Source

Remove mkftcap; superseded by g.mkfontcap

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33130 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 16 năm trước cách đây
mục cha
commit
f33fa5393b
3 tập tin đã thay đổi với 1 bổ sung57 xóa
  1. 1 1
      tools/Makefile
  2. 0 13
      tools/mkftcap/Makefile
  3. 0 43
      tools/mkftcap/mkftcap

+ 1 - 1
tools/Makefile

@@ -1,6 +1,6 @@
 MODULE_TOPDIR = ..
 MODULE_TOPDIR = ..
 
 
-SUBDIRS = timer mkftcap
+SUBDIRS = timer
 
 
 include $(MODULE_TOPDIR)/include/Make/Dir.make
 include $(MODULE_TOPDIR)/include/Make/Dir.make
 
 

+ 0 - 13
tools/mkftcap/Makefile

@@ -1,13 +0,0 @@
-MODULE_TOPDIR = ../..
-
-PGM = mkftcap
-
-CAPFILE = $(ETC)/freetypecap
-
-include $(MODULE_TOPDIR)/include/Make/Script.make
-include $(MODULE_TOPDIR)/include/Make/NoHtml.make
-
-default: script
-
-$(CAPFILE): $(SCRIPTDIR)/$(PGM)
-	$< > $@

+ 0 - 43
tools/mkftcap/mkftcap

@@ -1,43 +0,0 @@
-#!/bin/sh
-
-############################################################################
-#
-# MODULE:       mkftcap
-# AUTHOR(S):    Glynn Clements, Michael Barton, Paul Kelly
-# PURPOSE:      create font typecap file
-# COPYRIGHT:    (C) 2007 by the GRASS Development Team
-#
-#               This program is free software under the GNU General Public
-#               License (>=v2). Read the file COPYING that comes with GRASS
-#               for details.
-#
-#############################################################################
-
-
-exts='ttf TTF pfa PFA pfb PFB dfont DFONT oft OFT'
-
-(
-    for dir in /usr/lib/X11/fonts /usr/share/X11/fonts /usr/share/fonts \
-        "$HOME/Library/Fonts" /Library/Fonts /System/Library/Fonts \
-        "$WINDIR/Fonts" \
-        "$@"
-    do
-        if [ -d "$dir" ] ; then
-            for ext in $exts ; do
-                find "$dir" -type f -name '*.'"$ext" -print \
-                    | sed 's!^\(.*\)/\(.*\)$!\2:\1/\2:utf-8:!' \
-                    | sed 's/\.'"$ext"':/:/'
-            done
-        fi
-    done
-    
-    if which fc-list >&/dev/null ; then
-        fc-list :outline file index \
-            | sed -n \
-                  -e 's!^\(.*\)/\(.*\)\.\([^.]*\): :index=0$!\2:\1/\2.\3:utf-8:!p' \
-                  -e 's!^\(.*\)/\(.*\)\.\([^.]*\): :index=\([0-9]\+\)$!\2:\1/\2.\3|\4:utf-8:!p' \
-                  -e 's!^\(.*\)/\(.*\): :index=0$!\2:\1/\2:utf-8:!p' \
-                  -e 's!^\(.*\)/\(.*\): :index=\([0-9]\+\)$!\2:\1/\2|\3:utf-8:!p'
-    fi
-
-) | sort | uniq