[PD] Ugly looking fonts in printed postscript patches on MacOsX

Arda Eden ardaeden at gmail.com
Tue Dec 10 09:34:52 CET 2013


Mr. Puckette,
Actually I am not familiar with awk and I couldn’t figure out how to use this script. Anyway, your script gave me an idea. I edited a postscript file and found the line related to the text justification. I think I can write a shell script now and mass change the necessary lines in all my .ps files by using the Gnu 'sed’ command.
Thanks.


On 10 Dec 2013, at 01:19, Miller Puckette <msp at ucsd.edu> wrote:

> Hi all -
> 
> I've used awk scripts.  The exact thing to do depends on font size and on
> windowing system.  Most recently my awk script was this:
> 
> BEGIN  {last = -10}
> /findfont 8/  {
>        last=NR
>        $1 = "/Courier-Bold"
>        $3 = 11.7 + 2
>    }
>    {
>        if (NR == last+2) {
>            $1 = $1+1
>            $2 = $2-3
>        }
>        print
>    }
> 
> ------------
> cheers
> Miller
> 
> On Tue, Dec 10, 2013 at 12:47:18AM +0200, Arda Eden wrote:
>> Hi,
>> I am just about to finish a Turkish book about Pure Data. I am writing my book using Latex. The patch file example figures I use are directly printed (to file) as postscript files. But the fonts inside the object boxes are vertically justified to the top and that looks ugly (see the sample in attachment).
>> 
>> Any ideas ?
>> Thanks.
>> 
> 
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 




More information about the Pd-list mailing list