dtudcfonted, dtudcexch: delete from repository
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
XCOMM $XConsortium: Imakefile /main/8 1996/09/09 11:19:48 drk $
|
||||
|
||||
DESTDIR = $(CDE_INSTALLATION_TOP)
|
||||
BINDIR = /bin
|
||||
|
||||
OPT1 = -DDEFAULT_CODESET='"'3'"'
|
||||
#ifdef X11ProjectRoot
|
||||
OPT2 = -DFONTC='"'$(XPROJECTROOT)/bin/bdftopcf'"'
|
||||
#else
|
||||
OPT2 = -DFONTC='"'$(BINDIR)/bdftopcf'"'
|
||||
#endif
|
||||
OPT3 = -DSNFFONTC='"'$(SNFFONTC)'"'
|
||||
|
||||
DEFINES = $(OPT1) $(OPT2) $(OPT3)
|
||||
|
||||
INCLUDES = -I../libfal/include\
|
||||
-I../include
|
||||
|
||||
LOCAL_LIBRARIES = ../libfuty/liboakfuty.a ../libfal/libfal.a $(XLIB) -lc
|
||||
|
||||
SRCS = gpftobdf.c
|
||||
|
||||
OBJS = gpftobdf.o
|
||||
|
||||
ComplexProgramTarget(dtgpftobdf)
|
||||
@@ -1,132 +0,0 @@
|
||||
/*
|
||||
* CDE - Common Desktop Environment
|
||||
*
|
||||
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these libraries and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/* $XConsortium: bdftosnf.h /main/4 1996/06/25 20:13:29 cde-fuj $ */
|
||||
/*
|
||||
* (c) Copyright 1995 FUJITSU LIMITED
|
||||
* This is source code modified by FUJITSU LIMITED under the Joint
|
||||
* Development Agreement for the CDEnext PST.
|
||||
* This is unpublished proprietary source code of FUJITSU LIMITED
|
||||
*/
|
||||
|
||||
|
||||
#include<X11/Xfuncs.h>
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(a,b) ((a)>(b)?(b):(a))
|
||||
#endif
|
||||
#ifndef MAX
|
||||
#define MAX(a,b) ((a)>(b)?(a):(b))
|
||||
#endif
|
||||
|
||||
typedef struct _GlyphMap {
|
||||
char *bits;
|
||||
int h;
|
||||
int w;
|
||||
int widthBytes;
|
||||
} GlyphMap;
|
||||
|
||||
/*
|
||||
* a structure to hold all the pointers to make it easy to pass them all
|
||||
* around. Much like the FONT structure in the server.
|
||||
*/
|
||||
|
||||
typedef struct _TempFont {
|
||||
FontInfoPtr pFI;
|
||||
CharInfoPtr pCI;
|
||||
unsigned char *pGlyphs;
|
||||
FontPropPtr pFP;
|
||||
CharInfoPtr pInkCI;
|
||||
CharInfoPtr pInkMin;
|
||||
CharInfoPtr pInkMax;
|
||||
} TempFont; /* not called font since collides with type in X.h */
|
||||
|
||||
#ifdef vax
|
||||
# define DEFAULTGLPAD 1 /* default padding for glyphs */
|
||||
# define DEFAULTBITORDER LSBFirst /* default bitmap bit order */
|
||||
# define DEFAULTBYTEORDER LSBFirst /* default bitmap byte order */
|
||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||
|
||||
#elif defined(sun)
|
||||
|
||||
# if (sun386 || sun5)
|
||||
# define DEFAULTGLPAD 4 /* default padding for glyphs */
|
||||
# define DEFAULTBITORDER LSBFirst /* default bitmap bit order */
|
||||
# define DEFAULTBYTEORDER LSBFirst /* default bitmap byte order */
|
||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||
# else
|
||||
# define DEFAULTGLPAD 4 /* default padding for glyphs */
|
||||
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
||||
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||
# endif
|
||||
|
||||
#elif defined(ibm032)
|
||||
|
||||
# define DEFAULTGLPAD 1 /* default padding for glyphs */
|
||||
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
||||
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||
|
||||
#elif defined(hpux)
|
||||
|
||||
# define DEFAULTGLPAD 2 /* default padding for glyphs */
|
||||
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
||||
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||
|
||||
#elif defined(pegasus)
|
||||
|
||||
# define DEFAULTGLPAD 4 /* default padding for glyphs */
|
||||
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
||||
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||
|
||||
#elif defined(mips)
|
||||
# ifdef MIPSEL
|
||||
|
||||
# define DEFAULTGLPAD 4 /* default padding for glyphs */
|
||||
# define DEFAULTBITORDER LSBFirst /* default bitmap bit order */
|
||||
# define DEFAULTBYTEORDER LSBFirst /* default bitmap byte order */
|
||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||
|
||||
# else
|
||||
# define DEFAULTGLPAD 4 /* default padding for glyphs */
|
||||
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
||||
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||
# endif
|
||||
|
||||
#else
|
||||
# define DEFAULTGLPAD 1 /* default padding for glyphs */
|
||||
# define DEFAULTBITORDER MSBFirst /* default bitmap bit order */
|
||||
# define DEFAULTBYTEORDER MSBFirst /* default bitmap byte order */
|
||||
# define DEFAULTSCANUNIT 1 /* default bitmap scan unit */
|
||||
#endif
|
||||
|
||||
#define GLWIDTHBYTESPADDED(bits,nbytes) \
|
||||
((nbytes) == 1 ? (((bits)+7)>>3) /* pad to 1 byte */ \
|
||||
:(nbytes) == 2 ? ((((bits)+15)>>3)&~1) /* pad to 2 bytes */ \
|
||||
:(nbytes) == 4 ? ((((bits)+31)>>3)&~3) /* pad to 4 bytes */ \
|
||||
:(nbytes) == 8 ? ((((bits)+63)>>3)&~7) /* pad to 8 bytes */ \
|
||||
: 0)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,86 +0,0 @@
|
||||
/*
|
||||
* CDE - Common Desktop Environment
|
||||
*
|
||||
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these libraries and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/* $XConsortium: gtobdf.h /main/3 1996/06/25 20:13:05 cde-fuj $ */
|
||||
/*
|
||||
* (c) Copyright 1995 FUJITSU LIMITED
|
||||
* This is source code modified by FUJITSU LIMITED under the Joint
|
||||
* Development Agreement for the CDEnext PST.
|
||||
* This is unpublished proprietary source code of FUJITSU LIMITED
|
||||
*/
|
||||
|
||||
|
||||
static
|
||||
unsigned int
|
||||
cvt[256]=
|
||||
{0x30300a00,0x30310a00,0x30320a00,0x30330a00,0x30340a00,0x30350a00,0x30360a00,
|
||||
0x30370a00,0x30380a00,0x30390a00,0x30610a00,0x30620a00,0x30630a00,0x30640a00,
|
||||
0x30650a00,0x30660a00,
|
||||
0x31300a00,0x31310a00,0x31320a00,0x31330a00,0x31340a00,0x31350a00,
|
||||
0x31360a00,0x31370a00,0x31380a00,0x31390a00,0x31610a00,0x31620a00,0x31630a00,
|
||||
0x31640a00,0x31650a00,0x31660a00,
|
||||
0x32300a00,0x32310a00,0x32320a00,0x32330a00,0x32340a00,0x32350a00,
|
||||
0x32360a00,0x32370a00,0x32380a00,0x32390a00,0x32610a00,0x32620a00,0x32630a00,
|
||||
0x31640a00,0x32650a00,0x32660a00,
|
||||
0x33300a00,0x33310a00,0x33320a00,0x33330a00,0x33340a00,0x33350a00,
|
||||
0x33360a00,0x33370a00,0x33380a00,0x33390a00,0x33610a00,0x33620a00,0x33630a00,
|
||||
0x33640a00,0x33650a00,0x33660a00,
|
||||
0x34300a00,0x34310a00,0x34320a00,0x34330a00,0x34340a00,0x34350a00,
|
||||
0x34360a00,0x34370a00,0x34380a00,0x34390a00,0x34610a00,0x34620a00,0x34630a00,
|
||||
0x34640a00,0x34650a00,0x34660a00,
|
||||
0x35300a00,0x35310a00,0x35320a00,0x35330a00,0x35340a00,0x35350a00,
|
||||
0x35360a00,0x35370a00,0x35380a00,0x35390a00,0x35610a00,0x35620a00,0x35630a00,
|
||||
0x35640a00,0x35650a00,0x35660a00,
|
||||
0x36300a00,0x36310a00,0x36320a00,0x36330a00,0x36340a00,0x36350a00,
|
||||
0x36360a00,0x36370a00,0x36380a00,0x36390a00,0x36610a00,0x36620a00,0x36630a00,
|
||||
0x36640a00,0x36650a00,0x36660a00,
|
||||
0x37300a00,0x37310a00,0x37320a00,0x37330a00,0x37340a00,0x37350a00,
|
||||
0x37360a00,0x37370a00,0x37380a00,0x37390a00,0x37610a00,0x37620a00,0x37630a00,
|
||||
0x37640a00,0x37650a00,0x37660a00,
|
||||
0x38300a00,0x38310a00,0x38320a00,0x38330a00,0x38340a00,0x38350a00,
|
||||
0x38360a00,0x38370a00,0x38380a00,0x38390a00,0x38610a00,0x38620a00,0x38630a00,
|
||||
0x38640a00,0x38650a00,0x38660a00,
|
||||
0x39300a00,0x39310a00,0x39320a00,0x39330a00,0x39340a00,0x39350a00,
|
||||
0x39360a00,0x39370a00,0x39380a00,0x39390a00,0x39610a00,0x39620a00,0x39630a00,
|
||||
0x39640a00,0x39650a00,0x39660a00,
|
||||
0x61300a00,0x61310a00,0x61320a00,0x61330a00,0x61340a00,0x61350a00,
|
||||
0x61360a00,0x61370a00,0x61380a00,0x61390a00,0x61610a00,0x61620a00,0x61630a00,
|
||||
0x61640a00,0x61650a00,0x61660a00,
|
||||
0x62300a00,0x62310a00,0x62320a00,0x62330a00,0x62340a00,0x62350a00,
|
||||
0x62360a00,0x62370a00,0x62380a00,0x62390a00,0x62610a00,0x62620a00,0x62630a00,
|
||||
0x62640a00,0x62650a00,0x62660a00,
|
||||
0x63300a00,0x63310a00,0x63320a00,0x63330a00,0x63340a00,0x63350a00,
|
||||
0x63360a00,0x63370a00,0x63380a00,0x63390a00,0x63610a00,0x63620a00,0x63630a00,
|
||||
0x63640a00,0x63650a00,0x63660a00,
|
||||
0x64300a00,0x64310a00,0x64320a00,0x64330a00,0x64340a00,0x64350a00,
|
||||
0x64360a00,0x64370a00,0x64380a00,0x64390a00,0x64610a00,0x64620a00,0x64630a00,
|
||||
0x64640a00,0x64650a00,0x64660a00,
|
||||
0x65300a00,0x65310a00,0x65320a00,0x65330a00,0x65340a00,0x65350a00,
|
||||
0x65360a00,0x65370a00,0x65380a00,0x65390a00,0x65610a00,0x65620a00,0x65630a00,
|
||||
0x65640a00,0x65650a00,0x65660a00,
|
||||
0x66300a00,0x66310a00,0x66320a00,0x66330a00,0x66340a00,0x66350a00,
|
||||
0x66360a00,0x66370a00,0x66380a00,0x66390a00,0x66610a00,0x66620a00,0x66630a00,
|
||||
0x66640a00,0x66650a00,0x66660a00 };
|
||||
static
|
||||
unsigned int *cvtp[256];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user