mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
- making font name used by VectorRenderModule configurable: can be set
via
[VectorRender]
font_name = "Comic Sans MS"
in OpenSim.ini
- adding osSetFontName OSSL function
This commit is contained in:
@@ -880,6 +880,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return drawList;
|
||||
}
|
||||
|
||||
public string osSetFontName(string drawList, string fontName)
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.None, "osSetFontName");
|
||||
|
||||
m_host.AddScriptLPS(1);
|
||||
drawList += "FontName "+ fontName +"; ";
|
||||
return drawList;
|
||||
}
|
||||
|
||||
public string osSetPenSize(string drawList, int penSize)
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.None, "osSetPenSize");
|
||||
|
||||
Reference in New Issue
Block a user