home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!darwin.sura.net!wupost!gumby!destroyer!sol.ctr.columbia.edu!carson
- From: carson@cs.columbia.edu (Carson A. Gaspar)
- Subject: Problems with Type1 font support - X11R5p14 SunOs 4.1.2
- Organization: Columbia University Department of Computer Science
- References: <#yhmwhc.qualtrak@netcom.com> <WARE.92Jul27142118@organ.cis.ohio-state.edu>
- Message-ID: <1992Jul27.183722.25789@ctr.columbia.edu>
- Distribution: usa
- Sender: news@ctr.columbia.edu (The Daily Lose)
- Date: Mon, 27 Jul 1992 18:37:22 GMT
- X-Posted-From: shadow.cs.columbia.edu
- X-Posted-Through: sol.ctr.columbia.edu
- Lines: 51
-
- When I make all in mit/fonts/lib/fonts/Type1, I get the following
- error:
-
- rm -f t1funcs.o
- cc -c -O -pipe -I../../../.././fonts/lib/font/include
- -I../../../.././fonts/include -I../../../.././fonts/../include
- -I../../../.././fonts/../. -I../../../../. -DXDMCP -DSHAPE -DXIDLE
- -DMULTIBUFFER -DMITMISC -DPEXEXT -DMITSHM -DXTRAP=32 -DVERBOSE
- -DINCLUDE_ALLOCA_H t1funcs.c
- "t1funcs.c", line 692: get_bitmaps undefined
- "t1funcs.c", line 695: get_extents undefined
- make: *** [t1funcs.o] Error 1
-
- cc/gcc give the same error, gcc with slightly more context. The code
- generating the error is this:
-
- int Type1OpenScalable (fpe, ppFont, flags, entry, fileName, vals, format, fmask)
- FontPathElementPtr fpe;
- FontPtr *ppFont;
- int flags;
- FontEntryPtr entry;
- char *fileName;
- FontScalablePtr vals;
- fsBitmapFormat format;
- fsBitmapFormatMask fmask;
- {
- .
- .
- .
- FontPtr pFont;
- .
- .
- .
- pFont->get_bitmaps = GenericGetBitmaps;
- pFont->get_metrics = Type1GetMetrics;
- pFont->get_glyphs = Type1GetGlyphs;
- pFont->get_extents = GenericGetExtents;
- pFont->unload_font = Type1CloseFont;
- pFont->refcnt = 0;
- pFont->maxPrivate = -1;
- pFont->devPrivates = 0;
-
-
-
- I can't figure out where the FontPtr type is defined, and can't find
- any references to get_bitmaps or get_extents. What's going on? As of
- X11R5p12, I had no problems.
-
- --
- Carson Gaspar
- carson@cs.columbia.edu
-