{"id":1255,"date":"2015-02-01T16:17:10","date_gmt":"2015-02-01T16:17:10","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=1255"},"modified":"2015-02-01T16:17:10","modified_gmt":"2015-02-01T16:17:10","slug":"p-155-phoenix-engine-update-4-text-rendering","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p-155-phoenix-engine-update-4-text-rendering\/","title":{"rendered":"P-155 &#8220;Phoenix&#8221; Engine Update 4: Text Rendering"},"content":{"rendered":"<p>I have decided to use the<a href=\"http:\/\/www.freetype.org\/\">\u00a0FreeType<\/a>\u00a0library to render text in the P-155 engine.This seems to be one of the most popular and well supported libraries out there for this purpose.<\/p>\n<p>To get freetype working, I had to download the windows binaries, which were slightly harder to find than the linux source. They are <a href=\"http:\/\/gnuwin32.sourceforge.net\/packages\/freetype.htm\">HERE<\/a>.<\/p>\n<p>Freetype supports truetype (.ttf) fonts, which need to be installed on the machine or located in the programs director in order for freetype to be able to use them.<\/p>\n<p>I am still working on getting text displaying in my project. I have run into a series of issues, most of which I have fixed, but I am still getting no text. I am fairly sure that I am close to a solution, however.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have decided to use the\u00a0FreeType\u00a0library to render text in the P-155 engine.This seems to be one of the most popular and well supported libraries out there for this purpose. To get freetype working, I had to download the windows binaries, which were slightly harder to find than the linux source. They are HERE. Freetype [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,16],"tags":[],"class_list":["post-1255","post","type-post","status-publish","format-standard","hentry","category-software-and-games","category-software-engines","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/1255"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=1255"}],"version-history":[{"count":1,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/1255\/revisions"}],"predecessor-version":[{"id":1256,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/1255\/revisions\/1256"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=1255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=1255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=1255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}