{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/node-canvas/issues/761","repository_url":"https://api.github.com/repos/Automattic/node-canvas","labels_url":"https://api.github.com/repos/Automattic/node-canvas/issues/761/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/node-canvas/issues/761/comments","events_url":"https://api.github.com/repos/Automattic/node-canvas/issues/761/events","html_url":"https://github.com/Automattic/node-canvas/issues/761","id":153164999,"number":761,"title":"How do we enable custom fonts on Windows?","user":{"login":"davidlimjh","id":5862177,"avatar_url":"https://avatars.githubusercontent.com/u/5862177?v=3","gravatar_id":"","url":"https://api.github.com/users/davidlimjh","html_url":"https://github.com/davidlimjh","followers_url":"https://api.github.com/users/davidlimjh/followers","following_url":"https://api.github.com/users/davidlimjh/following{/other_user}","gists_url":"https://api.github.com/users/davidlimjh/gists{/gist_id}","starred_url":"https://api.github.com/users/davidlimjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidlimjh/subscriptions","organizations_url":"https://api.github.com/users/davidlimjh/orgs","repos_url":"https://api.github.com/users/davidlimjh/repos","events_url":"https://api.github.com/users/davidlimjh/events{/privacy}","received_events_url":"https://api.github.com/users/davidlimjh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-05-05T04:14:30Z","updated_at":"2016-07-26T13:26:35Z","closed_at":null,"body":"I saw the example.js for custom fonts and tried to use it but it seems I dont have the canvas.font dependency. Im running the node-canvas installed using npm.\r\n\r\nOne of my friends said he looked through the build script and found out there is no support for FreeType on windows. Is it possible for me to use custom fonts by simply installing them on my Windows installation then specifying the font?"},"comment":{"url":"https://api.github.com/repos/Automattic/node-canvas/issues/comments/235266501","html_url":"https://github.com/Automattic/node-canvas/issues/761#issuecomment-235266501","issue_url":"https://api.github.com/repos/Automattic/node-canvas/issues/761","id":235266501,"user":{"login":"FZFalzar","id":5872084,"avatar_url":"https://avatars.githubusercontent.com/u/5872084?v=3","gravatar_id":"","url":"https://api.github.com/users/FZFalzar","html_url":"https://github.com/FZFalzar","followers_url":"https://api.github.com/users/FZFalzar/followers","following_url":"https://api.github.com/users/FZFalzar/following{/other_user}","gists_url":"https://api.github.com/users/FZFalzar/gists{/gist_id}","starred_url":"https://api.github.com/users/FZFalzar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FZFalzar/subscriptions","organizations_url":"https://api.github.com/users/FZFalzar/orgs","repos_url":"https://api.github.com/users/FZFalzar/repos","events_url":"https://api.github.com/users/FZFalzar/events{/privacy}","received_events_url":"https://api.github.com/users/FZFalzar/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T13:26:35Z","updated_at":"2016-07-26T13:26:35Z","body":"Hi @chearon , regarding this I would also like to know about how the Windows build handles fallback fonts since they don't seem to use Windows' own mechanism. \r\n\r\nAs far as I've researched, the Pango backend should be able to take in a \"pango.aliases\" file. \r\nHowever, placing it in the directory like C:/GTK/etc/pango/pango.aliases does not seem to have any effect, nor does editing the gyp script to copy those into the project directory for canvas\r\n\r\nSome insight is greatly appreciated! "}}
{"actor":{"display_login":"FZFalzar"}}