| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | #ifndef _FONTPROTO_H |
| 24 | #define _FONTPROTO_H |
| 25 | |
| 26 | #include <X11/Xfuncproto.h> |
| 27 | |
| 28 | |
| 29 | |
| 30 | extern _X_EXPORT int RegisterFPEFunctions ( |
| 31 | NameCheckFunc name_func, |
| 32 | InitFpeFunc init_func, |
| 33 | FreeFpeFunc free_func, |
| 34 | ResetFpeFunc reset_func, |
| 35 | OpenFontFunc open_func, |
| 36 | CloseFontFunc close_func, |
| 37 | ListFontsFunc list_func, |
| 38 | StartLfwiFunc start_lfwi_func, |
| 39 | NextLfwiFunc next_lfwi_func, |
| 40 | WakeupFpeFunc wakeup_func, |
| 41 | ClientDiedFunc client_died, |
| 42 | LoadGlyphsFunc load_glyphs, |
| 43 | StartLaFunc start_list_alias_func, |
| 44 | NextLaFunc next_list_alias_func, |
| 45 | SetPathFunc set_path_func); |
| 46 | |
| 47 | extern _X_EXPORT int GetDefaultPointSize ( void ); |
| 48 | |
| 49 | extern _X_EXPORT int init_fs_handlers ( FontPathElementPtr fpe, |
| 50 | BlockHandlerProcPtr block_handler); |
| 51 | extern _X_EXPORT void remove_fs_handlers ( FontPathElementPtr fpe, |
| 52 | BlockHandlerProcPtr block_handler, |
| 53 | Bool all ); |
| 54 | |
| 55 | extern _X_EXPORT int client_auth_generation ( ClientPtr client ); |
| 56 | |
| 57 | #ifndef ___CLIENTSIGNAL_DEFINED___ |
| 58 | #define ___CLIENTSIGNAL_DEFINED___ |
| 59 | extern Bool ClientSignal ( ClientPtr client ); |
| 60 | #endif |
| 61 | |
| 62 | extern _X_EXPORT void DeleteFontClientID ( Font id ); |
| 63 | extern _X_EXPORT Font GetNewFontClientID ( void ); |
| 64 | extern _X_EXPORT int StoreFontClientFont ( FontPtr pfont, Font id ); |
| 65 | extern _X_EXPORT void FontFileRegisterFpeFunctions ( void ); |
| 66 | extern _X_EXPORT void FontFileCheckRegisterFpeFunctions ( void ); |
| 67 | |
| 68 | extern Bool XpClientIsBitmapClient ( ClientPtr client ); |
| 69 | extern Bool XpClientIsPrintClient( ClientPtr client, FontPathElementPtr fpe ); |
| 70 | extern void PrinterFontRegisterFpeFunctions ( void ); |
| 71 | |
| 72 | extern void fs_register_fpe_functions ( void ); |
| 73 | extern void check_fs_register_fpe_functions ( void ); |
| 74 | |
| 75 | |
| 76 | extern FontPtr CreateFontRec (void); |
| 77 | extern void DestroyFontRec (FontPtr font); |
| 78 | extern Bool _FontSetNewPrivate (FontPtr , |
| 79 | int , |
| 80 | void * ); |
| 81 | extern int AllocateFontPrivateIndex (void); |
| 82 | extern void ResetFontPrivateIndex (void); |
| 83 | |
| 84 | |
| 85 | extern void Type1RegisterFontFileFunctions(void); |
| 86 | extern void CIDRegisterFontFileFunctions(void); |
| 87 | |
| 88 | |
| 89 | extern void SpeedoRegisterFontFileFunctions(void); |
| 90 | |
| 91 | |
| 92 | extern void FreeTypeRegisterFontFileFunctions(void); |
| 93 | |
| 94 | #endif |