« Return to Thread: Changing default editor font on Os X

Re: Changing default editor font on Os X

by andrea valle-3 :: Rate this Message:

Reply to Author | View in Thread

The question has been discussed many times.
- content is not separated from visualization
- the html is messy, and it's not at all standard
But
- the actual implementation is mainly mac-centric. 
- works pretty well on mac (it is integrated in the mac app), and still SC users tends to be on mac
- all the help files, in case of a new format, should be converted. No, they are not consistent (I've parsed them all once)

I would say that there's not a tech solution, there could be many different political solutions .

I'm getting conviced of what Thor once said. 
It would be really important to have, like in PD, a standard GUI manager, completely portable, providing Document and GUI facilities for all platform, and thus integrating help files.
But of course in a do-cracy like SC one should start doing something before complaining, and I'm not able to do that sort of things...

Best

-a-


Ps: in any case on a mac the Helper classes works fine. They worked better before I tried to make them more linux-friendly. But this has been discussed too

On 3 Jul 2008, at 00:39, Batuhan Bozkurt wrote:

It would be nice if we could separate the content from the designs of the help files(i.e. like it is done with cascading style sheets). Since the help files have a visual standard(I'm not sure if it is reflected in code though) maybe this can be automated.  It is not  a must have feature but would be nice and writing new help files would become easier I think. I will look into the possibilities and report back.

BB
Patrick Dohman wrote:
Hi,

That makes sense now... I suppose what I really need is the ability to increase the font size without effecting the formating of the help files. Something akin to pressing Cmd + two or three times.
Thanks!
Patrick

On Jul 2, 2008, at 5:08 PM, Jan Trutzschler wrote:

Hi,
help files are *.html files and they are explicitly excluded within your initAction. Remove the check for html files and it will change all files:

Document.initAction_{|doc| doc.font_(Font("Andale Mono", 12))};

J

On Jul 2, 2008, at 11:27 PM, Patrick Dohman wrote:


On Jun 23, 2008, at 3:06 AM, Stephen Lumenta wrote:

You could edit your startup.rtf file (~/Application Support/SuperCollider/startup.rtf) .

// post win font
Document.listener.font_(Font("Andale Mono", 10));
Document.listener.background_(Color.new255(190,190,190));

// use the default font on the help files
Document.initAction_({
        |doc|
        if(doc.path.notNil,               {if("html".matchRegexp(doc.path),
                {},
                {doc.font_(Font("Andale Mono", 12))}
            )},
            {doc.font_(Font("Andale Mono", 12))}
        );
});


Stephen

First I want to say thanks for the tip. Stephen's startup file does a good job of changing the font of the post window and any new windows I create but it does not effect my help files. If I execute the code directly it completes without errors but it does not apply changes to any of the help files which would be great. I tried searching the archives and google with no results and I also tried using the code on two different OS X systems. Any suggestions?
Peace
Patrick



_______________________________________________
sc-users mailing list




_______________________________________________
sc-users mailing list





_______________________________________________
sc-users mailing list



--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)





 « Return to Thread: Changing default editor font on Os X