[PD] Changing default font size
Miller Puckette
mpuckett at man104-1.ucsd.edu
Wed May 30 19:18:53 CEST 2001
HI all,
Well, the font situation in Pd is miserable... screen dimensions of patches
are in pixels, so Pd looks around for fonts to fit within limiting pixel
sizes. Rigth now, "12 point" actually means "the largest font I could
find not exceeding 16 pixels high". Apparently I have to check also that
the width doesn't exceed some appropriate limit too; I'll fix this and
see if it's any better.
About getting a nicer selection of fonts in general, I wish I knew how to
do it in a way that will work on arbitrary displays. On my machine
"courier" works way better than "fixed". If worst comes to worst I might
have to invent some font selection dialogue...
cheers
Miller
On Wed, May 30, 2001 at 11:25:12PM +0900, uta wrote:
> Hi,
>
> pix <pix at test.at> wrote:
>
> > "pd -fn size" ?
>
> This message could be help.
> http://iem.kug.ac.at/mailinglists/pd-list/2001-04//0023.html
>
> and
>
> Editing the first line of raw .pd file,
> from
> #N canvas 335 42 615 436 12;
> ~~
> to
>
> #N canvas 335 42 615 436 10;
>
> by a text editor or some thing like "one-liners" will change the
> font size.
>
> Uta.
>
> >
> > actually i wish you could set the font too. the default courier font
> > (being serif) doesn't scale down very nicely when trying to be
> > pixel-parsimonious on a laptop display. i have hacked my .tk to use
> > "fixed" but it was less that elegant.
> >
> > On Wed, 30 May 2001 11:06:07 +0200
> > Frank Barknecht <barknech at ph-cip.uni-koeln.de> wrote:
> >
> > > Hi pd-list,
> > >
> > > this must be a FAQ, but I can't find the answer:
> > >
> > > How can I change the default font size in pd?
> > >
> > > If I open patches from e.g. "Pure Documentation..." I always have a
> > > "courier 12" font selected and with this the layout of the patch is
> > > totally messed up. So the first thing I alway do is open the FONT
> > > BOMB and change everything to size 10. I would like this to be the
> > > default
> > > font right from the start.
> > >
> > > (I am running pd under linux and my X server is set to have a dpi of
> > > 100,
> > > if that matters anyhow.)
> > >
> > > Thanks for help,
> > > --
> > > __ __
> > > Frank Barknecht ____ ______ ____ __ trip\ \ / /wire ______
> > > / __// __ /__/ __// // __ \ \/ / __ \\ ___\
> > > / / / ____/ / / / // ____// /\ \\ ___\\____ \
> > > /_/ /_____/ /_/ /_//_____// / \ \\_____\\_____\
> > > /_/ \_\
> >
>
More information about the Pd-list
mailing list