head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.182 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.180 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.178 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.176 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.174 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.172 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.170 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.168 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.166 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.164 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.162 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.160 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.158 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.156 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.154 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.152 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.150 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.148 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.146 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.144 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.142 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.140 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.138 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.134 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.114 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.136 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.132 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.130 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.128 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.126 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.124 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.122 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.120 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.118 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.116 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.112 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.110 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.108 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.106 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.104 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.102 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.100 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.98 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.96 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.94 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.92 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.90 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.88 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.86 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.84 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.82 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.80 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.78 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.76 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.74 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.72 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.70 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.68 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.66 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.64 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.62 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.60 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.58 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.56 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.54 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.52 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.50 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.48 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.46 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.44 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.42 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.40 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.38 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.36 pkgsrc-2008Q1:1.1.0.34 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.32 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.30 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.28 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.26 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.24 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.22 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.20 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.18 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.16 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.14 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.12 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.10 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.8 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.6 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.4 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.2 pkgsrc-2004Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2004.03.21.23.40.56; author dmcmahill; state Exp; branches; next ; desc @@ 1.1 log @gcc3 fixes @ text @$NetBSD$ --- main.c.orig Sun Feb 23 02:34:32 1997 +++ main.c @@@@ -203,164 +203,164 @@@@ void help_text(void) fl_set_browser_fontsize(fdui_help->help_browse,FL_MEDIUM_SIZE); fl_set_browser_fontstyle(fdui_help->help_browse,4); fl_addto_browser(fdui_help->help_browse, -" -XCHIPLOGO - - Xchiplogo is an X interface for chiplogo. - -FOR THOSE WHO DO NOT WANT TO WAIT ANY MORE - - 1- open the input file (which should be in the PBM ascii, - B&W format). You can use the input file browser. If you - do not have any input file you can 'Launch XV' to grab some- - thing from the screen and then save it into a file. Remember - that after you generate the input file using XV, you should - load it in. - - 2- Press the 'Generate Output'. If you do not have any spec- - ific name for the outpu file in mind, xchiplogo will use - 'logo.mag' or 'logo.cif' instead. - - 3- Your file is ready. You can have a look at it using your - favorite layout editor. - - 4- If you want to partially correct some of the design rule - errors, use the options in the 'Partial Error Correction' to - reduce the number of errors. Note that every time that you - change the parameters, the 'Generate Output' should be - pressed to generate the new layout. - -AND THE REST OF THE STORY - - Xchiplogo reads an ascii bitmap file, and converts it into a - magic or cif file. It is a handy program for creating logos - of text or graphics for putting on VLSI chips. At the - moment it accepts the B&W dithered format of XV as the - input. It has got quite a few options for resizing and get- - ting rid of many design rule errors that can be found in the - bitmap file. It has a smoothing, before and after an error - correction step. The error correction step is pretty simple - ,don't expect miracles, but it works quite fine and spe- - cially for text gives a reasonable output. - - I wrote this program when I saw my friends sitting for hours - to write their name; in a font that we call mikhi in per- - sian 'nail-font'. I have also seen many comercial layout - editors which have tried to implement a simple text-logo - generation, which all are very limited and inflexible. So I - started Xchiplogo. The input to chiplogo is ascii bitmap.It - really doesn't matter what program has generated the bitmap, - as long as there are two digits at the begining of the file - which tell the size of the bitmap in pixels, and then the - sequence of the ones and zeros. - - Although the output files may seem a bit big, if you use - magic after generating the file, magic reduces the size by a - factor of more than 10!!!. It is simply because each black - pixel in the input file becomes a box in the output magic - file. Magic merges the boxes so that they conform to its - corner stitch style. I have found magic to be the best - package for editing the design rule errors of the generated - layouts. With other layout editors you may lose your pati- - ence. - -OPTIONS, KEYS, and PARAMETERS - - CIF layer name - The cif layer that is to be used for the logo. The - default is CPG (poly). - - Micron/Lambda - This parameter tells the scaling factor for a CIF format. - For a 2 micron technology it is 50 (the default). For a - 0.8 micron it should be set to 20, and so on. - - Magic layer name - The magic layer name that is to be used for the logo. The - default is poly. - - Technology name - This option is used with magic option and is to specify - the technology. - - Minimum width - The minimum width of the layer. This value is used in all - the error correction and smoothing operations. The - default is 2. - - Minimum spacing - The minimum space of the layer. This value is used in all - the error correction and smoothing operations. The - default is 2. - - Partial error correction - This switch toggles the error detection and correction - stage. The default is off. When it is turned on the rel- - evant parameters will be shown in the window. - - Scale factor - The scaling factor, scales the layout by the this factor. - - Threshold before - This option turns on the smoothing operation before error - correction stage. The threshold_before is used as the - threshold value used after the smoothing. It can be - between 0 to 16. The smoothing function at the moment is - a simple triangular function, and acts over a neighbour- - hood of minimum_width. - - Threshold after - This option turns on the smoothing operation before the - error correction stage. The threshold_after is used as - the threshold value used after the smoothing. It can be - between 0 to 16. The smoothing function at the moment is - a simple triangular function, and acts over a neighbour- - hood of minimum_width - - Launch XV (Shortkey CTRL-V) - This button launches the XV for grabbing a piece of - graphics. - - Help (Shortkey CTRL-H) - To bring up this window. In this window if you press - the botton on the bottok saying 'OK, Get rid of this window' - the window will disappear. - - Generate output (CTRL-G) - After you have loaded an input file, press this button to - generate the layout. If no input file is given, or if the - specified input does not exist it will warn you of this - problem. But if the output file does not exist, depending - on the output format selected (magic or cif) it will save - the layout in a default file 'logo.mag' or 'logo.cif'. - - Input File (CTRL-I) - You should specify the input file name. You can also - browse by pressing the browse button next to this input - field. - - Output File (CTRL-O) - You should specify the output file name. You can also - browse by pressing the browse button next to this input - field. - - Quite (CTRL-Q) - You guess what this one does!! - - About (CTRL-A) - Just the author info. - -NOTE - The format of the input file SHOULD be 'PBM (ascii)-B&W - Dithered'. With other formats xchiplogo will hang. - -AUTHOR - Alireza Moini, - Department of Electrical and Electronics Engineering, - The University of Adelaide - - moini@@eleceng.adelaide.edu.au - April 1996 +" \n\ +XCHIPLOGO \n\ +\n\ + Xchiplogo is an X interface for chiplogo. \n\ +\n\ +FOR THOSE WHO DO NOT WANT TO WAIT ANY MORE\n\ +\n\ + 1- open the input file (which should be in the PBM ascii, \n\ + B&W format). You can use the input file browser. If you\n\ + do not have any input file you can 'Launch XV' to grab some-\n\ + thing from the screen and then save it into a file. Remember\n\ + that after you generate the input file using XV, you should\n\ + load it in.\n\ + \n\ + 2- Press the 'Generate Output'. If you do not have any spec-\n\ + ific name for the outpu file in mind, xchiplogo will use \n\ + 'logo.mag' or 'logo.cif' instead.\n\ + \n\ + 3- Your file is ready. You can have a look at it using your\n\ + favorite layout editor.\n\ + \n\ + 4- If you want to partially correct some of the design rule\n\ + errors, use the options in the 'Partial Error Correction' to\n\ + reduce the number of errors. Note that every time that you \n\ + change the parameters, the 'Generate Output' should be \n\ + pressed to generate the new layout.\n\ +\n\ +AND THE REST OF THE STORY\n\ +\n\ + Xchiplogo reads an ascii bitmap file, and converts it into a \n\ + magic or cif file. It is a handy program for creating logos \n\ + of text or graphics for putting on VLSI chips. At the\n\ + moment it accepts the B&W dithered format of XV as the \n\ + input. It has got quite a few options for resizing and get-\n\ + ting rid of many design rule errors that can be found in the\n\ + bitmap file. It has a smoothing, before and after an error\n\ + correction step. The error correction step is pretty simple\n\ + ,don't expect miracles, but it works quite fine and spe- \n\ + cially for text gives a reasonable output. \n\ +\n\ + I wrote this program when I saw my friends sitting for hours\n\ + to write their name; in a font that we call mikhi in per-\n\ + sian 'nail-font'. I have also seen many comercial layout\n\ + editors which have tried to implement a simple text-logo\n\ + generation, which all are very limited and inflexible. So I\n\ + started Xchiplogo. The input to chiplogo is ascii bitmap.It\n\ + really doesn't matter what program has generated the bitmap,\n\ + as long as there are two digits at the begining of the file\n\ + which tell the size of the bitmap in pixels, and then the\n\ + sequence of the ones and zeros.\n\ + \n\ + Although the output files may seem a bit big, if you use\n\ + magic after generating the file, magic reduces the size by a\n\ + factor of more than 10!!!. It is simply because each black\n\ + pixel in the input file becomes a box in the output magic\n\ + file. Magic merges the boxes so that they conform to its\n\ + corner stitch style. I have found magic to be the best\n\ + package for editing the design rule errors of the generated\n\ + layouts. With other layout editors you may lose your pati-\n\ + ence.\n\ + \n\ +OPTIONS, KEYS, and PARAMETERS\n\ +\n\ + CIF layer name\n\ + The cif layer that is to be used for the logo. The\n\ + default is CPG (poly).\n\ +\n\ + Micron/Lambda\n\ + This parameter tells the scaling factor for a CIF format.\n\ + For a 2 micron technology it is 50 (the default). For a \n\ + 0.8 micron it should be set to 20, and so on.\n\ + \n\ + Magic layer name\n\ + The magic layer name that is to be used for the logo. The\n\ + default is poly.\n\ + \n\ + Technology name\n\ + This option is used with magic option and is to specify\n\ + the technology.\n\ + \n\ + Minimum width\n\ + The minimum width of the layer. This value is used in all\n\ + the error correction and smoothing operations. The\n\ + default is 2.\n\ + \n\ + Minimum spacing\n\ + The minimum space of the layer. This value is used in all\n\ + the error correction and smoothing operations. The\n\ + default is 2.\n\ + \n\ + Partial error correction\n\ + This switch toggles the error detection and correction\n\ + stage. The default is off. When it is turned on the rel-\n\ + evant parameters will be shown in the window.\n\ + \n\ + Scale factor\n\ + The scaling factor, scales the layout by the this factor.\n\ + \n\ + Threshold before\n\ + This option turns on the smoothing operation before error\n\ + correction stage. The threshold_before is used as the\n\ + threshold value used after the smoothing. It can be\n\ + between 0 to 16. The smoothing function at the moment is\n\ + a simple triangular function, and acts over a neighbour-\n\ + hood of minimum_width.\n\ + \n\ + Threshold after\n\ + This option turns on the smoothing operation before the\n\ + error correction stage. The threshold_after is used as\n\ + the threshold value used after the smoothing. It can be\n\ + between 0 to 16. The smoothing function at the moment is\n\ + a simple triangular function, and acts over a neighbour-\n\ + hood of minimum_width\n\ +\n\ + Launch XV (Shortkey CTRL-V)\n\ + This button launches the XV for grabbing a piece of \n\ + graphics.\n\ +\n\ + Help (Shortkey CTRL-H)\n\ + To bring up this window. In this window if you press \n\ + the botton on the bottok saying 'OK, Get rid of this window' \n\ + the window will disappear.\n\ + \n\ + Generate output (CTRL-G)\n\ + After you have loaded an input file, press this button to \n\ + generate the layout. If no input file is given, or if the\n\ + specified input does not exist it will warn you of this\n\ + problem. But if the output file does not exist, depending\n\ + on the output format selected (magic or cif) it will save\n\ + the layout in a default file 'logo.mag' or 'logo.cif'.\n\ + \n\ + Input File (CTRL-I)\n\ + You should specify the input file name. You can also \n\ + browse by pressing the browse button next to this input \n\ + field.\n\ + \n\ + Output File (CTRL-O)\n\ + You should specify the output file name. You can also \n\ + browse by pressing the browse button next to this input \n\ + field.\n\ +\n\ + Quite (CTRL-Q)\n\ + You guess what this one does!!\n\ +\n\ + About (CTRL-A)\n\ + Just the author info.\n\ + \n\ +NOTE\n\ + The format of the input file SHOULD be 'PBM (ascii)-B&W \n\ + Dithered'. With other formats xchiplogo will hang.\n\ +\n\ +AUTHOR\n\ + Alireza Moini, \n\ + Department of Electrical and Electronics Engineering,\n\ + The University of Adelaide\n\ +\n\ + moini@@eleceng.adelaide.edu.au\n\ + April 1996\n\ "); fl_set_browser_topline(fdui_help->help_browse,1); @