{"id":517,"date":"2016-01-08T09:37:19","date_gmt":"2016-01-08T01:37:19","guid":{"rendered":"http:\/\/blog.md5.red\/?p=517"},"modified":"2016-01-08T09:38:10","modified_gmt":"2016-01-08T01:38:10","slug":"imagettftext%e5%87%bd%e6%95%b0%e5%9c%a8linux%e4%b8%8b%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/blog.md5.red\/?p=517","title":{"rendered":"imagettftext()\u51fd\u6570\u5728Linux\u4e0b\u65e0\u6cd5\u4f7f\u7528\u7684\u95ee\u9898"},"content":{"rendered":"<p>\u8d77\u56e0\u662f\u00a0<a title=\"\u94fe\u63a5\u5230 Android\u9501\u5c4f\u5bc6\u7801\u7834\u89e3\u7814\u7a76\u3010\u4e5d\u5bab\u683c\u548c\u590d\u6742\u5bc6\u7801\u3011\" href=\"http:\/\/blog.md5.red\/?p=456\" rel=\"bookmark\">Android\u9501\u5c4f\u5bc6\u7801\u7834\u89e3\u7814\u7a76\u3010\u4e5d\u5bab\u683c\u548c\u590d\u6742\u5bc6\u7801\u3011<\/a>\u00a0\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u628a\u7834\u89e3gesture.key\u7684php\u4ee3\u7801\u4eceWin\u653e\u5230Linux\u4e0a\uff0c\u672c\u5730\u5728Windows\u7cfb\u7edf\u6d4b\u8bd5\u6ca1\u95ee\u9898\uff0c\u5230\u4e86Linux\u4e0a\u53d1\u73b0\u53ea\u6709\u80cc\u666f\u56fe\uff0c<span class=\"pln\">imageline()<\/span>\u7ebf\u6761\u80fd\u753b\u51fa\u6765\uff0c\u4f46\u662fimagettftext()\u753b\u7684\u5b57\u51fa\u4e0d\u6765\uff0c\u4e0d\u662f\u4e2d\u6587\uff0c\u6570\u5b57\u548c\u82f1\u6587\u90fd\u51fa\u4e0d\u6765\u3002<\/p>\n<p>\u767e\u5ea6\u4e86\u4e00\u756a\uff0c\u53d1\u73b0\u4e86\u51e0\u79cd\u539f\u56e0\u3002<\/p>\n<p>1\u3001\u9700\u8981gd\u548cfreetype\u652f\u6301\u3002<\/p>\n<p><a href=\"http:\/\/blog.md5.red\/wp-content\/uploads\/2016\/01\/\u5c4f\u5e55\u5feb\u7167-2016-01-08-\u4e0a\u53489.29.55.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\" rel=\"attachment wp-att-519\"><img decoding=\"async\" class=\"alignnone wp-image-519\" src=\"http:\/\/blog.md5.red\/wp-content\/uploads\/2016\/01\/\u5c4f\u5e55\u5feb\u7167-2016-01-08-\u4e0a\u53489.29.55.png\" alt=\"\u5c4f\u5e55\u5feb\u7167 2016-01-08 \u4e0a\u53489.29.55\" width=\"551\" height=\"282\" srcset=\"https:\/\/blog.md5.red\/wp-content\/uploads\/2016\/01\/\u5c4f\u5e55\u5feb\u7167-2016-01-08-\u4e0a\u53489.29.55.png 615w, https:\/\/blog.md5.red\/wp-content\/uploads\/2016\/01\/\u5c4f\u5e55\u5feb\u7167-2016-01-08-\u4e0a\u53489.29.55-300x154.png 300w\" sizes=\"(max-width: 551px) 100vw, 551px\" \/><\/a><\/p>\n<p>\u770b\u4e86\u4e0bphpinfo\uff0c\u90fd\u6709\u3002<\/p>\n<p>2\u3001linux\u4e0b\u5b57\u4f53\u8def\u5f84\u9700\u8981\u7edd\u5bf9\u8def\u5f84\uff0c\u4e0d\u80fd\u7528\u76f8\u5bf9\u8def\u5f84\u3002<\/p>\n<p>\u6539\u4e86\uff0c\u8fd8\u662f\u4e0d\u884c\uff0c\u540e\u6765\u53d1\u73b0\u4e0d\u662f\u8fd9\u4e2a\u95ee\u9898\uff0cimagettftext()\u7684\u5b57\u4f53\u6587\u4ef6\u53ef\u4ee5\u7528\u76f8\u5bf9\u8def\u5f84\u3002\uff08Cent OS\u4e0b\u6d4b\u8bd5\u7684\uff09<\/p>\n<p>3\u3001\u5b57\u4f53\u5728Linux\u4e2d\u4e0d\u9002\u7528<\/p>\n<p><a href=\"http:\/\/blog.md5.red\/wp-content\/uploads\/2016\/01\/\u5c4f\u5e55\u5feb\u7167-2016-01-08-\u4e0a\u53489.33.56.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\" rel=\"attachment wp-att-520\"><img decoding=\"async\" class=\"alignnone wp-image-520\" src=\"http:\/\/blog.md5.red\/wp-content\/uploads\/2016\/01\/\u5c4f\u5e55\u5feb\u7167-2016-01-08-\u4e0a\u53489.33.56.png\" alt=\"\u5c4f\u5e55\u5feb\u7167 2016-01-08 \u4e0a\u53489.33.56\" width=\"584\" height=\"496\" srcset=\"https:\/\/blog.md5.red\/wp-content\/uploads\/2016\/01\/\u5c4f\u5e55\u5feb\u7167-2016-01-08-\u4e0a\u53489.33.56.png 720w, https:\/\/blog.md5.red\/wp-content\/uploads\/2016\/01\/\u5c4f\u5e55\u5feb\u7167-2016-01-08-\u4e0a\u53489.33.56-300x255.png 300w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/a><\/p>\n<p>\u6d6a\u8d39\u4e862\u4e2a\u5c0f\u65f6\uff0c\u6700\u540e\u53d1\u73b0\u6709\u4eba\u63d0\u5230\uff0c\u90e8\u5206\u5b57\u4f53\u662fWindows\u7279\u6709\u7684\uff0c\u4e5f\u8bb8\u201csimkai.ttf\u201d\u4e5f\u662f\uff0c\u62b1\u7740\u8bd5\u8bd5\u770b\u7684\u6001\u5ea6\u4e0a\u4f20\u4e86Windows\u4e0b\u7684\u201carial.ttf\u201d\uff0c\u641e\u5b9a\uff01\u7adf\u7136\u662f\u8fd9\u4e2a\u539f\u56e0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8d77\u56e0\u662f\u00a0Android\u9501\u5c4f\u5bc6\u7801\u7834\u89e3\u7814\u7a76\u3010\u4e5d\u5bab\u683c\u548c\u590d\u6742\u5bc6\u7801\u3011\u00a0\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u628a\u7834\u89e3gesture.key\u7684php\u4ee3 ...<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[66,67],"class_list":["post-517","post","type-post","status-publish","format-standard","hentry","category-12","tag-imagettftext","tag-linux"],"_links":{"self":[{"href":"https:\/\/blog.md5.red\/index.php?rest_route=\/wp\/v2\/posts\/517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.md5.red\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.md5.red\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.md5.red\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.md5.red\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=517"}],"version-history":[{"count":2,"href":"https:\/\/blog.md5.red\/index.php?rest_route=\/wp\/v2\/posts\/517\/revisions"}],"predecessor-version":[{"id":522,"href":"https:\/\/blog.md5.red\/index.php?rest_route=\/wp\/v2\/posts\/517\/revisions\/522"}],"wp:attachment":[{"href":"https:\/\/blog.md5.red\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.md5.red\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.md5.red\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}