Forums


Fonts in Kitely and Opensim for dynamic textures

Ask questions about creating worlds, using worlds, etc.

Fonts in Kitely and Opensim for dynamic textures

Postby Min Tigerpaw » Sat Nov 21, 2015 10:46 pm

Request to support more fonts for dynamic textures in Kitely:
One of the nice featurtes of opensim is the option to create textures on the go - including text.
While most of the osSet... comands work nicely in Kitely there is one deficit with regard to fonts:
Setting font with osSetFontName works - but there are nearly no fonts!
Most other grids in opensim - like e.g. osGrid, Metro and Craft support at least a small selection of more fancy fonts.
Kitely currently obviously only some (very boring ones):
FontNames that work are:
Bitstream Vera Serif
Times New Roman
Utopia

Fontnames that work additionally in all tested other opensim grids:
Zapf Chancery
Comic Sans MS
Impact
Andale Mono
Bitstream Vera Sans Mono
Courier
Courier New

Interestingly some of those had worked in KItely previously, when I created my boards. But they stopped working some time back - probably when moving servers.
Ilan, Oren - it should not be a big deal to add some fancy fonts to the options in KItely - at least the ones that work everywhere should also be available in Kitely.
For creating good looking signs, boards, guestbooks etc. this is a must.
I'd even encourage to put more than so far in opensim in oder to allow more kalligraphic design of text in signs etc.
Below I show the results with my font-analyzer - first in other opensim and below in Kitely.
Attachments
Fonts_Craft-Grid_002.jpg
Here is how the font-test looks in other opensim (Craft/OsGrid/Metro):
Fonts_Kitely-Grid_002.jpg
Here is how the font-test looks in Kitely:
User avatar
Min Tigerpaw
 
Posts: 190
Joined: Sun Mar 24, 2013 3:52 pm
Has liked: 313 times
Been liked: 146 times

Re: Fonts in Kitely and Opensim for dynamic textures

Postby Ilan Tochner » Sun Nov 22, 2015 12:20 am

Hi Min,

We switched Linux distribution a while back so it's possible the new one doesn't include the same collection of fonts. We can look into adding more fonts in a future site update (they need to be ones we can legally distribute without a license).
User avatar
Ilan Tochner
 
Posts: 4100
Joined: Sun Dec 23, 2012 8:44 am
Has liked: 1828 times
Been liked: 2164 times

Re: Fonts in Kitely and Opensim for dynamic textures

Postby Min Tigerpaw » Mon Nov 23, 2015 9:39 pm

That would be great, Ilan, if you could include them ...There should be tons of free fonts available .. for Opensim compatibility the ones I mentioned should be included ... especially the first three. But I'd encourage to ad some 10-20 nice fonts to enable design options. :)
User avatar
Min Tigerpaw
 
Posts: 190
Joined: Sun Mar 24, 2013 3:52 pm
Has liked: 313 times
Been liked: 146 times

Re: Fonts in Kitely and Opensim for dynamic textures

Postby Serene Jewell » Thu Nov 26, 2015 10:20 pm

Putting good design tools in the hands of the users helps make Kitely look good. Strongly encourage this.
User avatar
Serene Jewell
 
Posts: 336
Joined: Thu Dec 27, 2012 6:12 am
Has liked: 636 times
Been liked: 395 times

Re: Fonts in Kitely and Opensim for dynamic textures

Postby Oren Hurvitz » Thu Dec 03, 2015 3:34 pm

Hi Min,

I'm looking into this issue.

First, could you share the object or script you used to list available fonts? It would help me to check if installing new fonts work.

Second, I noticed that we have more fonts installed than you've listed, but under other names. For example, try these fonts:

    URW Chancery L
    Century Schoolbook L
    Dingbats

Do they work?
User avatar
Oren Hurvitz
 
Posts: 268
Joined: Sun Dec 23, 2012 8:42 am
Has liked: 7 times
Been liked: 355 times

Re: Fonts in Kitely and Opensim for dynamic textures

