aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-06-09 20:55:26 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-06-09 20:55:26 +0000
commitf7cf8b000d6bcb9d9f1d62d397bb865b59a63ee7 (patch)
tree0ee5a845ec26163fb2f266c43250e2e5bf17f0b2
parente493c9aa07675099253e07ac3eb1ccf10880a8e2 (diff)
added minor font/anti-aliasing tweak; removed old patches
svn path=/trunk/; revision=3152
-rw-r--r--packages/darwin_app/patches/display_tweaks.patch33
-rw-r--r--packages/darwin_app/patches/socket.patch11
2 files changed, 33 insertions, 11 deletions
diff --git a/packages/darwin_app/patches/display_tweaks.patch b/packages/darwin_app/patches/display_tweaks.patch
new file mode 100644
index 00000000..97232b07
--- /dev/null
+++ b/packages/darwin_app/patches/display_tweaks.patch
@@ -0,0 +1,33 @@
+--- ../../pd/src/u_main.tk Thu Jun 9 11:54:59 2005
++++ build/Pd.app/Contents/Resources/bin/pd.tk Thu Jun 9 16:17:58 2005
+@@ -37,6 +37,12 @@
+ if {$pd_nt == 2} {
+ # turn on James Tittle II's fast drawing (wait until I can test this...):
+ # set tk::mac::useCGDrawing 1
++ # set minimun line size for anti-aliasing. If set to 1 or 0, then every
++ # line will be anti-aliased. While this makes connections and circles in
++ # [bng] and such look really good, it makes boxes and messages look out of
++ # focus. Setting this to 2 makes it so the thick audio rate connections
++ # are anti-aliased. <hans@at.or.at> 2005-06-09
++ set tk::mac::CGAntialiasLimit 2
+ global pd_guidir
+ global pd_tearoff
+ set pd_gui2 [string range $argv0 0 [expr [string last / $argv0 ] - 1]]
+@@ -158,7 +164,7 @@
+
+
+ frame .printout
+-text .printout.text -relief raised -bd 2 -font -*-courier-bold--normal--12-* \
++text .printout.text -relief raised -bd 2 -font -*-courier-regular--normal--12-* \
+ -yscrollcommand ".printout.scroll set" -width 80
+ # .printout.text insert end "\n\n\n\n\n\n\n\n\n\n"
+ scrollbar .printout.scroll -command ".printout.text yview"
+@@ -337,7 +343,7 @@
+ global pd_myversion
+ set name [format ".help%d" $doc_number]
+ toplevel $name
+- text $name.text -relief raised -bd 2 -font -*-courier-bold--normal--12-* \
++ text $name.text -relief raised -bd 2 -font -*-times-regular--normal--14-* \
+ -yscrollcommand "$name.scroll set" -background white
+ scrollbar $name.scroll -command "$name.text yview"
+ pack $name.scroll -side right -fill y
diff --git a/packages/darwin_app/patches/socket.patch b/packages/darwin_app/patches/socket.patch
deleted file mode 100644
index 1480f4ae..00000000
--- a/packages/darwin_app/patches/socket.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-Index: s_inter.c
-===================================================================
-RCS file: /cvsroot/pure-data/pd/src/s_inter.c,v
-retrieving revision 1.4
-diff -r1.4 s_inter.c
-643a644,648
-> #ifdef MACOSX
-> if (setsockopt(xsock, SOL_SOCKET, SO_REUSEADDR,
-> &intarg, sizeof(intarg)) < 0)
-> post("setsockopt (SO_REUSEADDR) failed\n");
-> #endif