-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing xrdp compilation issue (#20) with temporary workaround due to …
…ubuntu package issue neutrinolabs/xorgxrdp#100 https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691
- Loading branch information
Showing
2 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#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_ */ |