| 1 |
/****************************************************************************\ |
| 2 |
Part of the XeTeX typesetting system |
| 3 |
Copyright (c) 1994-2008 by SIL International |
| 4 |
Copyright (c) 2009-2012 by Jonathan Kew |
| 5 |
Copyright (c) 2010-2014 by Han The Thanh |
| 6 |
Copyright (c) 2012-2015 by Khaled Hosny |
| 7 |
Copyright (c) 2014 by Peter Breitenlohner |
| 8 |
|
| 9 |
SIL Author(s): Jonathan Kew |
| 10 |
|
| 11 |
Permission is hereby granted, free of charge, to any person obtaining |
| 12 |
a copy of this software and associated documentation files (the |
| 13 |
"Software"), to deal in the Software without restriction, including |
| 14 |
without limitation the rights to use, copy, modify, merge, publish, |
| 15 |
distribute, sublicense, and/or sell copies of the Software, and to |
| 16 |
permit persons to whom the Software is furnished to do so, subject to |
| 17 |
the following conditions: |
| 18 |
|
| 19 |
The above copyright notice and this permission notice shall be |
| 20 |
included in all copies or substantial portions of the Software. |
| 21 |
|
| 22 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 23 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 24 |
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 25 |
NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE |
| 26 |
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF |
| 27 |
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
| 28 |
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 29 |
|
| 30 |
Except as contained in this notice, the name of the copyright holders |
| 31 |
shall not be used in advertising or otherwise to promote the sale, |
| 32 |
use or other dealings in this Software without prior written |
| 33 |
authorization from the copyright holders. |
| 34 |
\****************************************************************************/ |
| 35 |
|
| 36 |
#ifndef __XETEX_WEB_H |
| 37 |
#define __XETEX_WEB_H |
| 38 |
|
| 39 |
#include <XeTeX_ext.h> |
| 40 |
|
| 41 |
#ifdef __cplusplus |
| 42 |
extern "C" { |
| 43 |
#endif |
| 44 |
|
| 45 |
// declarations from the Pascal/WEB side used in C++ code |
| 46 |
|
| 47 |
extern void zprintnl(int s); |
| 48 |
extern void zprintchar(int c); |
| 49 |
extern void begindiagnostic(void); |
| 50 |
extern void zenddiagnostic(int nl); |
| 51 |
extern int gettracingfontsstate(void); |
| 52 |
extern void set_cp_code(int, unsigned int, int, int); |
| 53 |
extern int get_cp_code(int, unsigned int, int); |
| 54 |
|
| 55 |
extern Fixed loadedfontdesignsize; |
| 56 |
extern void **fontlayoutengine; |
| 57 |
extern integer *fontarea; |
| 58 |
extern integer *fontsize; |
| 59 |
|
| 60 |
#ifdef __cplusplus |
| 61 |
}; |
| 62 |
#endif |
| 63 |
|
| 64 |
#endif /* __XETEX_WEB_H */ |