%! xlogo.ps - draw the "official" X Window System Logo, designed by Danny Chong % % Copyright (C) 1988 by Jef Poskanzer. % % Permission to use, copy, modify, and distribute this software and its % documentation for any purpose and without fee is hereby granted, provided % that the above copyright notice appear in all copies and that both that % copyright notice and this permission notice appear in supporting % documentation. This software is provided "as is" without express or % implied warranty. /inch { 72 mul } def /size 2 inch def % change this to change logo size 8.5 inch size sub 2 div 11 inch size sub 2 div translate gsave 0 size translate [ 1 0 0 -1 0 0 ] concat /black 0 def /white 1 def /d11 size 11 div def /d21 d11 3 add 4 div def /d31 d11 d11 d21 add add def /eps size 100 div def % ----- % / / % / / % / / % / / % /____/ size 0 moveto size d31 sub 0 lineto 0 size lineto d31 size lineto black setgray fill % ------ % / / % / __ / % / / / % / / / % /__/__/ d31 2 div size moveto size 2 div size 2 div lineto size 2 div d31 2 div add eps add size 2 div lineto d31 eps add size eps add lineto white setgray fill % ------ % / / / % /__/ / % / / % / / % /_____/ size d31 2 div sub 0 moveto size 2 div size 2 div lineto size 2 div d31 2 div sub eps sub size 2 div lineto size d31 sub eps sub 0 eps sub lineto white setgray fill % ----- % \ \ % \ \ % \ \ % \ \ % \____\ 0 0 moveto size 4 div 0 lineto size size lineto size size 4 div sub size lineto black setgray fill % / % / % / % / % / size d11 sub 0 moveto size d11 d21 add sub 0 lineto d11 size lineto d11 d21 add size lineto white setgray fill grestore showpage