title: How to draw a border around text in OpenGL?
body: <p>I'm trying to draw a border for text, so it can tell user which object is selected.</p>
  
  <p>The following example is a window with One Text and One Square, where Square is bordered with one red line.</p>
  
  <p><a href="https://i.stack.imgur.com/8qamO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8qamO.png" alt="enter image description here"></a></p>
  
  <p>So to draw a text is easy, because all I need is a font and a center point. But how to draw a border around a text? </p>