title: Powershell insert text in Hebrew to an image
body: <p>I’m trying to make a signature maker and I want to write name and job in Hebrew but it starts from the left like English. There is a way that the text will start from the right?</p>
  <p>This is my code for example:</p>
  <pre><code>Add-Type -AssemblyName System.Drawing
  $uname='סער'#Read-Host &quot;insert name:&quot;
  $job='יינחןינצל'#Read-Host &quot;insert job:&quot;
  $filename = &quot;$home\desktop\sign.png&quot; 
  $bmp = new-object System.Drawing.Bitmap 600,200
  
  #Get the image
  #$source=Get-Item 
  #$img = [System.Drawing.Image]::FromFile($_.FullName)
  #Create a bitmap
  #$bmp = new-object System.Drawing.Bitmap([int]($img.width)),([int]($img.height))
  
  $font = new-object System.Drawing.Font Consolas,18
  $brushBg = [System.Drawing.Brushes]::White 
  $brushFg = [System.Drawing.Brushes]::Black 
  $graphics = [System.Drawing.Graphics]::FromImage($bmp) 
  $graphics.FillRectangle($brushBg,0,0,$bmp.Width,$bmp.Height) 
  $graphics.DrawString($uname,$font,$brushFg,10,10)
  $graphics.DrawString($job,$font,$brushFg,90,100)
  $graphics.Dispose() 
  $bmp.Save($filename) 
  
  Invoke-Item $filename
  </code></pre>