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.
On Jan 7, 2021, at 15:07 PM, pd-list-request@lists.iem.at wrote:
Send Pd-list mailing list submissions to pd-list@lists.iem.at
To subscribe or unsubscribe via the World Wide Web, visit https://lists.puredata.info/listinfo/pd-list or, via email, send a message with subject or body 'help' to pd-list-request@lists.iem.at
You can reach the person managing the list at pd-list-owner@lists.iem.at
When replying, please edit your Subject line so it is more specific than "Re: Contents of Pd-list digest..."
Today's Topics:
- Re: Declare library path on windows? (Kylee Kennedy)
- fluid~ for Pd-Vanilla - test version (Alexandre Torres Porres)
- Re: linking libs with pd-lib-builder (was Re: fluid~) (Alexandre Torres Porres)
Message: 1 Date: Wed, 6 Jan 2021 18:48:41 -0800 From: Kylee Kennedy kmkennedy@gmail.com To: Christof Ressi info@christofressi.com Cc: Pd-List pd-list@lists.iem.at Subject: Re: [PD] Declare library path on windows? Message-ID: CADD61nVbR8Je=YbpGKB-D_JLFZdPGYgOL29P+kk-_WN3=yWYxw@mail.gmail.com Content-Type: text/plain; charset="utf-8"
Brilliant. That works perfectly now. I was really trying to keep an eye on the case sensitivity since I am more used to that myself. fftease loads right up also with the proper [declare -path fftease -lib fftease]
I've been loving deken and pd's latest intelligent patching improvements!
Back to patching, Kylee
On Wed, Jan 6, 2021 at 6:29 PM Christof Ressi info@christofressi.com wrote:
Ok, I see the problem. Try [declare -path Pd_Spectral_Toolkit -lib pd_spectral_toolkit]. *ugh*
The author uses capitalization for the library folder name (Pd_Spectral_Toolkit) , but the file name and the setup function are all lower case (pd_spectral_toolkit[_setup]). Since the Windows filesystem is not case sensitive, this creates extra weirdness.
Generally, for Pd libraries containg a single binary should, folder and file name should be the same! Please contact the project author and tell them to change the folder name to all lower case.
Christof On 07.01.2021 03:09, Kylee Kennedy wrote:
Thanks for the reply Christof, Hope you have a happy new year.
When I declare on WinX 0.51-3 I get: "load_object: Symbol "Pd_Spectral_Toolkit_setup" not found then a list of all the abstractions I used in that library that ...couldn't create.
Thanks again for the help, Kylee
On Wed, Jan 6, 2021 at 5:50 PM Christof Ressi info@christofressi.com wrote:
Same thing. "Pd_Spectral_Toolkit" is distributed as a single binary library, which means you have to load it. If the library also contains abstractions, you also have to add the path. In your case that would be [declare -path Pd_Spectral_Toolkit -lib Pd_Spectral_Toolkit].
I really think we finally need a uniform [declare] syntax as proposed by https://github.com/pure-data/pure-data/pull/440. The binary format of library should be an implementation detail which the user shouldn't have to care about. For example, Kylee would only need to write [declare Pd_Spectral_Toolkit].
Christof On 07.01.2021 02:40, Kylee Kennedy wrote:
Hey list,
What is the proper way to declare libraries on Windows 10? I'm unable to declare and right slash the path like the wiki suggests. I'm working with fftease~ and Pd_Spectal_Toolkit a bunch lately. "declare -path Pd_Spectral_Toolkit" doesn't seem to work. If I put the full path and right slashes, they disappear when I switch back from edit mode. The only process that works is if I open the extensions object list first.
Thanks, Kylee
_______________________________________________Pd-list@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
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Am 8. Jänner 2021 02:41:10 MEZ schrieb "Julián Villegas" villegas.julian@gmail.com:
For example, would this be worth of opening an issue in GitHub?
no. i dont think its a "bug" in Pd.
Pd tries to use "Menlo" on macOS, because it fixes a couple of issues. if that font cannot be found, the font engine of your system will automatically use a similar font, eg "Courier". the same happens with ghostscript.
btw, I find that my pd2svg gui-plugin (available from deken) renders much more faithful representations of the patch than the "print to postscript" built-in.
mfg.hft.fsl IOhannes
PS: if it's too complicated for you to just start a new mail to mailto:Pd-list@lists.iem.at (the address is given at the end of each mail you get from the list), could you please remove all the cruft of each the totally unrelated emails you are replying to?