
From: "Gordon W. Ross" <gwr>
Date: Sat, 8 Jul 95 10:45:05 EDT
To: xbugs@x.org
Subject: fonts: xc/fonts/bdf/misc should be split up
Reply-To: "Gordon Ross" <gwr>

     VERSION:

R6, public-patch-11

     CLIENT MACHINE and OPERATING SYSTEM:

Sparc/SunOS 4.1.3_U1

     DISPLAY TYPE:

Monochrome bwtwo

     WINDOW MANAGER:

twm

     COMPILER:

gcc 2.5.8

     AREA:

xc/fonts/bdf/misc

     SYNOPSIS:

There are several huge font files in xc/fonts/bdf/misc that
bloat the size of a minimal installation by about 7 megabytes.
The contents of that directory should be split.

     DESCRIPTION:

This is an enhancement request.  This enhancement would allow a
convenient way to save about 7 megabytes on a minimal run-time
installation by moving several large fonts from xc/fonts/bdf/misc
to xc/fonts/bdf/fareast (fonts used mostly in the far east).

     REPEAT BY:

Do normal build and install, then examine the size of:
	lib/X11/fonts/misc

     SAMPLE FIX:

Here is what I would propose.  First, move some files:

  cd xc/fonts/bdf
  mkdir fareast
  mv misc/gb*   fareast
  mv misc/hang* fareast
  mv misc/jisk* fareast
  mv misc/k14*  fareast

Then, apply the following patches:

diff -c misc/Imakefile.save misc/Imakefile
*** misc/Imakefile.save	Thu Feb 10 08:50:18 1994
--- misc/Imakefile	Fri Jul  7 17:51:14 1995
***************
*** 1,4 ****
--- 1,6 ----
  XCOMM $XConsortium: Imakefile,v 1.33 94/02/10 16:50:15 rws Exp $
+ XCOMM Moved some large fonts to ../fareast <gwr@mc.com>
+ 
  OBJS = FontObj(5x7) FontObj(5x8) FontObj(6x9) FontObj(6x10) FontObj(6x12) \
  	FontObj(6x13) FontObj(6x13B) FontObj(7x13) FontObj(7x13B) FontObj(8x13) \
  	FontObj(8x13B) FontObj(9x15) FontObj(9x15B) FontObj(10x20) \
***************
*** 13,23 ****
  	FontObj(clR7x8) FontObj(clR8x10) FontObj(clR8x12) FontObj(clR8x13) \
  	FontObj(clR8x14) FontObj(clR8x16) FontObj(clR8x8) FontObj(clR9x15) \
  	FontObj(heb6x13) FontObj(heb8x13) \
! 	FontObj(k14) FontObj(7x14) FontObj(7x14B) FontObj(7x14rk) \
! 	FontObj(12x24) FontObj(12x24rk) FontObj(8x16) FontObj(8x16rk) \
! 	FontObj(jiskan16) FontObj(jiskan24) \
! 	FontObj(hanglg16) FontObj(hanglm16) FontObj(hanglm24) \
! 	FontObj(gb16fs) FontObj(gb16st) FontObj(gb24st)
  
  FONTINSTDIR = $(FONTDIR)/misc
  
--- 15,23 ----
  	FontObj(clR7x8) FontObj(clR8x10) FontObj(clR8x12) FontObj(clR8x13) \
  	FontObj(clR8x14) FontObj(clR8x16) FontObj(clR8x8) FontObj(clR9x15) \
  	FontObj(heb6x13) FontObj(heb8x13) \
! 	FontObj(7x14) FontObj(7x14B) FontObj(7x14rk) \
! 	FontObj(8x16) FontObj(8x16rk) \
! 	FontObj(12x24) FontObj(12x24rk)
  
  FONTINSTDIR = $(FONTDIR)/misc
  
***************
*** 79,85 ****
  FontTarget(clR9x15)
  FontTarget(heb6x13)
  FontTarget(heb8x13)
- FontTarget(k14)
  FontTarget(7x14)
  FontTarget(7x14B)
  FontTarget(7x14rk)
--- 79,84 ----
***************
*** 87,100 ****
  FontTarget(12x24rk)
  FontTarget(8x16)
  FontTarget(8x16rk)
- FontTarget(jiskan16)
- FontTarget(jiskan24)
- FontTarget(hanglg16)
- FontTarget(hanglm16)
- FontTarget(hanglm24)
- FontTarget(gb16fs)
- FontTarget(gb16st)
- FontTarget(gb24st)
  
  InstallFonts($(FONTINSTDIR))
  InstallFontAliases($(FONTINSTDIR))
