On Sep 25, 2011, at 11:41 PM, Jacob Lee wrote:

On Sun, Sep 25, 2011 at 11:24 PM, Jonathan Wilkes <[email protected]> wrote:

#2 - Pd can't find any fonts other than Courier. This might actually
be a tk problem, based on the following tclsh session:
% package require Tk
8.4
% font families
{fangsong ti} fixed {clearlyu alternate glyphs} {courier 10 pitch}
{open look glyph} {bitstream charter} {song ti} {open look cursor}
newspaper {clearlyu ligature} mincho {clearlyu devangari extra}
{clearlyu pua} dotum clearlyu clean nil {clearlyu arabic} {clearlyu
devanagari} batang {standard symbols l} gothic {clearlyu arabic extra}

That list is short and doesn't include e.g. DejaVu Sans Mono, which is
installed on my system via the ttf-dejavu package. I've noticed that
the standard default.pdextended includes
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType on the search path,
and I tried adding /usr/share/fonts/truetype/ttf-dejavu to that list
to see if it would help, but no dice. I couldn't figure out from the
code how e.g. $sys_searchpath affects Tcl's font search path. Anyone
have any ideas what could be going wrong?

I get fewer fonts recognized under wish8.4 than I do under wish8.5.
I just force it to use tcl/tk 8.5 and things seem to look ok.


Awesome, that did the trick. I ran update-alternatives to set
/usr/bin/wish to be provided by /usr/bin/wish8.5, and now fonts are
working. Thanks.

Hey Jacob,

Thanks for the bug reports and patches! For future reference on the font topic:
http://puredata.info/docs/faq/on-gnu-linux-the-fonts-are-strange-and-or-too-big-or-small

About libdir, vanilla, etc. this stuff is under development in 0.43. There is a new pd/startup/ folder. Anything in this folder is automatically loaded. Today's build should automatically load libdir, pdlua, vanilla/list, vanilla, and extra from pd/startup/

.hc


----------------------------------------------------------------------------

"We have nothing to fear from love and commitment." - New York Senator Diane Savino, trying to convince the NY Senate to pass a gay marriage bill


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to