Re:Launch HN: Onedoc (YC W24) – A better way to create PDFs
by dmazzoni on Monday March 11, 2024 @01:52PM
(#39671287)
So are you saying that you don't output tagged PDFs now?
For those who don't know, if you use Chromium's print-to-pdf feature you get a tagged PDF. And it's scriptable from the command-line too.
Re:Launch HN: Onedoc (YC W24) – A better way to create PDFs
by AugusteLef on Monday March 11, 2024 @03:44PM
(#39672468)
As mentioned in another comment, "Onedoc generates tagged PDFs as long as you add a `title` property to the API call to make the PDF UA/1 compliant."! Hope it helps
- We do not force PDF/* profiles down to the user, but it seems that for most of them PDF/UA-1 would be a sensible default. We can extract most of the tags from the HTML semantics by themselves which makes it much easier.
- We target the PDF 1.7 spec. Color profiles can be changed and you can use a custom .icc profile, with the corresponding embedding restrictions based on the document format. MediaBox is supported through the @page size property. Bleed, trim and marks can be added using vendor specific css properties. We don't support ArtBox yet but this is something we can look into! So far none of our customers really wanted to take this out to a real print shop, but we would be glad to help people go down this route :)