annotate oldXMenu/descrip.mms @ 93762:46d39c0f7bf9

(uniscribe_shape): Increase items buffer size. Give up if glyph indices not supported. Use uniscribe obtained ABC widths for individual metrics. Map glyph clusters back to characters using fClusterStart flag. Return number of glyphs produced, not chars processed.
author Jason Rumney <jasonr@gnu.org>
date Sun, 06 Apr 2008 01:04:45 +0000
parents 43c5da03890c
children 3765d76f7fa8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
76175
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
1 ### descrip.mms - port of oldXMenu Makefile to VMS
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
2
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
3 ## Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005, 2006,
79743
43c5da03890c Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78242
diff changeset
4 ## 2007, 2008 Free Software Foundation, Inc.
76175
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
5
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
6 ## Author: Richard Levitte
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
7
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
8 ## This program is free software; you can redistribute it and/or modify
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
9 ## it under the terms of the GNU General Public License as published by
78242
8ef64bae1dc8 Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 76175
diff changeset
10 ## the Free Software Foundation; either version 3, or (at your option)
76175
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
11 ## any later version.
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
12
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
13 ## This program is distributed in the hope that it will be useful,
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
14 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
16 ## GNU General Public License for more details.
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
17
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
18 ## You should have received a copy of the GNU General Public License
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
19 ## along with this program; see the file COPYING. If not, write to
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
20 ## the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
21 ## Boston, MA 02110-1301, USA.
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
22
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
23
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
24 ### Code:
1e98efa5f4b3 Add FSF copyright and GPL.
Glenn Morris <rgm@gnu.org>
parents: 25858
diff changeset
25
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
26 !# Uncomment following line if linking temacs complains about missing insque.
Dave Love <fx@gnu.org>
parents:
diff changeset
27 EXTRA=insque.obj
Dave Love <fx@gnu.org>
parents:
diff changeset
28
Dave Love <fx@gnu.org>
parents:
diff changeset
29 AS = as
Dave Love <fx@gnu.org>
parents:
diff changeset
30 CC = cc
Dave Love <fx@gnu.org>
parents:
diff changeset
31 LD = link
Dave Love <fx@gnu.org>
parents:
diff changeset
32 TAGS = etags
Dave Love <fx@gnu.org>
parents:
diff changeset
33 RM = delete
Dave Love <fx@gnu.org>
parents:
diff changeset
34 MV = rename
Dave Love <fx@gnu.org>
parents:
diff changeset
35 AR = library/insert
Dave Love <fx@gnu.org>
parents:
diff changeset
36 MAKE = mms
Dave Love <fx@gnu.org>
parents:
diff changeset
37 STD_DEFINES =
Dave Love <fx@gnu.org>
parents:
diff changeset
38 CDEBUGFLAGS = /debug/noopt
Dave Love <fx@gnu.org>
parents:
diff changeset
39 RM_CMD = $(RM) *.BAK.*, *.obj.*
Dave Love <fx@gnu.org>
parents:
diff changeset
40
Dave Love <fx@gnu.org>
parents:
diff changeset
41 SRCS = Activate.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
42 AddPane.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
43 AddSel.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
44 ChgPane.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
45 ChgSel.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
46 Create.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
47 DelPane.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
48 DelSel.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
49 Destroy.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
50 Error.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
51 EvHand.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
52 FindPane.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
53 FindSel.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
54 InsPane.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
55 InsSel.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
56 Internal.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
57 Locate.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
58 Post.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
59 Recomp.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
60 SetAEQ.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
61 SetFrz.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
62 SetPane.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
63 SetSel.c, -
Dave Love <fx@gnu.org>
parents:
diff changeset
64 XDelAssoc.c, XLookAssoc.c, XCrAssoc.c, XDestAssoc.c, XMakeAssoc.c
Dave Love <fx@gnu.org>
parents:
diff changeset
65
Dave Love <fx@gnu.org>
parents:
diff changeset
66 OBJS = Activate.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
67 AddPane.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
68 AddSel.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
69 ChgPane.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
70 ChgSel.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
71 Create.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
72 DelPane.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
73 DelSel.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
74 Destroy.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
75 Error.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
76 EvHand.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
77 FindPane.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
78 FindSel.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
79 InsPane.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
80 InsSel.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
81 Internal.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
82 Locate.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
83 Post.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
84 Recomp.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
85 SetAEQ.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
86 SetFrz.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
87 SetPane.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
88 SetSel.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
89 XDelAssoc.obj, XLookAssoc.obj, XCrAssoc.obj, XDestAssoc.obj, -
Dave Love <fx@gnu.org>
parents:
diff changeset
90 XMakeAssoc.obj
Dave Love <fx@gnu.org>
parents:
diff changeset
91
Dave Love <fx@gnu.org>
parents:
diff changeset
92 .c.obj :
Dave Love <fx@gnu.org>
parents:
diff changeset
93 if f$search("$@") then $(RM) $@.*
Dave Love <fx@gnu.org>
parents:
diff changeset
94 $(CC) /obj=$@ $(CFLAGS) $*.c
Dave Love <fx@gnu.org>
parents:
diff changeset
95
Dave Love <fx@gnu.org>
parents:
diff changeset
96 all :: libXMenu11.olb
Dave Love <fx@gnu.org>
parents:
diff changeset
97 !
Dave Love <fx@gnu.org>
parents:
diff changeset
98
Dave Love <fx@gnu.org>
parents:
diff changeset
99 libXMenu11.olb : $(OBJS) $(EXTRA)
Dave Love <fx@gnu.org>
parents:
diff changeset
100 if f$search("$@") then $(RM) $@.*
Dave Love <fx@gnu.org>
parents:
diff changeset
101 $(AR)/create $@ $(OBJS)
Dave Love <fx@gnu.org>
parents:
diff changeset
102 if ("$(EXTRA)" .nes. "") then $(AR) $@ $(EXTRA)
Dave Love <fx@gnu.org>
parents:
diff changeset
103 #If running ranlib fails, probably there is none.
Dave Love <fx@gnu.org>
parents:
diff changeset
104 #That's ok. So don't stop the build.
Dave Love <fx@gnu.org>
parents:
diff changeset
105
Dave Love <fx@gnu.org>
parents:
diff changeset
106 distclean : clean
Dave Love <fx@gnu.org>
parents:
diff changeset
107 !
Dave Love <fx@gnu.org>
parents:
diff changeset
108
Dave Love <fx@gnu.org>
parents:
diff changeset
109 clean ::
Dave Love <fx@gnu.org>
parents:
diff changeset
110 $(RM_CMD) \#* libXMenu11.a *.obj,
Dave Love <fx@gnu.org>
parents:
diff changeset
111 tags ::
Dave Love <fx@gnu.org>
parents:
diff changeset
112 $(TAGS) -t *.[ch]
Dave Love <fx@gnu.org>
parents:
diff changeset
113