{"action":"created","issue":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2046","labels_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2046/labels{/name}","comments_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2046/comments","events_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2046/events","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2046","id":48463086,"number":2046,"title":"@font-face, Mavericks, Yosemite","user":{"login":"ethanbeyer","id":6864684,"avatar_url":"https://avatars.githubusercontent.com/u/6864684?v=3","gravatar_id":"","url":"https://api.github.com/users/ethanbeyer","html_url":"https://github.com/ethanbeyer","followers_url":"https://api.github.com/users/ethanbeyer/followers","following_url":"https://api.github.com/users/ethanbeyer/following{/other_user}","gists_url":"https://api.github.com/users/ethanbeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/ethanbeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethanbeyer/subscriptions","organizations_url":"https://api.github.com/users/ethanbeyer/orgs","repos_url":"https://api.github.com/users/ethanbeyer/repos","events_url":"https://api.github.com/users/ethanbeyer/events{/privacy}","received_events_url":"https://api.github.com/users/ethanbeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2014-11-12T01:56:54Z","updated_at":"2015-04-05T15:02:40Z","closed_at":null,"body":"I can't get `font-face` fonts to work on my Mavericks (now Yosemite) Mac, either.\r\n\r\nwkhtmltopdf -V: `wkhtmltopdf 0.12.1 (with patched qt)`\r\nOS/Version: `Mac OS X 10.9.5`\r\n\r\nI am positive that I've got the Carbon version, because my text is selectable afterwards, though unlike @Shad0ko, this has not led me to be able to use `font-face`:\r\n![screen shot 2014-10-10 at 16 02 29](https://cloud.githubusercontent.com/assets/6864684/4598393/63504b1c-50b8-11e4-86cb-b12f1ee37aad.png)\r\n\r\nI've tried *everything* to get `font-face` to work - and at this point, after something like 200 individual tests (not an exaggeration), I'm at a loss.\r\n- I've tried `base64encode`-ing the font, as described [here](http://blog.shahariaazam.com/use-google-web-fonts-for-wkhtmltopdf-tools/)\r\n- I've tried importing the Google Fonts stylesheets\r\n- I've tried downloading the fonts, linking the font-files with absolute links to the stylesheets (absolute from both my Computer's root, and the web-root on the dev site I set up), using the following markup:\r\n  - ```@font-face {\r\n    font-family: \"ChartwellRose\";\r\n    src: url(\"file:///Users/Ethan/Sites/tagpdf.dev/_assets/fonts/Chartwell/ChartwellRoseWebPro.eot\");\r\n    }```\r\n  - and ```@font-face {\r\n    font-family: \"ChartwellRose\";\r\n    src: url(\"/_assets/fonts/Chartwell/ChartwellRoseWebPro.eot\");\r\n    }```\r\n  - and ```@font-face {\r\n    font-family: \"ChartwellRose\";\r\n    src: url(\"http://tagpdf.dev/_assets/fonts/Chartwell/ChartwellRoseWebPro.eot\");\r\n    }```\r\n  - ...none of which worked at all\r\n- I've tried linking the files with relative links\r\n  - ```@font-face {\r\n    font-family: \"ChartwellRose\";\r\n    src: url(\"../fonts/Chartwell/ChartwellRoseWebPro.eot\");\r\n    }```\r\n- I've tried specifying Print specific, no-specific, or Screen-specific styles - to no avail\r\n- I've tried `.woff`, `.woff2`, `.otf`, `.ttf`, `.eot` and `.svg` fonts - both one at a time and with a fallback approach\r\n- I've tried leaving out the `format('...')`, and leaving it in, and it makes no difference\r\n- I've made sure that the `font-family: \"whatever\";` matches the `@font-face { font-family: \"whatever\"; ... }` and that makes no difference either\r\n \r\n\r\n\r\nThe only time  `wkhtmltopdf` *would* include `@font-face` fonts was if they were `.otf`s and installed on my machine - but even that was hit or miss.\r\n\r\n[Here is a link to all my code, which, in browser, works perfectly](https://dl.dropboxusercontent.com/u/3194168/wkhtmltopdf-v2.zip). It's only upon output of a PDF through `wkhtmltopdf` that the fonts will not work.\r\n\r\nLastly, for the sake of completeness, here are the arguments I'm putting into Terminal:\r\n```\r\nwkhtmltopdf\\\r\n --images\\\r\n --print-media-type\\\r\n --enable-external-links\\\r\n --enable-local-file-access\\\r\n --page-size Letter\\\r\n --margin-bottom 1in\\\r\n --margin-left 0in\\\r\n --margin-right 0in\\\r\n --margin-top 1in\\\r\n --header-html _assets/partials/print_header.html\\\r\n --footer-html _assets/partials/print_footer.html\\\r\n http://tagpdf.dev\\\r\n _out/1.pdf\r\n```\r\n\r\nPlease help me!"},"comment":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/comments/89789202","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2046#issuecomment-89789202","issue_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2046","id":89789202,"user":{"login":"ashkulz","id":854352,"avatar_url":"https://avatars.githubusercontent.com/u/854352?v=3","gravatar_id":"","url":"https://api.github.com/users/ashkulz","html_url":"https://github.com/ashkulz","followers_url":"https://api.github.com/users/ashkulz/followers","following_url":"https://api.github.com/users/ashkulz/following{/other_user}","gists_url":"https://api.github.com/users/ashkulz/gists{/gist_id}","starred_url":"https://api.github.com/users/ashkulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashkulz/subscriptions","organizations_url":"https://api.github.com/users/ashkulz/orgs","repos_url":"https://api.github.com/users/ashkulz/repos","events_url":"https://api.github.com/users/ashkulz/events{/privacy}","received_events_url":"https://api.github.com/users/ashkulz/received_events","type":"User","site_admin":false},"created_at":"2015-04-05T15:02:40Z","updated_at":"2015-04-05T15:02:40Z","body":"Can someone summarize the status? There is no 64-bit Carbon build (or a 32-bit Cocoa build) so when people refer to these builds it becomes confusing."}}