Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Anyway to alter the font in the script editor?

Manuel Paz
Registered User
Join date: 20 Oct 2005
Posts: 10
12-07-2005 18:10
nuff said
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
12-07-2005 19:14
I've asked this question, and so far as I can tell,there is no built-in way to do so.

On a PC, standard SL installation, in "C:\Program Files\SecondLife\fonts" there are three fonts, MtBdLfRg.ttf, MtBkLfRg.ttf, profontwindows.ttf. Thjat's Meta Bold, Meta Book, and ProFontWindows.

I have not tried messing with them, I think the script editor text, along with most everything else on the SL display, is drawn with OGL functions, which have to do things a little different than the TrueType fonts were designed to be used, probably making them not good candidates for fiddling with by me.

It sure would be nice to have a font with a curly brace that didn't look so much like a parenthesis or a vertical pipe.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Maria Loudon
Dark Kat
Join date: 26 Nov 2005
Posts: 16
12-08-2005 02:05
Ya you can just pick a new font and drop it into the folder and rename it to the windows pref font. So you should end up with a

profontwindows_org.ttf - origional font
profontwindows.ttf - font you picked renamed

I looked into the ui files and found no way to change the name of the font that the app looks for.... Maby I should make a hack... Ya right too much work for somthing this stupid. But funney none the less.

Check this image for example of results.
Left it modded font - Bitstream
Right is org font
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
12-08-2005 02:17
^ That's pretty clever. I wonder if I can use the same principle to change chat fonts and the fonts that appear in IMs and stuff?
_____________________
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
12-08-2005 04:05
Oh sweet baby! It seems I'll finally be able to see what I'm typing! I've been craving larger fonts/text within SL ever since I first logged in! I've memorized my inventory by the first letter and length of the entry, but still have to rename/copy/paste into notepad every now and then. And even though I use SciTE for scripts, the larger font will definately help when doing a quick troubleshoot.

Even if it only changes the script/notecards text for now, that's a good start.

Thank you, Maria Loudon, for this tip!
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
12-08-2005 04:20
The legitimate way to change the fonts is though the settings file, add these lines to you settings file and change the value. Use a Tab to seperate the name and the value.

CODE

FontMonospace profontwindows.ttf
FontSansSerif MtBkLfRg.ttf
FontSansSerifBold MtBdLfRg.ttf
FontSansSerifFallback ArialUni.ttf
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Maria Loudon
Dark Kat
Join date: 26 Nov 2005
Posts: 16
12-08-2005 10:50
I loked for somthing along thoes lines and didn't find it. But ya dibs to Strife Onizuka for figuring the correct way out. If you can you should do it his way. Mines just a hack.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
12-08-2005 11:32
aww shucks, it was nothing.

Well actualy i extracted the strings from the client, you would besupprised exactly how many parts of the client can be configured. You can change the font sizes, client textures, sounds, and lots of various hidden settings. Eventualy i'll write a tool for configuring the client.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
12-08-2005 11:40
Soon we'll all be using StrifeLife clients.
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
12-09-2005 00:17
Does anyone happen to know the equivalents for a Mac - most of my fonts aren't stored with .ttf extensions and I tried some nicer fonts and crashed the client.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
12-09-2005 07:44
From: Eloise Pasteur
Does anyone happen to know the equivalents for a Mac - most of my fonts aren't stored with .ttf extensions and I tried some nicer fonts and crashed the client.


