{"id":13574916,"url":"https://github.com/AuburnSounds/printed","last_synced_at":"2025-04-04T18:32:51.202Z","repository":{"id":48710225,"uuid":"61226136","full_name":"AuburnSounds/printed","owner":"AuburnSounds","description":"Generate PDF/SVG/HTML with D, with a Canvas-style API. Now with a flow document emitter.","archived":false,"fork":false,"pushed_at":"2024-08-05T00:30:06.000Z","size":346,"stargazers_count":36,"open_issues_count":8,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-05T10:45:09.133Z","etag":null,"topics":["canvas","generation","pdf","printable","svg","vector-graphics"],"latest_commit_sha":null,"homepage":"","language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AuburnSounds.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-15T17:14:46.000Z","updated_at":"2024-08-05T00:30:06.000Z","dependencies_parsed_at":"2024-01-03T22:25:29.308Z","dependency_job_id":"823e5390-7779-4866-abcd-c351a42c8c13","html_url":"https://github.com/AuburnSounds/printed","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AuburnSounds%2Fprinted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AuburnSounds%2Fprinted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AuburnSounds%2Fprinted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AuburnSounds%2Fprinted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AuburnSounds","download_url":"https://codeload.github.com/AuburnSounds/printed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247229935,"owners_count":20905159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["canvas","generation","pdf","printable","svg","vector-graphics"],"created_at":"2024-08-01T15:00:56.412Z","updated_at":"2025-04-04T18:32:46.193Z","avatar_url":"https://github.com/AuburnSounds.png","language":"D","funding_links":[],"categories":["D"],"sub_categories":[],"readme":"# `printed`\n\nA simple Canvas API to generate self-contained PDF/SVG/HTML documents suitable for print.\n\n`printed` provides an immediate graphical context API for drawing vectorial content inside a multi-page PDF, HTML or SVG.\nIt is intended to provide a barebones API, and need text-aware APIs on top of it. \n\nIts API is similar to the HTML5 Canvas 2D API.\n\n_The ultimate goal would be to generate technical documentation or user manuals with it, but for that you \nwould need a text layout library._\n\n## Features\n\n- [x] **TrueType and OpenType font embedding** in order to have fully reproducible vectors\n- [x] PDF 1.4 output\n- [x] SVG 1.1 output\n- [x] HTML5 output through SVG embedding\n\n[See features of the 2D renderer...](https://github.com/p0nce/printed/blob/master/canvas/printed/canvas/irenderer.d)\n\n## Goals\n\n- Simplicity\n- Reproducibility\n- Common denominator API, support many vectorial formats before being a rich API.\n\n\n## How to add as DUB dependency\n\nWith dub.sdl:\n```\ndependency \"printed:canvas\" version=\"~\u003e1.0\"\n```\n\nWith dub.json:\n```json\n     \"dependencies\": { \"printed:canvas\": \"~\u003e1.0\" }\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAuburnSounds%2Fprinted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAuburnSounds%2Fprinted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAuburnSounds%2Fprinted/lists"}