Re: [PD] Pd and sounds are running but windows are blank

2021-01-11 Thread Dan Wilcox
Do *not* install Pd to a system path unless you are using a newer version of 
Tcl/Tk as the included 8.5.9 is quite broken: blank windows, etc. As noted in 
INSTALL.txt:

https://github.com/pure-data/pure-data/blob/master/INSTALL.txt#L268 


I know this is tempting, especially for those coming from Linux, but there are 
a number of issues with using Pd on macOS like this, including application 
defaults keys not working as launching a Tk script for the command line will 
not connect it to app bundle plist settings which are included within a Pd 
.app, etc. If you want to invoke Pd on the command line, I recommend using a 
shell alias as documented in INSTALL.txt as well.

The safest bet is to build a Pd .app using "make app" although I'm not sure if 
the included pre-build Tcl/Tk Wish .app is up to date with Miller's releases 
yet:

make
make app

This results in a Pd-0.51-4.app in the main Pd source tree. I'd recommend 
right-clicking and renaming it to "Pd-0.51-4-double.app" if you have multiple 
versions on the same machine.

Also, the deprecation warning is from the system (macOS) and not from Pd. It 
basically means that Apple will remove the included Tcl/Tk from macOS in the 
future. Note: It is still shipped with macOS 11 but is unfortunately the broken 
8.5.9 version.

> On Jan 11, 2021, at 12:00 PM, pd-list-requ...@lists.iem.at wrote:
> 
> Message: 3
> Date: Sun, 10 Jan 2021 17:18:24 +0100
> From: Dario Sanfilippo  >
> To: Christof Ressi mailto:i...@christofressi.com>>
> Cc: Pd-List mailto:pd-list@lists.iem.at>>
> Subject: Re: [PD] Pd and sounds are running but windows are blank
> Message-ID:
>>
> Content-Type: text/plain; charset="utf-8"
> 
> My apologies, Christof, I forgot. :-)
> 
> That's right, I'm on 10.15.7. My Tclsh version is 8.5.
> 
> Thanks,
> Dario
> 
> On Sun, 10 Jan 2021 at 16:26, Christof Ressi  > wrote:
> 
>> Hi,
>> 
>> it always helps to mention the OS ;-) I assume you're on macOS?
>> 
>> Christof
>> On 10.01.2021 15:27, Dario Sanfilippo wrote:
>> 
>> Hello, list.
>> 
>> I'm giving a try to Pd double precision; I installed .51-4 using the
>> autotools.
>> 
>> My patch is running and producing signals, although all windows are blank.
>> If I right-click, I can open the abstractions, blank again. I see a
>> deprecation warning about Tk, any clue what the issue could be?
>> 
>> Thanks for your help.
>> 
>> --
>> Dr Dario Sanfilippo
>> http://dariosanfilippo.com 
>> 
>> ___pd-l...@lists.iem.at 
>>  mailing list
>> UNSUBSCRIBE and account-management -> 
>> https://lists.puredata.info/listinfo/pd-list 
>> 
>> 
>> ___
>> Pd-list@lists.iem.at  mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list 
>> 

Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Menlo in MacOS X

2021-01-11 Thread Julián Villegas
Thank you Dan,

I confirmed that the changes in the develop branch 

https://github.com/pure-data/pure-data/commit/0c13ecf3c89acaa212209dbe47d27fe06c0dec3c

fixed the problem.

Cheers,

Julian.





> On Jan 8, 2021, at 19:33 PM, Dan Wilcox  wrote:
> 
> You can fix it in tcl/pd_menucommands.tcl by either trying the -fontmap 
> option or changing the find-replace from "DejaVuSansMono" to "MenloRegular"
> 
> https://github.com/pure-data/pure-data/blob/master/tcl/pd_menucommands.tcl#L37
> 
> Right-click on the Pd-###.app and choose "Show package contents." The tcl 
> scripts are in Contents/Resources/tcl. Edit the file and save, then (re)start 
> the app to see any changes. Let us know what works.
> 
>> On Jan 8, 2021, at 2:41 AM, pd-list-requ...@lists.iem.at wrote:
>> 
>> Date: Fri, 8 Jan 2021 10:41:10 +0900
>> From: Julián Villegas 
>> To: pd-list@lists.iem.at
>> Subject: [PD] Menlo in MacOS X
>> Message-ID: 
>> Content-Type: text/plain;charset=utf-8
>> 
>> Hi,
>> 
>> I use the print option of Pd to create PS files that I then convert to PDF 
>> when I need to share a program in a presentation, paper, etc. I use Preview 
>> most of the time, but I have also used Ghostscript for this process too. No 
>> matter what tool I use, there’s always an error saying that the Menlo font 
>> file was not found and the resulting PDF is rendered with Courier fonts. 
>> 
>> By looking at the Font Book, I know that the Postcript name of this font is 
>> “Menlo-Regular” so what I’m currently doing is to edit the ps file and 
>> replacing all instances of “Menlo” by “Menlo-Regular.” After saving it, I 
>> can then open it in whatever tool and the PDF is rendered with the intended 
>> font. 
>> 
>> I could keep doing this, but it’s rather a hassle to add this extra editing 
>> step to the process. Is there any other way to fix this problem? For 
>> example, would this be worth of opening an issue in GitHub? 
>> 
>> Thanks for the help, and have a nice weekend,
>> 
>> Julian.
> 




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] set screen resolution from within Pd (Linux)

2021-01-11 Thread Ingo
Hi there!

Is it possible to set the screen resolution from within Pd in Debian (with
or without externals)?
If yes how?

My problem is that some older mainboards automatically default to
"1280x1024".
If I set the screen size in /etc/X11/xorg.conf to "1920x1080" it still shows
everything with the lower "1280x1024" resolution.
It actually doesn't respond to setting it to a lower resolution either . . .

Not sure if I would need different graphic drivers for that.
I'm on Debian-9.5.0-i386.

Thank you!
Ingo





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list