[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"docs:":3},{"versions":4,"version":13,"nav":16,"path":18,"page":80},[5,10],{"name":6,"label":7,"prefix":8,"channel":9},"0.1","0.1.0 (latest)","","latest",{"name":11,"label":12,"prefix":11,"channel":11},"next","next (main)",{"name":6,"label":7,"prefix":8,"channel":9,"base":14,"ref":15},"\u002Fdocs","v0.1.0",[17,21,24,27,30,33,36,39,43,46,49,52,55,58,61,65,68,71,74,77],{"slug":18,"title":19,"group":20},"index","Overview","Guide",{"slug":22,"title":23,"group":20},"getting-started","Getting started",{"slug":25,"title":26,"group":20},"php","PHP API",{"slug":28,"title":29,"group":20},"laravel","Laravel",{"slug":31,"title":32,"group":20},"resources","Resources",{"slug":34,"title":35,"group":20},"deployment","Deployment",{"slug":37,"title":38,"group":20},"troubleshooting","Troubleshooting",{"slug":40,"title":41,"group":42},"css","CSS reference","Reference",{"slug":44,"title":45,"group":42},"paged-media","Paged media",{"slug":47,"title":48,"group":42},"fonts","Fonts",{"slug":50,"title":51,"group":42},"extensions","Extensions",{"slug":53,"title":54,"group":42},"pdf","The PDF",{"slug":56,"title":57,"group":42},"cli","Command line",{"slug":59,"title":60,"group":42},"rust","Rust library",{"slug":62,"title":63,"group":64},"protocol","Worker protocol","Internals",{"slug":66,"title":67,"group":64},"releasing","Releasing",{"slug":69,"title":70,"group":64},"adr\u002F0001-record-architecture-decisions","1. Record architecture decisions",{"slug":72,"title":73,"group":64},"adr\u002F0002-rust-and-fragmentation-in-layout","2. Rust core with fragmentation inside layout",{"slug":75,"title":76,"group":64},"adr\u002F0003-css-parsing-and-own-selector-matching","3. lightningcss for parsing, own selector matching and cascade",{"slug":78,"title":79,"group":64},"adr\u002F0004-extensions-only-where-css-has-no-way","4. Extensions only where CSS has no way",{"title":19,"seoTitle":81,"seoDescription":82,"html":83,"headings":84,"editUrl":100,"sourceUrl":101,"markdownUrl":102,"next":103},"Fagus documentation: HTML and CSS to PDF for PHP","Fagus turns HTML and CSS into PDF for PHP and Laravel, the way Chrome prints them, without a browser. Getting started, references and the PDF it writes.","\u003Ch1 id=\"fagus-documentation\">Fagus documentation\u003C\u002Fh1>\n\u003Cp>Fagus turns HTML and CSS into PDF for PHP and Laravel, the way Chrome prints them, without a\nbrowser. Start with \u003Ca href=\"\u002Fdocs\u002Fgetting-started\">Getting started\u003C\u002Fa>; the other pages are references to look\nthings up in.\u003C\u002Fp>\n\u003Ch2 id=\"using-fagus\">Using Fagus\u003Ca class=\"f-doc-anchor\" href=\"#using-fagus\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fgetting-started\">Getting started\u003C\u002Fa>: requirements, installing the Composer package, the first\nPDF in PHP and in Laravel.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fphp\">PHP API\u003C\u002Fa>: documents, the PDF they render to, the engine, diagnostics and exceptions.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Flaravel\">Laravel\u003C\u002Fa>: the facade, Blade views, responses, disks, queues, Octane and the\nconfiguration.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fresources\">Resources\u003C\u002Fa>: where images, style sheets, fonts and frames come from, and what Fagus\nnever loads.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fdeployment\">Deployment\u003C\u002Fa>: Docker, Alpine, servers without access to GitHub, binaries of your\nown, worker processes, speed and memory.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Ftroubleshooting\">Troubleshooting\u003C\u002Fa>: error messages, diagnostics, differences from Chrome, and\nmoving from Dompdf, mPDF, Browsershot or Snappy.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"writing-documents\">Writing documents\u003Ca class=\"f-doc-anchor\" href=\"#writing-documents\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fcss\">CSS reference\u003C\u002Fa>: what Fagus supports, what it does differently from Chrome and what it\ndoes not support.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fpaged-media\">Paged media\u003C\u002Fa>: page sizes and margins, headers and footers, page numbers, page\nbreaks, tables across pages, tables of contents, print shop marks.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Ffonts\">Fonts\u003C\u002Fa>: the built-in font, font directories, \u003Ccode>@font-face\u003C\u002Fcode>, system fonts, fallback,\nOpenType features and languages.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fextensions\">Extensions\u003C\u002Fa>: what Fagus adds where CSS has no way, such as carry-over rows in\ntables that break across pages.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"the-pdf\">The PDF\u003Ca class=\"f-doc-anchor\" href=\"#the-pdf\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fpdf\">The PDF\u003C\u002Fa>: metadata, links and the outline, tagged and accessible PDF (PDF\u002FUA), PDF\u002FA,\nattachments, electronic invoices (ZUGFeRD, Factur-X, XRechnung), reproducible output.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"without-php\">Without PHP\u003Ca class=\"f-doc-anchor\" href=\"#without-php\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fcli\">Command line\u003C\u002Fa>: the \u003Ccode>fagus\u003C\u002Fcode> binary.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Frust\">Rust library\u003C\u002Fa>: the engine as a Rust crate.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fprotocol\">Worker protocol\u003C\u002Fa>: how PHP talks to the binary.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"the-project\">The project\u003Ca class=\"f-doc-anchor\" href=\"#the-project\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Freleasing\">Releasing\u003C\u002Fa>: how a release reaches GitHub and Composer.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fnforst\u002Ffagus\u002Ftree\u002Fv0.1.0\u002Fdocs\u002Fadr\">Architecture decision records\u003C\u002Fa>: why Fagus is built the way it is.\u003C\u002Fli>\n\u003C\u002Ful>\n",[85,89,92,94,97],{"id":86,"text":87,"level":88},"using-fagus","Using Fagus",2,{"id":90,"text":91,"level":88},"writing-documents","Writing documents",{"id":93,"text":54,"level":88},"the-pdf",{"id":95,"text":96,"level":88},"without-php","Without PHP",{"id":98,"text":99,"level":88},"the-project","The project","https:\u002F\u002Fgithub.com\u002Fnforst\u002Ffagus\u002Fedit\u002Fmain\u002Fdocs\u002FREADME.md","https:\u002F\u002Fgithub.com\u002Fnforst\u002Ffagus\u002Fblob\u002Fv0.1.0\u002Fdocs\u002FREADME.md","\u002Fdocs\u002Findex.md",{"slug":22,"title":23}]