[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (4474f788581363491a39eb2e7f30fe13a1814cde)



The branch, master has been updated
       via  4474f788581363491a39eb2e7f30fe13a1814cde (commit)
       via  f3da7f10fda1580c8de59d6a9447a7323d258b50 (commit)
      from  9eede495c51ccf920224a5d93cdac763726921b4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 lib/geda.inc    |    1 +
 src/hid/ps/ps.c |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)


=================
 Commit Messages
=================

commit 4474f788581363491a39eb2e7f30fe13a1814cde
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    Add 4-pin DIP
    
    Add DIP4 to the collection of standard DIP packages

:100644 100644 a56b6ea... d25dd1d... M	lib/geda.inc

commit f3da7f10fda1580c8de59d6a9447a7323d258b50
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    Fix postscript alignment marks
    
    The delta-x and delta-y parameters of corner() are scales, not
    coordinates.  Change them to "int" so the +1/-1 won't get scaled to
    zero.

:100644 100644 8e29fd5... 6ecbc64... M	src/hid/ps/ps.c

=========
 Changes
=========

commit 4474f788581363491a39eb2e7f30fe13a1814cde
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    Add 4-pin DIP
    
    Add DIP4 to the collection of standard DIP packages

diff --git a/lib/geda.inc b/lib/geda.inc
index a56b6ea..d25dd1d 100644
--- a/lib/geda.inc
+++ b/lib/geda.inc
@@ -13,6 +13,7 @@
 ##  Dual in-line package, narrow (300 mil)
 #   DIP6 .. DIP64, DIP24N, DIP28N
 #
+define(`PKG_DIP4',   `PKG_N(`$1', `$2', `$3',   4,  300)');
 define(`PKG_DIP6',   `PKG_N(`$1', `$2', `$3',   6,  300)');
 define(`PKG_DIP8',   `PKG_N(`$1', `$2', `$3',   8,  300)');
 define(`PKG_DIP14',  `PKG_N(`$1', `$2', `$3',  14,  300)');

commit f3da7f10fda1580c8de59d6a9447a7323d258b50
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    Fix postscript alignment marks
    
    The delta-x and delta-y parameters of corner() are scales, not
    coordinates.  Change them to "int" so the +1/-1 won't get scaled to
    zero.

diff --git a/src/hid/ps/ps.c b/src/hid/ps/ps.c
index 8e29fd5..6ecbc64 100644
--- a/src/hid/ps/ps.c
+++ b/src/hid/ps/ps.c
@@ -761,7 +761,7 @@ ps_parse_arguments (int *argc, char ***argv)
 }
 
 static void
-corner (FILE *fh, Coord x, Coord y, Coord dx, Coord dy)
+corner (FILE *fh, Coord x, Coord y, int dx, int dy)
 {
   Coord len   = MIL_TO_COORD (2000);
   Coord len2  = MIL_TO_COORD (200);
@@ -775,7 +775,7 @@ corner (FILE *fh, Coord x, Coord y, Coord dx, Coord dy)
    * of the thick line.
    */
 
-  pcb_fprintf (fh, "gsave %mi setlinewidth %mi %mi translate %mi %mi scale\n",
+  pcb_fprintf (fh, "gsave %mi setlinewidth %mi %mi translate %d %d scale\n",
                thick * 2, x, y, dx, dy);
   pcb_fprintf (fh, "%mi %mi moveto %mi %mi %mi 0 90 arc %mi %mi lineto\n",
                len, thick, thick, thick, len2 + thick, thick, len);




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs