@John Arnold 
There is a really simple workaround till this is fixed.  

This worked for me and let me compile xorgxrdp.  Not sure what your use
case is but...

step 1

$ sudo touch /usr/include/X11/fonts/fontutil.h

This file is owned by root:root, with mode 0o644.

Then edit that file and put the following contents into it:

#ifndef _FONTUTIL_H_
#define _FONTUTIL_H_

#include <X11/fonts/FSproto.h>

extern int FontCouldBeTerminal(FontInfoPtr);
extern int CheckFSFormat(fsBitmapFormat, fsBitmapFormatMask, int *, int *,
                         int *, int *, int *);
extern void FontComputeInfoAccelerators(FontInfoPtr);

extern void GetGlyphs ( FontPtr font, unsigned long count,
                        unsigned char *chars, FontEncoding fontEncoding,
                        unsigned long *glyphcount, CharInfoPtr *glyphs );
extern void QueryGlyphExtents ( FontPtr pFont, CharInfoPtr *charinfo,
                                unsigned long count, ExtentInfoRec *info );
extern Bool QueryTextExtents ( FontPtr pFont, unsigned long count,
                               unsigned char *chars, ExtentInfoRec *info );
extern Bool ParseGlyphCachingMode ( char *str );
extern void InitGlyphCaching ( void );
extern void SetGlyphCachingMode ( int newmode );
extern int add_range ( fsRange *newrange, int *nranges, fsRange **range,
                       Bool charset_subset );

#endif /* _FONTUTIL_H_ */

                          = = = = = = = = = =  =

Save the file and then do your compile/make etc and it should succeed.

Again, this is just a workaround till the bug gets fixed but it works
for me.


You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libxfont in Ubuntu.

  libxfont1-dev is missing fontutil.h

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to