I am confused by the documentation for font_ in the Document class.
What can be accomplished with rangestart and rangesize? Is it
possible to increase only the size of the fonts in the helpfiles?
Would that effect the formating?
On Jul 2, 2008, at 5:39 PM, 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
>>>
>>>
>>> info (subscribe and unsubscribe):
http://swiki.hfbk-hamburg.de:
>>> 8888/MusicTechnology/880
>>> archive:
http://www.listarc.bham.ac.uk/marchives/sc-users/>>> search:
http://www.listarc.bham.ac.uk/lists/sc-users/search/>>
>>
>> _______________________________________________
>> sc-users mailing list
>>
>>
>> info (subscribe and unsubscribe):
http://swiki.hfbk-hamburg.de:
>> 8888/MusicTechnology/880
>> archive:
http://www.listarc.bham.ac.uk/marchives/sc-users/>> search:
http://www.listarc.bham.ac.uk/lists/sc-users/search/>>
>
>
> _______________________________________________
> sc-users mailing list
>
>
> info (subscribe and unsubscribe):
http://swiki.hfbk-hamburg.de:8888/
> MusicTechnology/880
> archive:
http://www.listarc.bham.ac.uk/marchives/sc-users/> search:
http://www.listarc.bham.ac.uk/lists/sc-users/search/_______________________________________________
sc-users mailing list
info (subscribe and unsubscribe):
http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880archive:
http://www.listarc.bham.ac.uk/marchives/sc-users/search:
http://www.listarc.bham.ac.uk/lists/sc-users/search/