Mercurial > pidgin
annotate mkinstalldirs @ 306:a8f964718837
[gaim-migrate @ 316]
Ok, one last time, for the record:
- It tries to load the requested font in the requested size.
- It tries to load the requested font at *any* size.
- It tries to load either courier or helvetica with the requested features at
any size.
- It tries to load the other of the two with the requested features at any size.
- It tries to load the chosen outgoing font with the requested features at any
size, if one exists.
- It tries to load courier with no features (bold, italics, etc) at any size.
- It tries to load helvetica with no features (bold, italics, etc) at any size.
- It tries to load times with no features (bold, italics, etc) at any size.
- It tries to load *any* font, generally the first one GDK can find, which ends
up usually being something like Arial Bold.
It returns after it gets a font, or after it gets *any* font. If you didn't get
one, your system is screwy.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 01 Jun 2000 19:27:18 +0000 |
parents | 494816c30ca7 |
children |
rev | line source |
---|---|
5 | 1 #! /bin/sh |
2 # mkinstalldirs --- make directory hierarchy | |
3 # Author: Noah Friedman <friedman@prep.ai.mit.edu> | |
4 # Created: 1993-05-16 | |
5 # Public domain | |
6 | |
7 # $Id: mkinstalldirs 14 2000-03-23 03:23:41Z robflynn $ | |
8 | |
9 errstatus=0 | |
10 | |
11 for file | |
12 do | |
13 set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` | |
14 shift | |
15 | |
16 pathcomp= | |
17 for d | |
18 do | |
19 pathcomp="$pathcomp$d" | |
20 case "$pathcomp" in | |
21 -* ) pathcomp=./$pathcomp ;; | |
22 esac | |
23 | |
24 if test ! -d "$pathcomp"; then | |
25 echo "mkdir $pathcomp" 1>&2 | |
26 | |
27 mkdir "$pathcomp" || lasterr=$? | |
28 | |
29 if test ! -d "$pathcomp"; then | |
30 errstatus=$lasterr | |
31 fi | |
32 fi | |
33 | |
34 pathcomp="$pathcomp/" | |
35 done | |
36 done | |
37 | |
38 exit $errstatus | |
39 | |
40 # mkinstalldirs ends here |