Postby Min Tigerpaw » Thu Dec 03, 2015 10:26 pm

Hi Oren,
thank you for looking into this. The device to check the fonts is a simple prim with a script that creates a dynamic texture with the list of fonts and tries to set the font according to name.
The list lFonts of font-names must be edited inside the script (I was lazy and didn't write an input via chat or NC so far). I added the three you mentioned but the fonts are not recognized.

The script creates a dynamic texture with columns of the fontnames written with the font the name stands for (if the font is active). If the font is not available the name is written in standard font (looks like Arial or similar).

I made the device free to copy and modify and placed it in my Sandbox close to the arriving point. For test just place the fonts to test in thew list and reset the script.
The fonts listed here should work with opensim if installed:
http://www.w3schools.com/cssref/css_websafe_fonts.asp

And here is an example what you could do if you have nice fonts available ...... (however others have faced the similar issue of font availsbility in opensim if you read the comments there):
http://shipbrook.blogspot.de/2009/07/se ... ns_12.html
User avatar
Min Tigerpaw
 
Posts: 190
Joined: Sun Mar 24, 2013 3:52 pm
Has liked: 313 times
Been liked: 146 times

Re: Fonts in Kitely and Opensim for dynamic textures

Postby Oren Hurvitz » Wed Dec 09, 2015 11:53 am

We have installed more fonts. The following new fonts are now available:

Andale Mono
Arial
Arial Black
Calibri
Cambria
Comic Sans MS
Candara
Consolas
Constantia
Corbel
Courier New
Georgia
Impact
Times New Roman
Webdings

Bookman
Zapf Chancery
URW Gothic L
Palatino
New Century Schoolbook

I have updated the Font Analyzer script to check for these fonts. Here's what it shows now:

fonts-after.jpg


And this is the updated script:

Code: Select all
//fonttest MT

list lFonts = ["Abadi MT","Agency FB","Algerian","Andale Mono","Arial","Arial Rounded MT","Avant-Garde","Baskerville Old Face","Bauhaus 93","Beesknees ITC","Bell MT","Berlin Sans FB","Bernard MT","BernhardMod BT","Bitstream Vera Sans","Bitstream Vera Sans Mono","Bitstream Vera Serif","Blackadder ITC","Blackletter 686 BT","Book Antiqua","Bookman Old Style","Bradley Hand ITC","Braggadocio","Britannic","Broadway","Brush738 BT","Brush Script MT","Brushwood Italic","Californian FB","Calisto MT","CaslonOpenface BT","Castellar","Centaur","Century Gothic","Century Schoolbook","Chiller","Colonna MT","Comic Sans MS","Cooper","Copperplate Gothic","Courier","Courier New","Curlz MT","Desdemona","Edwardian Script ITC","Elephant","Engravers MT","EngraversGothic BT","Eras ITC","Eurostile","Felix Titling","Flexure","Footlight MT","Forte","Franklin Gothic Book","Freestyle Script","French Script MT","Garamond","Georgia","Gigi","Gill Sans MT","Gloucester MT","Goudy Old Style","Goudy Stout","Gradl","Haettenschweiler","Harlow Solid Italic","Harrington","Helvetia","High Tower Text","Hippo","Humanist521 Bold Cn BT","Impact","Imprint MT Shadow","Informal Roman","Jokerman","Juice ITC","Kino MT","Kristen ITC","Kunstler Script","LcdD","Lucida Blackletter","Lucida Calligraphy","Lucida Fax","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Magneto","Maiandra GD","Matisse ITC","Matura MT Script Capitals","Mead","Mercurius Script MT","Mistral","Modern No. 20","Monotype Corsiva","MS Sans Serif","News Gothic MT","Niagara Engraved","Niagara Solid","
OCR A","Old English Text MT","Onyx","Onyx BT","Oz Handicraft BT","Palace Script MT","Palatino Linotype","Papyrus","Parchment","Perpetua Titling MT","Placard Condensed","Playbill","Poor Richard","Pristina","QuickType","Rage","Ransom","Ravie","Ribbon131 Bd BT","Rockwell","Script MT","ShelleyVolante","Showcard Gothic","Snap ITC","Stencil","Swiss721 BlkEx BT","Tahoma","Tempus Sans ITC","Terminal","Times New Roman","T-Roman","Transam","Trebuchet MS","Tw Cen MT","Utopia","Verdana","Viner Hand ITC","Vivaldi","Vladimir Script","Westminster","Wide Latin","Xerox Sans Serif","Xerox Serif","Utopia","Zapf Chancery",

// Microsoft fonts
"Andale Mono", "Arial", "Arial Black", "Calibri", "Cambria", "Comic Sans MS", "Candara", "Consolas", "Constantia", "Corbel", "Courier New", "Georgia",  "Impact", "Times New Roman", "Webdings",

// urw-fonts
"Bookman", "Zapf Chancery", "URW Gothic L", "Palatino", "New Century Schoolbook"
];


string sContentType = "vector";
string sData = "";                               
string sExtraParams = "width:1024,height:1024";
integer i;
integer j;
integer k;


draw_fonts(list fonts)
{
    sData += "PenSize 5; ";
    sData += "PenColour Red; ";
    sData += "FontSize 14; ";   
    for (i = 0; i <= llGetListLength(fonts); ++i)
    {
        j=i;
        k=1;
        if (i>=40)
        {
            j= i-40;
            k= 250;
        }
        if (i>=80)
        {
            j= i-80;
            k= 500;
        }
        if (i>=120)
        {
            j= i-120;
            k= 750;
        }                 
        //llOwnerSay((string)i+","+(string)j+","+(string)k+llList2String(fonts,i));
        sData += "MoveTo "+(string)k+","+(string)(20*j)+"; ";
        string name = llList2String(fonts,i);
        sData += "FontName "+name+"; Text "+name+";";
    }

    osSetDynamicTextureData("", sContentType, sData, sExtraParams, 0);
}


default
{
    state_entry()
    {
        draw_fonts(lFonts);
    }
}
User avatar
Oren Hurvitz
 
Posts: 268
Joined: Sun Dec 23, 2012 8:42 am
Has liked: 7 times
Been liked: 355 times

Re: Fonts in Kitely and Opensim for dynamic textures

Postby Gavin Hird » Thu Dec 10, 2015 9:25 am

Thanks for the script.

Not relevant to Kitely, but when OpenSim is running on OS X all fonts installed on the system (globally available from /Library/System/Fonts) are also available to OpenSim via mono. All the Microsoft fonts listed in the script are installed on OS X by default + a bunch of fonts that Apple has licensed since 1984 such as Helvetica.
Gavin Hird
 
Posts: 19
Joined: Mon May 26, 2014 10:58 am
Has liked: 0 time
Been liked: 17 times

Re: Fonts in Kitely and Opensim for dynamic textures

Postby Min Tigerpaw » Mon Dec 14, 2015 9:55 pm

Super Oren ....you're my hero!

here are some of the fonts in action:
Attachments
Fonts_New_001.jpg
User avatar
Min Tigerpaw
 
Posts: 190
Joined: Sun Mar 24, 2013 3:52 pm
Has liked: 313 times
Been liked: 146 times

Re: Fonts in Kitely and Opensim for dynamic textures

Postby Brayla Sana » Tue Jan 17, 2017 11:13 am

I know this is a bit of a necro, but have you considered adding some Google fonts?

https://fonts.google.com/

Or Font Squirrel?

https://www.fontsquirrel.com/

IMO, Font Squirrel has some fantastic fonts. In font Squirrel, click the sample and it has the license in a tab. If you want, I can look for some nice ones that use the SIL Open Font License, which is the license you want.
Dadiella's for Fashion and Brayla Sana Gallery for Building!
User avatar
Brayla Sana
 
Posts: 37
Joined: Wed Mar 27, 2013 7:09 pm
Has liked: 12 times
Been liked: 44 times

Next

Return to Worlds Support

Who is online

Users browsing this forum: No registered users and 1 guest