e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync/***********************************************************
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCopyright 1987, 1998 The Open Group
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncPermission to use, copy, modify, distribute, and sell this software and its
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncdocumentation for any purpose is hereby granted without fee, provided that
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncthe above copyright notice appear in all copies and that both that
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsynccopyright notice and this permission notice appear in supporting
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncdocumentation.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncThe above copyright notice and this permission notice shall be included in
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncall copies or substantial portions of the Software.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncExcept as contained in this notice, the name of The Open Group shall not be
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncused in advertising or otherwise to promote the sale, use or other dealings
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncin this Software without prior written authorization from The Open Group.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCopyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync All Rights Reserved
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncPermission to use, copy, modify, and distribute this software and its
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncdocumentation for any purpose and without fee is hereby granted,
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncprovided that the above copyright notice appear in all copies and that
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncboth that copyright notice and this permission notice appear in
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncsupporting documentation, and that the name of Digital not be
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncused in advertising or publicity pertaining to distribution of the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncsoftware without specific, written prior permission.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncDIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync******************************************************************/
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * Note: much of this is vestigial from mfb/cfb times. This should
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * really be simplified even further.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * Machine dependent values:
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * GLYPHPADBYTES should be chosen with consideration for the space-time
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * trade-off. Padding to 0 bytes means that there is no wasted space
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * in the font bitmaps (both on disk and in memory), but that access of
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * the bitmaps will cause odd-address memory references. Padding to
612ab06c3d17ed10137724a3745004d09566f53avboxsync * 2 bytes would ensure even address memory references and would
612ab06c3d17ed10137724a3745004d09566f53avboxsync * be suitable for a 68010-class machine, but at the expense of wasted
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * space in the font bitmaps. Padding to 4 bytes would be good
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * for real 32 bit machines, etc. Be sure that you tell the font
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * compiler what kind of padding you want because its defines are
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * kept separate from this. See server/include/font.h for how
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync * GLYPHPADBYTES is used.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#endif /* __avr32__ */
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#endif /* __arm32__ */
#if defined(__sh__)
#if defined(__BIG_ENDIAN__)
#if defined(__m32r__)
#if defined(__BIG_ENDIAN__)
# if !defined(sparc)
#ifdef __i386__
#ifdef __i386__
defined(__i386__) || \
#ifndef IMAGE_BYTE_ORDER
#ifndef BITMAP_BIT_ORDER
#ifndef GLYPHPADBYTES
#ifndef IMAGE_BUFSIZE
#ifndef BITMAP_SCANLINE_UNIT
#ifndef BITMAP_SCANLINE_PAD