can't you get the fonts type by checking it's info? (is the hotkey apple+g i sorta forget?)
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
12-09-2005 08:45
Apple+I is get Info. The correct name of the font (first one I happened to click on) is Bell MT, with a space, doesn't matter whether I look at it in the finder window or get it's info (mac's don't use extentions automatically, and certainly don't hide the existing ones, there are other fonts with .ttf and .otf extentions around in my fonts folder).

That isn't one of the ones I tried in the settings file, but is similar in structure to the ones I did use that caused crashing.
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
12-09-2005 09:02
From: Strife Onizuka
font sizes
How?
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
12-09-2005 22:27
Here are all the font related settings i know of

CODE

FontMonospace profontwindows.ttf
FontSansSerif MtBkLfRg.ttf
FontSansSerifBold MtBdLfRg.ttf
FontSansSerifFallback ArialUni.ttf
FontSansSerifFallbackScale
FontScreenDPI
FontSizeHuge
FontSizeLarge
FontSizeMedium
FontSizeMonospace
FontSizeSmall


I don't know the default values for the other settings, if someone will post them...

One of my favorite settings is "RotationStep" it's default value is 1, it's the value rotating manualy along an axis in the build tools snaps to. Anything smaller then a 1/10 of a degree gets difficult to control.
CODE

RotationStep 0.1
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
12-09-2005 22:46
Strife, you should publish a notecard of "Second Life Hacks", this is profound! I haven't played with changing font yet but I should... soon.
_____________________
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
12-09-2005 23:07
VICTORY IS SECOND LIFE!

Now SL speaks my language!
_____________________
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
12-09-2005 23:22
:P there are something like 600 different config variables (that i have indexed). 130 allow the user to change the client sounds & textured interface. Most of the others are for checkboxes, window positions & scales, colors, and other misc settings.

did you change the font to that of hieroglyphs? :eek:
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
12-09-2005 23:26
From: Strife Onizuka

did you change the font to that of hieroglyphs? :eek:


Not quite... does anyone recognize which font it is I'm using in that screenshot?


Also, Strife, do you know what would be a valid setting for the FontSize strings? I tried this:
FontSizeHuge 50
And SL locked up the next time I logged in. Doesn't seem like just a number will work?
_____________________
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
12-10-2005 10:17
try 48, it might not like non standard font sizes. try changing the font dpi, that might change it's size too.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
12-10-2005 11:18
From: Strife Onizuka
:P there are something like 600 different config variables (that i have indexed). 130 allow the user to change the client sounds & textured interface. Most of the others are for checkboxes, window positions & scales, colors, and other misc settings.

did you change the font to that of hieroglyphs? :eek:
How much would it take to get you to put this list out in public?

I downloaded a string extractor program to use on secondlife.exe but there are so many things that could be strings, it looked suspiciously like it might take WORK to figure it out.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
12-10-2005 11:22
From: SuezanneC Baskerville
How much would it take to get you to put this list out in public?

I downloaded a string extractor program to use on secondlife.exe but there are so many things that could be strings, it looked suspiciously like it might take WORK to figure it out.


I will release the list in due time (it's a current project, and i'm going to use it to learn XSL)

I'm having much the same problem, i'm currently working on extracting them my self. Part of the problem is they aren't sequential.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
12-10-2005 13:54
Alright, I've found a configuration that works well for a 57" widescreen (1152x648 res). I've only changed the FontScreenDPI to 110 and the FontSizeMonospace to 12. Anything larger than 110 DPI causes text to overflow the space provide in such areas as the edit window, and positional coordinates at the top of the screen while in edit. The default values for those were 96 for DPI, and 9 for monopace font size.

It's amazing the difference, I can read avatar names, I can read floating text (I'd never been able to read floating text if it was any color except white, and sometimes green!) It's a brand new SL for me thanks to these config strings.

And it looks like LL may have intentions of adding a jumbo size font option to prefs, once they figure how to make the UI contort to accomodate the larger text. There's a FontSizeJumbo string, but no option to enable that size in prefs. yet.
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
12-10-2005 19:37
From: Strife Onizuka
I will release the list in due time (it's a current project, and i'm going to use it to learn XSL)

I'm having much the same problem, i'm currently working on extracting them my self. Part of the problem is they aren't sequential.
Before or after the Lindens update the knowledge base?

Remember the knowledge base?
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Maria Loudon
Dark Kat
Join date: 26 Nov 2005
Posts: 16
12-11-2005 00:13
Hey I hope nobody gets horriably pissed at this but I continued this conversation at /111/df/76631/1.html#post793701 I personally dont think this is a scripting issue but a app issue. If u dont want to follow well then dont but thats where I am. Aslo if u want the string dump thats where it is..
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
12-11-2005 11:14
While it doesn't exactly fit in the "Scripting Tips" area, it doesn't fit at all in "Technical Issues". "Technical Issues" is more for "help my computer has caught fire" in my mind these days. Most of the high end hacking of the client has been more related to programing then it has to anything else. The people with the most interest in the topic are those who read this forum. In this case it's more about knowing your demographic then staying 100% on forum topic. But as to keeping on topic with the thread it's still pretty close.
I'll be doing testing shortly to see which settings are actulay settings.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
1 2 3