view mkinstalldirs @ 90556:e56a86aa94cc

(font_otf_capability): Fix handling of the default langsys. (parse_gsub_gpos_spec): Type changed to void. New arg nbytes. Check the contents of SPEC. (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE): New macros. (check_gstring): New function. (REPLACEMENT_CHARACTER): New macro. (font_otf_gsub): New arg alternate_subst. Be sure to set all glyph codes of GSTRING. (font_otf_gpos): Be sure to set all glyph codes of GSTRING. (font_prepare_composition): Set cmp->glyph_len. (font_open_entity): Set font->scalable. (Ffont_get): Handle :otf property. (Ffont_otf_gsub, Ffont_otf_gpos, Ffont_otf_alternates): New functions. (Fquery_font): Use font->font.full_name. (syms_of_font): Defsubr Sfont_otf_gsub, Sfont_otf_gpos, and Sfont_otf_alternates.
author Kenichi Handa <handa@m17n.org>
date Fri, 28 Jul 2006 12:51:10 +0000
parents 746c40973d25
children 730155197b96 eb7e8d483840
line wrap: on
line source

#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain

errstatus=0

for file
do
   set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
   shift

   pathcomp=
   for d
   do
     pathcomp="$pathcomp$d"
     case "$pathcomp" in
       -* ) pathcomp=./$pathcomp ;;
     esac

     if test ! -d "$pathcomp"; then
        echo "mkdir $pathcomp" 1>&2

        (mkdir "$pathcomp" && chmod a+rx "$pathcomp") || lasterr=$?

        if test ! -d "$pathcomp"; then
  	  errstatus=$lasterr
        fi
     fi

     pathcomp="$pathcomp/"
   done
done

exit $errstatus

# mkinstalldirs ends here