--- 86,91 ----

diff -c misc/fonts.alias.save misc/fonts.alias
*** misc/fonts.alias.save	Mon Apr 11 05:28:47 1994
--- misc/fonts.alias	Fri Jul  7 17:36:11 1995
***************
*** 1,4 ****
--- 1,6 ----
  ! $XConsortium: fonts.alias,v 1.31 94/04/11 12:28:00 gildea Exp $
+ ! Moved some large fonts to ../fareast <gwr@mc.com>
+ 
  fixed        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
  variable     -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-1
  5x7          -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso8859-1
***************
*** 24,48 ****
  heb6x13      -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-8
  heb8x13      -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-8
  
- k14          -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0
  a14          -misc-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-1
- r14          -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0201.1976-0
- rk14         -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0201.1976-0
- r16          -sony-fixed-medium-r-normal--16-*-*-*-*-*-jisx0201.1976-0
- rk16         -sony-fixed-medium-r-normal--16-*-*-*-*-*-jisx0201.1976-0
- r24          -sony-fixed-medium-r-normal--24-*-*-*-*-*-jisx0201.1976-0
- rk24         -sony-fixed-medium-r-normal--24-*-*-*-*-*-jisx0201.1976-0
- kana14       -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0201.1976-0
- 8x16kana     -sony-fixed-medium-r-normal--16-120-100-100-c-80-jisx0201.1976-0
- 8x16romankana -sony-fixed-medium-r-normal--16-120-100-100-c-80-jisx0201.1976-0
- 12x24kana     -sony-fixed-medium-r-normal--24-170-100-100-c-120-jisx0201.1976-0
- 12x24romankana -sony-fixed-medium-r-normal--24-170-100-100-c-120-jisx0201.1976-0
- kanji16      -jis-fixed-medium-r-normal--16-*-*-*-*-*-jisx0208.1983-0
- kanji24      -jis-fixed-medium-r-normal--24-*-*-*-*-*-jisx0208.1983-0
- 
- hanzigb16st "-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0"
- hanzigb24st "-isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0"
- hanzigb16fs "-isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0"
  
  olcursor   "-sun-open look cursor-----12-120-75-75-p-160-sunolcursor-1"
  olglyph-10 "-sun-open look glyph-----10-100-75-75-p-101-sunolglyph-1"
--- 26,32 ----

diff -c fareast/Imakefile.save fareast/Imakefile
*** fareast/Imakefile.save	Sat Jul  8 10:35:49 1995
--- fareast/Imakefile	Fri Jul  7 17:49:24 1995
***************
*** 0 ****
--- 1,22 ----
+ XCOMM $XConsortium: Imakefile,v 1.33 94/02/10 16:50:15 rws Exp $
+ 
+ OBJS=	FontObj(k14) FontObj(jiskan16) FontObj(jiskan24) \
+ 	FontObj(hanglg16) FontObj(hanglm16) FontObj(hanglm24) \
+ 	FontObj(gb16fs) FontObj(gb16st) FontObj(gb24st)
+ 
+ FONTINSTDIR = $(FONTDIR)/fareast
+ 
+ MakeFonts()
+ 
+ FontTarget(k14)
+ FontTarget(jiskan16)
+ FontTarget(jiskan24)
+ FontTarget(hanglg16)
+ FontTarget(hanglm16)
+ FontTarget(hanglm24)
+ FontTarget(gb16fs)
+ FontTarget(gb16st)
+ FontTarget(gb24st)
+ 
+ InstallFonts($(FONTINSTDIR))
+ InstallFontAliases($(FONTINSTDIR))

