[PD-dev] adding fontpath
Hans-Christoph Steiner
hans at eds.org
Thu Apr 6 07:55:54 CEST 2006
On Apr 4, 2006, at 4:03 PM, IOhannes m zmoelnig wrote:
> B. Bogart wrote:
>> Hi James,
>>
>> This sounds really interesting, where can I get more info on what
>> Johannes's has done?
>
> well, don't expect too much.
> the main thing jamie talks about is, that Gem searches for fonts (and
> other things like shaders, images,...) within pd's search path.
> this allows you to just use "font courier.ttf" without having to
> remember the full path at paching time, by simply adding some
> system-specific search path to pd (like %WINDOWS%\Fonts\ or whereever
> they are)
>
> this is clearly a good thing.
> however, it doesn't really help you if you want to have a list of "all
> fonts installed on the system" (e.g. in a popup) so that the user can
> select one of them.
>
> so i think another good thing to have would a [file/find] object that
> searches for a given filename-pattern in pd's search path.
>
> a combination of these 2 things would (imho) be perfect, as it would
> allow us to create a list of all (conveniently) available fonts (or
> whatever) and allow us to access them via the objects.
Anyone know a way to get the FontPath from X11 besides parsing it
from XF86Config-4? How about getting the font path in Mac OS X? It
seems that it would be nice to have Pd just append the OS font path
to the pd path on boot, if we are going to use the pd path for fonts.
AFAIK, Windows stores all installed fonts into %SystemRoot%\Fonts.
.hc
________________________________________________________________________
____
News is what people want to keep hidden and everything else is
publicity.
- Bill Moyers
More information about the Pd-dev
mailing list