<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://opensimulator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jennie</id>
		<title>OpenSimulator - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jennie"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Special:Contributions/Jennie"/>
		<updated>2026-05-15T14:48:41Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.9</generator>

	<entry>
		<id>http://opensimulator.org/wiki/OsSetFontSize</id>
		<title>OsSetFontSize</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/OsSetFontSize"/>
				<updated>2010-08-13T07:47:35Z</updated>
		
		<summary type="html">&lt;p&gt;Jennie: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Quicklinks}}&lt;br /&gt;
[[Technical Reference | Technical Reference]] -&amp;gt; [[Technical Reference/terms | Terms]] -&amp;gt; [[Status | Status Page]] -&amp;gt; [[OSSL_Implemented| OSSL Implemented Functions]] -&amp;gt; [[Dynamic textures]] -&amp;gt; [[OsSetFontSize | osSetFontSize]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
LSL: '''[[string]] osSetFontSize( [[string]] drawList, [[integer]] fontSize )'''&amp;lt;br /&amp;gt;&lt;br /&gt;
C#: '''[[string]] osSetFontSize( [[string]] drawList, [[int]] fontSize )'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Appends a [[Drawing_commands#FontSize|FontSize]] drawing command to the string provided in '''drawList''' and returns the result.&lt;br /&gt;
&lt;br /&gt;
[http://www.online-casino-gaming.org/ casino online]&lt;br /&gt;
&lt;br /&gt;
Sets the size of the font used by subsequent '''[[OsDrawText | osDrawTextText]]'''() calls. The '''fontSize''' parameter represents the font height in points. &lt;br /&gt;
&lt;br /&gt;
Please note that the font height is given in ''points'', not in ''pixels''. The resulting size of the font in pixels may vary depending on the system settings, specifically the display system's &amp;quot;dots per inch&amp;quot; metric.  A system set to 96dpi will produce differently sized text than a system set to 120dpi. If precise text size is required, consider using the [[osGetDrawStringSize]]() function to help calculate the proper fontSize value to use.&lt;br /&gt;
&lt;br /&gt;
If a negative '''fontSize''' parameter is specified, any text subsequently added will be displayed upside down and to the right of the point of origin.&lt;br /&gt;
&lt;br /&gt;
Please note that the pen position is ''not'' updated after this call.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
// Example of osDrawText&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        string CommandList = &amp;quot;&amp;quot;; // Storage for our drawing commands&lt;br /&gt;
&lt;br /&gt;
        CommandList = osMovePen( CommandList, 10, 10 );             // Upper left corner at &amp;lt;10,10&amp;gt;&lt;br /&gt;
        CommandList = osSetFontSize( CommandList, 10 );             // Use 10-point text&lt;br /&gt;
        CommandList = osDrawText( CommandList, &amp;quot;Ten points!&amp;quot; );     // Place some text&lt;br /&gt;
        CommandList = osMovePen( CommandList, 10, 27 );             // New text placement&lt;br /&gt;
        CommandList = osSetFontSize( CommandList, 15 );             // Use 10-point text&lt;br /&gt;
        CommandList = osDrawText( CommandList, &amp;quot;Fifteen points!&amp;quot; ); // Place some text&lt;br /&gt;
        CommandList = osMovePen( CommandList, 10, 50 );             // New text placement&lt;br /&gt;
        CommandList = osSetFontSize( CommandList, 20 );             // Use 10-point text&lt;br /&gt;
        CommandList = osDrawText( CommandList, &amp;quot;Twenty points!&amp;quot; );  // Place some text&lt;br /&gt;
&lt;br /&gt;
        // Now draw the image&lt;br /&gt;
        osSetDynamicTextureData( &amp;quot;&amp;quot;, &amp;quot;vector&amp;quot;, CommandList, &amp;quot;width:256,height:256&amp;quot;, 0 );&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jennie</name></author>	</entry>

	</feed>