<story><title>Show HN: Lite – A small, fast text editor</title><url>https://github.com/rxi/lite</url></story><parent_chain><item><author>joan_kode</author><text>Looking at the screenshot in full size [1], it looks really cool but the text is visibly blurry (look at the = signs for example). Text rendering is hard, and especially for a text editor it&amp;#x27;s a good idea to just use the current platform&amp;#x27;s text rendering instead of rolling your own. Of course SDL &amp;quot;rolls its own&amp;quot; because it focuses on being exactly the same on every platform.&lt;p&gt;SDL seems to offer font hinting which would somewhat solve the immediate problem, but I&amp;#x27;m not sure it&amp;#x27;s being used properly here. With that said, text rendering is optimized for the current device&amp;#x27;s DPI, so maybe I&amp;#x27;m just reading too much into a screenshot taken at a different DPI.&lt;p&gt;[1] &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;user-images.githubusercontent.com&amp;#x2F;3920290&amp;#x2F;81471642-6c165880-91ea-11ea-8cd1-fae7ae8f0bc4.png&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;user-images.githubusercontent.com&amp;#x2F;3920290&amp;#x2F;81471642-6...&lt;/a&gt;</text></item></parent_chain><comment><author>compressedgas</author><text>SDL has hinting because it uses freetype. But this program doesn&amp;#x27;t use that. It uses stb_truetype which does not support hinting.</text></comment>
<story><title>Show HN: Lite – A small, fast text editor</title><url>https://github.com/rxi/lite</url></story><parent_chain><item><author>joan_kode</author><text>Looking at the screenshot in full size [1], it looks really cool but the text is visibly blurry (look at the = signs for example). Text rendering is hard, and especially for a text editor it&amp;#x27;s a good idea to just use the current platform&amp;#x27;s text rendering instead of rolling your own. Of course SDL &amp;quot;rolls its own&amp;quot; because it focuses on being exactly the same on every platform.&lt;p&gt;SDL seems to offer font hinting which would somewhat solve the immediate problem, but I&amp;#x27;m not sure it&amp;#x27;s being used properly here. With that said, text rendering is optimized for the current device&amp;#x27;s DPI, so maybe I&amp;#x27;m just reading too much into a screenshot taken at a different DPI.&lt;p&gt;[1] &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;user-images.githubusercontent.com&amp;#x2F;3920290&amp;#x2F;81471642-6c165880-91ea-11ea-8cd1-fae7ae8f0bc4.png&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;user-images.githubusercontent.com&amp;#x2F;3920290&amp;#x2F;81471642-6...&lt;/a&gt;</text></item></parent_chain><comment><author>seddin</author><text>I have just downloaded it too and witnessed this issue, the text looks weird, like a little bit blurry, it would be perfect if it looked like on Sublime Text 3 or on this image &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;i.ibb.co&amp;#x2F;qYCpx3x&amp;#x2F;1588859182372.gif&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;i.ibb.co&amp;#x2F;qYCpx3x&amp;#x2F;1588859182372.gif&lt;/a&gt;</text></comment>