diff -c fareast/fonts.alias.save fareast/fonts.alias
*** fareast/fonts.alias.save	Sat Jul  8 10:36:10 1995
--- fareast/fonts.alias	Fri Jul  7 17:37:53 1995
***************
*** 0 ****
--- 1,52 ----
+ ! $XConsortium: fonts.alias,v 1.31 94/04/11 12:28:00 gildea Exp $
+ 
+ k14          -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0
+ a14          -misc-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-1
+ r14          -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0201.1976-0
+ rk14         -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0201.1976-0
+ r16          -sony-fixed-medium-r-normal--16-*-*-*-*-*-jisx0201.1976-0
+ rk16         -sony-fixed-medium-r-normal--16-*-*-*-*-*-jisx0201.1976-0
+ r24          -sony-fixed-medium-r-normal--24-*-*-*-*-*-jisx0201.1976-0
+ rk24         -sony-fixed-medium-r-normal--24-*-*-*-*-*-jisx0201.1976-0
+ kana14       -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0201.1976-0
+ 8x16kana     -sony-fixed-medium-r-normal--16-120-100-100-c-80-jisx0201.1976-0
+ 8x16romankana -sony-fixed-medium-r-normal--16-120-100-100-c-80-jisx0201.1976-0
+ 12x24kana     -sony-fixed-medium-r-normal--24-170-100-100-c-120-jisx0201.1976-0
+ 12x24romankana -sony-fixed-medium-r-normal--24-170-100-100-c-120-jisx0201.1976-0
+ kanji16      -jis-fixed-medium-r-normal--16-*-*-*-*-*-jisx0208.1983-0
+ kanji24      -jis-fixed-medium-r-normal--24-*-*-*-*-*-jisx0208.1983-0
+ 
+ hanzigb16st "-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0"
+ hanzigb24st "-isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0"
+ hanzigb16fs "-isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0"
+ 
+ -misc-fixed-medium-r-normal--7-50-100-100-c-50-iso8859-1 -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso8859-1
+ -misc-fixed-medium-r-normal--8-60-100-100-c-50-iso8859-1 -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso8859-1
+ -misc-fixed-medium-r-normal--9-80-100-100-c-60-iso8859-1 -misc-fixed-medium-r-normal--9-90-75-75-c-60-iso8859-1
+ -misc-fixed-medium-r-normal--10-70-100-100-c-60-iso8859-1 -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1
+ -misc-fixed-medium-r-semicondensed--12-90-100-100-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1
+ -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
+ -misc-fixed-bold-r-semicondensed--13-100-100-100-c-60-iso8859-1 -misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso8859-1
+ -misc-fixed-medium-r-normal--13-100-100-100-c-70-iso8859-1 -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
+ -misc-fixed-bold-r-normal--13-100-100-100-c-70-iso8859-1 -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1
+ -misc-fixed-medium-r-normal--13-100-100-100-c-80-iso8859-1 -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1
+ -misc-fixed-bold-r-normal--13-100-100-100-c-80-iso8859-1 -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso8859-1
+ -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
+ -misc-fixed-medium-r-normal--15-120-100-100-c-90-iso8859-1 -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1
+ -misc-fixed-bold-r-normal--15-120-100-100-c-90-iso8859-1 -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso8859-1
+ -misc-fixed-medium-r-normal--20-140-100-100-c-100-iso8859-1 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1
+ -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-8 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-8
+ -misc-fixed-medium-r-normal--13-100-100-100-c-80-iso8859-8 -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-8
+ -sony-fixed-medium-r-normal--16-150-75-75-c-80-iso8859-1 -sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1
+ -sony-fixed-medium-r-normal--16-150-75-75-c-80-jisx0201.1976-0 -sony-fixed-medium-r-normal--16-120-100-100-c-80-jisx0201.1976-0
+ -sony-fixed-medium-r-normal--24-230-75-75-c-120-iso8859-1 -sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1
+ -sony-fixed-medium-r-normal--24-230-75-75-c-120-jisx0201.1976-0 -sony-fixed-medium-r-normal--24-170-100-100-c-120-jisx0201.1976-0
+ -jis-fixed-medium-r-normal--16-110-100-100-c-160-jisx0208.1983-0 -jis-fixed-medium-r-normal--16-150-75-75-c-160-jisx0208.1983-0
+ -jis-fixed-medium-r-normal--24-170-100-100-c-240-jisx0208.1983-0 -jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0
+ 
+ ! These fonts are not really ISO8859-1, but these aliases are provided
+ ! for compatibility with X11R5.
+ 
+ -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso8859-1 -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso646.1991-irv
+ -misc-fixed-medium-r-normal--9-90-75-75-c-60-iso8859-1 -misc-fixed-medium-r-normal--9-90-75-75-c-60-iso646.1991-irv
+ -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso646.1991-irv

Gordon W. Ross			  Internet: <gwr@mc.com>
Mercury Computer Systems	Voice mail: 508-256-0052x295
199 Riverneck Road		Front desk: 508-256-1300
Chelmsford, MA 01824-2820	 Facsimile: 508-256-3599


