[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"docs:troubleshooting":3},{"versions":4,"version":13,"nav":16,"path":37,"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":38,"seoTitle":81,"seoDescription":82,"html":83,"headings":84,"editUrl":180,"sourceUrl":181,"markdownUrl":182,"prev":183,"next":184},"Troubleshooting: errors, diagnostics and Chrome differences","Error messages and what to do about them, diagnostics, differences from Chrome, and moving from Dompdf, mPDF, Browsershot or Snappy.","\u003Ch1 id=\"troubleshooting\">Troubleshooting\u003C\u002Fh1>\n\u003Ch2 id=\"installing-the-binary\">Installing the binary\u003Ca class=\"f-doc-anchor\" href=\"#installing-the-binary\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Ch3 id=\"the-plugin-is-blocked\">The plugin is blocked\u003Ca class=\"f-doc-anchor\" href=\"#the-plugin-is-blocked\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>nforst\u002Ffagus contains a Composer plugin which is blocked by your allow-plugins config. You may add it to the list if you consider it safe.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>Composer runs without asking (in CI, in Docker builds, with \u003Ccode>--no-interaction\u003C\u002Fcode>) and\n\u003Ccode>composer.json\u003C\u002Fcode> does not allow the plugin. Allow it and commit the change:\u003C\u002Fp>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>sh\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan style=\"color:#FFA657\">composer\u003C\u002Fspan>\u003Cspan style=\"color:#A5D6FF\"> config\u003C\u002Fspan>\u003Cspan style=\"color:#A5D6FF\"> allow-plugins.nforst\u002Ffagus\u003C\u002Fspan>\u003Cspan style=\"color:#79C0FF\"> true\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>If you answered \u003Ccode>n\u003C\u002Fcode> when Composer asked, \u003Ccode>composer.json\u003C\u002Fcode> has \u003Ccode>&quot;nforst\u002Ffagus&quot;: false\u003C\u002Fcode>; the plugin\nthen never runs and the engine reports that the binary was not found. Change it to \u003Ccode>true\u003C\u002Fcode>, or\ninstall the binary with \u003Ccode>vendor\u002Fbin\u002Ffagus-install\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Ch3 id=\"the-binary-was-not-found\">The binary was not found\u003Ca class=\"f-doc-anchor\" href=\"#the-binary-was-not-found\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>The fagus binary was not found. Install it with `vendor\u002Fbin\u002Ffagus-install` (in Laravel: `php artisan fagus:install`), set its path in the Engine or in the FAGUS_BINARY environment variable, or put it on the PATH.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>There is no binary in the package, \u003Ccode>FAGUS_BINARY\u003C\u002Fcode> is not set and there is no \u003Ccode>fagus\u003C\u002Fcode> on the\n\u003Ccode>PATH\u003C\u002Fcode>. Usually the plugin did not run (\u003Ccode>--no-plugins\u003C\u002Fcode>, blocked) or could not install the binary;\n\u003Ccode>composer install\u003C\u002Fcode> then printed a warning that starts with \u003Ccode>fagus:\u003C\u002Fcode>. Run the installer to see why:\u003C\u002Fp>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>sh\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan style=\"color:#FFA657\">vendor\u002Fbin\u002Ffagus-install\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan style=\"color:#FFA657\">php\u003C\u002Fspan>\u003Cspan style=\"color:#A5D6FF\"> artisan\u003C\u002Fspan>\u003Cspan style=\"color:#A5D6FF\"> fagus:install\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>Copying \u003Ccode>vendor\u002F\u003C\u002Fcode> from a machine of another platform also leaves the wrong binary behind; run the\ninstaller on the target (\u003Ca href=\"\u002Fdocs\u002Fdeployment#docker\">deployment.md\u003C\u002Fa>).\u003C\u002Fp>\n\u003Ch3 id=\"a-binary-that-is-given-does-not-exist\">A binary that is given does not exist\u003Ca class=\"f-doc-anchor\" href=\"#a-binary-that-is-given-does-not-exist\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>The fagus binary `\u002Fusr\u002Flocal\u002Fbin\u002Ffagus` could not be started. It does not exist or is not executable.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>The path in \u003Ccode>FAGUS_BINARY\u003C\u002Fcode>, in \u003Ccode>new Engine(binary: …)\u003C\u002Fcode> or in \u003Ccode>config\u002Ffagus.php\u003C\u002Fcode> is wrong, or the\nfile is not executable (\u003Ccode>chmod +x\u003C\u002Fcode>). A binary that is given is never replaced by another one.\u003C\u002Fp>\n\u003Ch3 id=\"proc_open-is-disabled\">\u003Ccode>proc_open()\u003C\u002Fcode> is disabled\u003Ca class=\"f-doc-anchor\" href=\"#proc_open-is-disabled\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>The fagus binary `\u002Fapp\u002Fvendor\u002Fnforst\u002Ffagus\u002Fphp\u002Ffagus\u002Fbin\u002Ffagus` could not be started. PHP does not allow proc_open() (disable_functions).\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>Remove \u003Ccode>proc_open\u003C\u002Fcode> (and \u003Ccode>proc_get_status\u003C\u002Fcode>, \u003Ccode>proc_close\u003C\u002Fcode>, \u003Ccode>proc_terminate\u003C\u002Fcode>) from\n\u003Ccode>disable_functions\u003C\u002Fcode> in \u003Ccode>php.ini\u003C\u002Fcode>. Fagus runs the binary as a process and needs them.\u003C\u002Fp>\n\u003Ch3 id=\"a-development-version-without-binaries\">A development version without binaries\u003Ca class=\"f-doc-anchor\" href=\"#a-development-version-without-binaries\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>This version of nforst\u002Ffagus (0.0.1) is a development version without built binaries. Build the binary with `cargo build --release` and set FAGUS_BINARY to it.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>You installed a branch (such as \u003Ccode>dev-main\u003C\u002Fcode>) rather than a release. Only releases list the\nbinaries to install; the plugin installs nothing for a branch. Require a release, or build the\nbinary from source and set \u003Ccode>FAGUS_BINARY\u003C\u002Fcode> (\u003Ca href=\"\u002Fdocs\u002Fdeployment#use-a-binary-of-your-own\">deployment.md\u003C\u002Fa>).\u003C\u002Fp>\n\u003Ch3 id=\"an-unsupported-platform\">An unsupported platform\u003Ca class=\"f-doc-anchor\" href=\"#an-unsupported-platform\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>There is no fagus binary for Linux on armv7l. Build it from source with `cargo build --release` and set FAGUS_BINARY to it.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>Releases have binaries for Linux (x64, arm64, glibc and musl), macOS (x64, arm64) and Windows\n(x64). Other platforms need a binary built from source.\u003C\u002Fp>\n\u003Ch3 id=\"the-download-failed\">The download failed\u003Ca class=\"f-doc-anchor\" href=\"#the-download-failed\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>The fagus binary could not be downloaded from https:\u002F\u002Fgithub.com\u002Fnforst\u002Ffagus\u002Freleases\u002Fdownload\u002Fv0.1.0\u002Ffagus-x86_64-unknown-linux-gnu. The server answered 404.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cul>\n\u003Cli>\u003Cstrong>From a private fork\u003C\u002Fstrong>, downloads without a token fail with 404. Give Composer a token\n(\u003Ccode>composer config --global github-oauth.github.com &lt;token&gt;\u003C\u002Fcode>) or set \u003Ccode>FAGUS_GITHUB_TOKEN\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Without access to GitHub\u003C\u002Fstrong>, point \u003Ccode>FAGUS_DOWNLOAD_URL\u003C\u002Fcode> at a directory or URL with the files\nof the release (\u003Ca href=\"\u002Fdocs\u002Fdeployment#servers-without-access-to-github\">deployment.md\u003C\u002Fa>).\u003C\u002Fli>\n\u003Cli>With \u003Ccode>FAGUS_DOWNLOAD_URL\u003C\u002Fcode> set to a directory, the message ends in &quot;The file cannot be read.&quot;\nwhen the file \u003Ccode>fagus-&lt;target&gt;\u003C\u002Fcode> is not there.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3 id=\"the-checksum-does-not-match\">The checksum does not match\u003Ca class=\"f-doc-anchor\" href=\"#the-checksum-does-not-match\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>The downloaded fagus-x86_64-unknown-linux-gnu is not the binary of this release: its SHA-256 is 3f1c…, expected 9a07…. It was not installed.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>The file is not the binary of the package's release: a file of another release in\n\u003Ccode>FAGUS_DOWNLOAD_URL\u003C\u002Fcode>, a proxy that changed the download, or a broken download. Nothing was\ninstalled. Put the files of the matching release into \u003Ccode>FAGUS_DOWNLOAD_URL\u003C\u002Fcode>, or use\n\u003Ccode>FAGUS_BINARY\u003C\u002Fcode> for a binary of your own.\u003C\u002Fp>\n\u003Ch3 id=\"the-binary-cannot-be-written\">The binary cannot be written\u003Ca class=\"f-doc-anchor\" href=\"#the-binary-cannot-be-written\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>The fagus binary could not be written to `\u002Fapp\u002Fvendor\u002Fnforst\u002Ffagus\u002Fphp\u002Ffagus\u002Fbin\u002Ffagus`. Check that the directory is writable; on Windows, also stop the processes that run the binary (queue workers, Octane), which keep it locked.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>The user that runs Composer cannot write into \u003Ccode>vendor\u002F\u003C\u002Fcode>, or, on Windows, a running worker locks\nthe old binary.\u003C\u002Fp>\n\u003Ch3 id=\"another-protocol\">Another protocol\u003Ca class=\"f-doc-anchor\" href=\"#another-protocol\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>The fagus binary speaks protocol 2, this package needs protocol 1. Install the binary of the same release.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>\u003Ccode>FAGUS_BINARY\u003C\u002Fcode> or the \u003Ccode>PATH\u003C\u002Fcode> points to a binary of another release. Use the binary of the\npackage's release.\u003C\u002Fp>\n\u003Ch2 id=\"rendering\">Rendering\u003Ca class=\"f-doc-anchor\" href=\"#rendering\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Ch3 id=\"the-worker-did-not-answer-in-time\">The worker did not answer in time\u003Ca class=\"f-doc-anchor\" href=\"#the-worker-did-not-answer-in-time\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>The fagus worker did not answer within 60 seconds and was stopped.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>A document took longer than the engine's \u003Ccode>timeout\u003C\u002Fcode> (60 seconds by default) between two answers.\nThe worker was stopped; the next document starts a new one. Raise the timeout\n(\u003Ccode>new Engine(timeout: 120.0)\u003C\u002Fcode>, \u003Ccode>'timeout'\u003C\u002Fcode> in \u003Ccode>config\u002Ffagus.php\u003C\u002Fcode>), render the document in a\nqueue, or find what makes it slow with \u003Ccode>$pdf-&gt;timings()\u003C\u002Fcode> on a smaller version of it. Windows\nhas no timeout.\u003C\u002Fp>\n\u003Ch3 id=\"a-font-directory-does-not-exist\">A font directory does not exist\u003Ca class=\"f-doc-anchor\" href=\"#a-font-directory-does-not-exist\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>The font directory `\u002Fapp\u002Fresources\u002Ffonts` does not exist. Create it or remove it from the engine's font directories.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>A directory in the \u003Ccode>fontDirectories\u003C\u002Fcode> of \u003Ccode>new Engine(…)\u003C\u002Fcode> does not exist. The engine checks them\nbefore it starts the worker. Create the directory (in a container image too) or leave it out.\nLaravel skips the directories of its \u003Ccode>fonts\u003C\u002Fcode> configuration that do not exist, so this does not\nhappen there.\u003C\u002Fp>\n\u003Ch3 id=\"the-worker-stopped\">The worker stopped\u003Ca class=\"f-doc-anchor\" href=\"#the-worker-stopped\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>The fagus worker stopped. It exited with code 1. Error: reading fonts in \u002Fapp\u002Fresources\u002Ffonts\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>The worker process ended. The message carries its exit code and the end of what it wrote to its\nerror output. Common causes:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>A font directory cannot be read (its permissions), as in the message above.\u003C\u002Fli>\n\u003Cli>The process was killed from outside, for example by the kernel's out-of-memory killer. A\nprocess ended by a signal has no exit code in the message.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The engine stops the worker; the next document starts a new one. If a document makes the worker\nstop every time, please report it with the document.\u003C\u002Fp>\n\u003Ch3 id=\"strict-mode\">Strict mode\u003Ca class=\"f-doc-anchor\" href=\"#strict-mode\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>2 diagnostics in strict mode:\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>&#x3C;style> 1:3:5: warning[css.unknown-property]: unknown property `colr`; the declaration is ignored\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>resources: warning[resource.not-loaded]: image `logo.png` could not be loaded\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>\u003Ccode>strict()\u003C\u002Fcode> turns every diagnostic into a \u003Ccode>RenderException\u003C\u002Fcode>, whose \u003Ccode>diagnostics()\u003C\u002Fcode> lists them.\nFix them, or drop \u003Ccode>strict()\u003C\u002Fcode> for documents whose diagnostics you accept.\u003C\u002Fp>\n\u003Ch3 id=\"pdfua-requirements\">PDF\u002FUA requirements\u003Ca class=\"f-doc-anchor\" href=\"#pdfua-requirements\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>the document does not meet PDF\u002FUA-1: the document has no title (add a &#x3C;title>); the document has no language (add `lang` to &#x3C;html>); the image `logo.png` in line 12 has no alternative text (add `alt`, empty if it is decoration); the first heading, an &#x3C;h2> in line 14, is not an &#x3C;h1> (headings start at h1)\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>\u003Ccode>accessible()\u003C\u002Fcode> checks what PDF\u002FUA-1 requires of the document and throws a \u003Ccode>RenderException\u003C\u002Fcode> that\nlists everything missing. Its \u003Ccode>diagnostics()\u003C\u002Fcode> hold what was found before, such as an image that\ncould not be loaded:\u003C\u002Fp>\n\u003Ctable class=\"f-doc-table f-stack-table\">\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Problem\u003C\u002Fth>\n\u003Cth>Fix\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>the document has no title\u003C\u002Ftd>\n\u003Ctd data-label=\"Fix\">\u003Ccode>&lt;title&gt;Invoice 2026-0042&lt;\u002Ftitle&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>the document has no language\u003C\u002Ftd>\n\u003Ctd data-label=\"Fix\">\u003Ccode>&lt;html lang=&quot;en&quot;&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>the image \u003Ccode>…\u003C\u002Fcode> has no alternative text\u003C\u002Ftd>\n\u003Ctd data-label=\"Fix\">\u003Ccode>alt=&quot;…&quot;\u003C\u002Fcode>, or \u003Ccode>alt=&quot;&quot;\u003C\u002Fcode> for decoration\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>the SVG in line … has no alternative text\u003C\u002Ftd>\n\u003Ctd data-label=\"Fix\">a \u003Ccode>&lt;title&gt;\u003C\u002Fcode> or \u003Ccode>aria-label\u003C\u002Fcode> in the \u003Ccode>&lt;svg&gt;\u003C\u002Fcode>, or \u003Ccode>aria-hidden=&quot;true&quot;\u003C\u002Fcode> for decoration\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>the formula in line … has no alternative text\u003C\u002Ftd>\n\u003Ctd data-label=\"Fix\">\u003Ccode>alttext\u003C\u002Fcode> on \u003Ccode>&lt;math&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>the first heading … is not an \u003Ccode>&lt;h1&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fix\">start with \u003Ccode>&lt;h1&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>the \u003Ccode>&lt;h3&gt;\u003C\u002Fcode> in line … follows an \u003Ccode>&lt;h1&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fix\">headings skip no level: use an \u003Ccode>&lt;h2&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Ch3 id=\"pdfa-requirements\">PDF\u002FA requirements\u003Ca class=\"f-doc-anchor\" href=\"#pdfa-requirements\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>the document does not meet PDF\u002FA-2b: PDF\u002FA-2 allows only PDF\u002FA files as attachments; attach `timesheet.csv` to a PDF\u002FA-3 document instead\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>The PDF cannot meet the PDF\u002FA level that was asked for. PDF\u002FA-2 allows only PDF\u002FA files as\nattachments; use PDF\u002FA-3 (\u003Ccode>pdfA('3b')\u003C\u002Fcode>) for other files. See \u003Ca href=\"\u002Fdocs\u002Fpdf\">pdf.md\u003C\u002Fa>. The exception's\n\u003Ccode>diagnostics()\u003C\u002Fcode> hold what was found before the PDF was refused.\u003C\u002Fp>\n\u003Ch3 id=\"an-unknown-pdfa-level\">An unknown PDF\u002FA level\u003Ca class=\"f-doc-anchor\" href=\"#an-unknown-pdfa-level\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>Unknown PDF\u002FA level '4z'. The levels are '2b', '2u', '2a', '3b', '3u', '3a'.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>\u003Ccode>pdfA()\u003C\u002Fcode> got a string that is not a level. It throws a \u003Ccode>Fagus\\Exception\\InvalidArgumentException\u003C\u002Fcode>\nwhen it is called, before anything is rendered. Pass one of the levels, or a \u003Ccode>Conformance\u003C\u002Fcode> case.\u003C\u002Fp>\n\u003Ch3 id=\"the-pdf-cannot-be-saved\">The PDF cannot be saved\u003Ca class=\"f-doc-anchor\" href=\"#the-pdf-cannot-be-saved\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>The PDF could not be written to `\u002Fvar\u002Fwww\u002Fstorage\u002Finvoices\u002F2026-0042.pdf`.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>The directory does not exist or is not writable. \u003Ccode>save()\u003C\u002Fcode> does not create directories.\u003C\u002Fp>\n\u003Ch3 id=\"an-internal-error\">An internal error\u003Ca class=\"f-doc-anchor\" href=\"#an-internal-error\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>internal error while rendering: …\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>Fagus stopped where it should not. This is a bug; please report it with the document.\u003C\u002Fp>\n\u003Ch2 id=\"read-diagnostics\">Read diagnostics\u003Ca class=\"f-doc-anchor\" href=\"#read-diagnostics\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Every \u003Ccode>Pdf\u003C\u002Fcode> carries the diagnostics of its document: what Fagus ignored or could not load, with\nthe position in the source.\u003C\u002Fp>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>php\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan style=\"color:#E6EDF3\">$pdf \u003C\u002Fspan>\u003Cspan style=\"color:#FF7B72\">=\u003C\u002Fspan>\u003Cspan style=\"color:#79C0FF\"> Fagus\u003C\u002Fspan>\u003Cspan style=\"color:#FF7B72\">::\u003C\u002Fspan>\u003Cspan style=\"color:#D2A8FF\">html\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">($html)\u003C\u002Fspan>\u003Cspan style=\"color:#FF7B72\">->\u003C\u002Fspan>\u003Cspan style=\"color:#D2A8FF\">baseDirectory\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">(\u003C\u002Fspan>\u003Cspan style=\"color:#79C0FF\">__DIR__\u003C\u002Fspan>\u003Cspan style=\"color:#FF7B72\">.\u003C\u002Fspan>\u003Cspan style=\"color:#A5D6FF\">'\u002Fassets'\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">)\u003C\u002Fspan>\u003Cspan style=\"color:#FF7B72\">->\u003C\u002Fspan>\u003Cspan style=\"color:#D2A8FF\">render\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">();\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan style=\"color:#FF7B72\">foreach\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\"> ($pdf\u003C\u002Fspan>\u003Cspan style=\"color:#FF7B72\">->\u003C\u002Fspan>\u003Cspan style=\"color:#D2A8FF\">diagnostics\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">() \u003C\u002Fspan>\u003Cspan style=\"color:#FF7B72\">as\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\"> $diagnostic) {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:6ch;text-indent:-6ch\">\u003Cspan style=\"color:#79C0FF\">    echo\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\"> $diagnostic, \u003C\u002Fspan>\u003Cspan style=\"color:#A5D6FF\">\"\u003C\u002Fspan>\u003Cspan style=\"color:#FF7B72\">\\n\u003C\u002Fspan>\u003Cspan style=\"color:#A5D6FF\">\"\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">;\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan style=\"color:#E6EDF3\">}\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>text\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>html:4: warning[resource.not-loaded]: stylesheet `css\u002Fmissing.css` could not be loaded\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>&#x3C;style> 1:1:34: warning[css.unknown-property]: unknown property `colr`; the declaration is ignored\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan>resources: warning[resource.not-loaded]: image `https:\u002F\u002Fexample.com\u002Fa.png` could not be loaded\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>Each line reads \u003Ccode>source:line:column: severity[code]: message\u003C\u002Fcode>. The source is \u003Ccode>&lt;style&gt; 1\u003C\u002Fcode> for the\nfirst \u003Ccode>&lt;style&gt;\u003C\u002Fcode> element, the URL of a linked or imported stylesheet, the name given to\n\u003Ccode>stylesheet()\u003C\u002Fcode>, \u003Ccode>html\u003C\u002Fcode> for the markup, \u003Ccode>resources\u003C\u002Fcode> for loaded files and \u003Ccode>pdf\u003C\u002Fcode> for the output.\u003C\u002Fp>\n\u003Ctable class=\"f-doc-table f-stack-table\">\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Code\u003C\u002Fth>\n\u003Cth>Meaning\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>\u003Ccode>css.unknown-property\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">A property Fagus does not know; the declaration is ignored.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>css.invalid-value\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">A value the property does not take; the declaration is ignored.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>css.parse-error\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">A rule or declaration that cannot be parsed; it is ignored.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>css.unparsable\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">Rules or declarations the CSS parser cannot handle are left out.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>css.too-deep\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">Blocks or functions nest too deep; the stylesheet is ignored.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>html.too-deep\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">Elements nest hundreds of levels deep; the rest of the document is left out (severity \u003Ccode>error\u003C\u002Fcode>).\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>resource.not-loaded\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">A stylesheet, image, font or SVG reference could not be loaded (\u003Ca href=\"\u002Fdocs\u002Fresources\">resources.md\u003C\u002Fa>).\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>image.unsupported\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">An image is not PNG, JPEG, GIF, WebP or SVG, or not a valid SVG.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>image.too-large\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">An image has more than 200 megapixels.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>image.broken\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">An image could not be decoded and is left out.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>font.unsupported\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">A file is not a font Fagus can read, or an installed font has no glyphs it can draw.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>font.missing-glyph\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">No font has a glyph for some characters; they are drawn as empty boxes (\u003Ca href=\"\u002Fdocs\u002Ffonts\">fonts.md\u003C\u002Fa>).\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>frame.limit\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">The documents in frames reach their limit; later frames show nothing.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>layout.too-many-pages\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">The document reaches the limit of 10,000 pages; what follows is left out.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>pdf.conformance-raised\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">Factur-X needs PDF\u002FA-3; a PDF\u002FA-2 level was raised to the PDF\u002FA-3 level of the same letter.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>invoice.profile-mismatch\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">The invoice XML declares another profile than the one given.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>invoice.profile-unknown\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Meaning\">The invoice XML declares no Factur-X profile.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>Declarations in \u003Ccode>style\u003C\u002Fcode> attributes are not reported. Diagnostics of documents in frames are not\nreported either.\u003C\u002Fp>\n\u003Ch2 id=\"it-looks-different-from-chrome\">It looks different from Chrome\u003Ca class=\"f-doc-anchor\" href=\"#it-looks-different-from-chrome\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Fagus aims to print like Chrome on Linux. When a PDF differs from Chrome's, check these first.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Fonts.\u003C\u002Fstrong> Chrome uses the fonts installed on the machine; Fagus does not by default, so that\nevery machine prints the same. A family Fagus does not have falls back, in the end to the\nbuilt-in Inter. Load the fonts with \u003Ccode>@font-face\u003C\u002Fcode>, put them in a font directory, or turn on\n\u003Ccode>systemFonts\u003C\u002Fcode> (\u003Ca href=\"\u002Fdocs\u002Ffonts\">fonts.md\u003C\u002Fa>). Look for \u003Ccode>resource.not-loaded\u003C\u002Fcode> diagnostics of fonts.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Paper size.\u003C\u002Fstrong> Without \u003Ccode>@page { size }\u003C\u002Fcode>, Fagus prints A4; Chrome uses the paper size of its\nprint settings, which is Letter in the United States. Set the size in the document:\n\u003Ccode>@page { size: A4 }\u003C\u002Fcode> or \u003Ccode>@page { size: letter }\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Margins.\u003C\u002Fstrong> Chrome's print dialog has its own margin settings. Set \u003Ccode>@page { margin: … }\u003C\u002Fcode> in\nthe document and choose &quot;Default&quot; margins in Chrome to compare.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Print media.\u003C\u002Fstrong> Fagus applies \u003Ccode>@media print\u003C\u002Fcode> rules and never \u003Ccode>@media screen\u003C\u002Fcode> ones, as Chrome\ndoes when it prints. A page that looks right in the browser window can differ in print: compare\nwith Chrome's print preview, not with the window. Tailwind's \u003Ccode>print:\u003C\u002Fcode> variants apply.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Width of the page.\u003C\u002Fstrong> Media queries and viewport units see the page area, not a browser\nwindow: A4 with Fagus's default margins is about 720 px wide, below Tailwind's \u003Ccode>md\u003C\u002Fcode> breakpoint\n(768 px). In Chrome's print preview, the page area is below it too.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Backgrounds.\u003C\u002Fstrong> Fagus prints backgrounds and shadows. Turn on &quot;Background graphics&quot; in\nChrome's print dialog to compare.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Headers and footers.\u003C\u002Fstrong> Chrome adds the date, title and URL in its own headers and footers;\nturn them off in the print dialog. Fagus prints only the margin boxes of \u003Ccode>@page\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Scripts.\u003C\u002Fstrong> Fagus runs no JavaScript. Content that scripts create in the browser (charts,\nclient-side templates) is missing; render it on the server.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Remote resources.\u003C\u002Fstrong> Images, fonts and stylesheets with \u003Ccode>https:\u002F\u002F\u003C\u002Fcode> URLs are not loaded\n(\u003Ca href=\"\u002Fdocs\u002Fresources\">resources.md\u003C\u002Fa>).\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Form controls.\u003C\u002Fstrong> Fagus writes the texts of form controls (button labels, date formats) in\nthe language of the control's \u003Ccode>lang\u003C\u002Fcode>, else the engine's \u003Ccode>locale\u003C\u002Fcode>; Chrome writes them in the\nlanguage of its user interface.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Ca href=\"\u002Fdocs\u002Fcss\">css.md\u003C\u002Fa> lists where Fagus deliberately differs from Chrome, and\n\u003Ca href=\"\u002Fdocs\u002Fpaged-media\">paged-media.md\u003C\u002Fa> describes pages, margins and headers.\u003C\u002Fp>\n\u003Ch2 id=\"faq\">FAQ\u003Ca class=\"f-doc-anchor\" href=\"#faq\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Ch3 id=\"how-do-i-add-page-numbers-headers-and-footers\">How do I add page numbers, headers and footers?\u003Ca class=\"f-doc-anchor\" href=\"#how-do-i-add-page-numbers-headers-and-footers\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>With \u003Ccode>@page\u003C\u002Fcode> margin boxes in the document. A running element repeats an element of the\ndocument in a margin box:\u003C\u002Fp>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>css\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan style=\"color:#FF7B72\">@page\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\"> {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:4ch;text-indent:-4ch\">\u003Cspan style=\"color:#FF7B72\">  @top-left\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\"> { \u003C\u002Fspan>\u003Cspan style=\"color:#79C0FF\">content\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">: \u003C\u002Fspan>\u003Cspan style=\"color:#79C0FF\">element\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">(\u003C\u002Fspan>\u003Cspan style=\"color:#FFA657\">letterhead\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">); }\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:4ch;text-indent:-4ch\">\u003Cspan style=\"color:#FF7B72\">  @bottom-right\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\"> { \u003C\u002Fspan>\u003Cspan style=\"color:#79C0FF\">content\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">: \u003C\u002Fspan>\u003Cspan style=\"color:#A5D6FF\">\"Page \"\u003C\u002Fspan>\u003Cspan style=\"color:#79C0FF\"> counter\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">(\u003C\u002Fspan>\u003Cspan style=\"color:#79C0FF\">page\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">) \u003C\u002Fspan>\u003Cspan style=\"color:#A5D6FF\">\" of \"\u003C\u002Fspan>\u003Cspan style=\"color:#79C0FF\"> counter\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">(\u003C\u002Fspan>\u003Cspan style=\"color:#FFA657\">pages\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">); }\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan style=\"color:#E6EDF3\">}\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan style=\"color:#79C0FF\">.letterhead\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\"> { \u003C\u002Fspan>\u003Cspan style=\"color:#79C0FF\">position\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">: \u003C\u002Fspan>\u003Cspan style=\"color:#79C0FF\">running\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">(letterhead); }\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Cp>See \u003Ca href=\"\u002Fdocs\u002Fpaged-media\">paged-media.md\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch3 id=\"how-do-i-force-a-page-break\">How do I force a page break?\u003Ca class=\"f-doc-anchor\" href=\"#how-do-i-force-a-page-break\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cdiv class=\"f-doc-code\">\u003Cdiv class=\"f-doc-code-bar\">\u003Cspan>css\u003C\u002Fspan>\u003Cbutton type=\"button\" class=\"f-doc-copy\" data-copy aria-label=\"Copy code\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fsvg>\u003Cspan>Copy\u003C\u002Fspan>\u003C\u002Fbutton>\u003C\u002Fdiv>\u003Cpre class=\"shiki github-dark-default\" style=\"background-color:#0d1117;color:#e6edf3\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\" style=\"padding-left:2ch;text-indent:-2ch\">\u003Cspan style=\"color:#79C0FF\">.page-break\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\"> { \u003C\u002Fspan>\u003Cspan style=\"color:#79C0FF\">break-before\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">: \u003C\u002Fspan>\u003Cspan style=\"color:#79C0FF\">page\u003C\u002Fspan>\u003Cspan style=\"color:#E6EDF3\">; }\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\n\u003Ch3 id=\"can-i-fetch-images-from-a-url\">Can I fetch images from a URL?\u003Ca class=\"f-doc-anchor\" href=\"#can-i-fetch-images-from-a-url\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>Not through Fagus. Hand them over with \u003Ccode>resource()\u003C\u002Fcode>, or answer the URLs with a \u003Ccode>resolver()\u003C\u002Fcode> that\nfetches what you allow (\u003Ca href=\"\u002Fdocs\u002Fresources#answer-requests-with-resolver\">resources.md\u003C\u002Fa>).\u003C\u002Fp>\n\u003Ch3 id=\"can-fagus-render-a-page-of-my-running-site\">Can Fagus render a page of my running site?\u003Ca class=\"f-doc-anchor\" href=\"#can-fagus-render-a-page-of-my-running-site\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>No. Fagus renders HTML that you give it. Render the view on the server (in Laravel,\n\u003Ccode>Fagus::view()\u003C\u002Fcode>), and make its files available through the base directory.\u003C\u002Fp>\n\u003Ch3 id=\"migrating-from-dompdf\">Migrating from Dompdf\u003Ca class=\"f-doc-anchor\" href=\"#migrating-from-dompdf\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>Dompdf supports CSS 2.1 with some additions, without flex or grid. With Fagus, layouts with flex,\ngrid, \u003Ccode>calc()\u003C\u002Fcode> and custom properties work as in Chrome, so the table-based workarounds can go.\u003C\u002Fp>\n\u003Ctable class=\"f-doc-table f-stack-table\">\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Dompdf\u003C\u002Fth>\n\u003Cth>Fagus\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>\u003Ccode>$dompdf-&gt;loadHtml($html); $dompdf-&gt;render(); $dompdf-&gt;output()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>Fagus::html($html)-&gt;render()-&gt;bytes()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>$dompdf-&gt;setPaper('A4', 'landscape')\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>@page { size: A4 landscape }\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>$dompdf-&gt;stream('invoice.pdf')\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>Fagus::html($html)-&gt;name('invoice.pdf')-&gt;inline()\u003C\u002Fcode> (Laravel), or send \u003Ccode>bytes()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>chroot\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>baseDirectory()\u003C\u002Fcode> and \u003Ccode>root()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>isRemoteEnabled\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">not available; \u003Ccode>resource()\u003C\u002Fcode> or \u003Ccode>resolver()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>&lt;script type=&quot;text\u002Fphp&quot;&gt;\u003C\u002Fcode> for page numbers\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>counter(page)\u003C\u002Fcode> and \u003Ccode>counter(pages)\u003C\u002Fcode> in \u003Ccode>@page\u003C\u002Fcode> margin boxes\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>isPhpEnabled\u003C\u002Fcode>, \u003Ccode>isJavascriptEnabled\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">not available\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>barryvdh\u002Flaravel-dompdf: \u003Ccode>Pdf::loadView('invoice', $data)-&gt;download('invoice.pdf')\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>Fagus::view('invoice', $data)-&gt;download('invoice.pdf')\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>-&gt;stream()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>-&gt;inline()\u003C\u002Fcode>, or return the \u003Ccode>PendingPdf\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>-&gt;save($path)\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>-&gt;save($path)\u003C\u002Fcode>, or \u003Ccode>-&gt;store($path, $disk)\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>Fonts that Dompdf loaded from \u003Ccode>@font-face\u003C\u002Fcode> load the same way; fonts registered in its font\ncache go into a font directory.\u003C\u002Fp>\n\u003Ch3 id=\"migrating-from-mpdf\">Migrating from mPDF\u003Ca class=\"f-doc-anchor\" href=\"#migrating-from-mpdf\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>mPDF has its own HTML and CSS support, with page features written as custom tags and\nplaceholders. Fagus uses standard CSS for them.\u003C\u002Fp>\n\u003Ctable class=\"f-doc-table f-stack-table\">\n\u003Cthead>\n\u003Ctr>\n\u003Cth>mPDF\u003C\u002Fth>\n\u003Cth>Fagus\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>\u003Ccode>new Mpdf(['format' =&gt; 'A4', 'margin_left' =&gt; 20, …])\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>@page { size: A4; margin: 20mm }\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>$mpdf-&gt;WriteHTML($html); $mpdf-&gt;Output('invoice.pdf', 'F')\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>Fagus::html($html)-&gt;save('invoice.pdf')\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>$mpdf-&gt;Output('', 'S')\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>Fagus::html($html)-&gt;render()-&gt;bytes()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>SetHTMLHeader()\u003C\u002Fcode>, \u003Ccode>SetHTMLFooter()\u003C\u002Fcode>, \u003Ccode>&lt;htmlpageheader&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>@page\u003C\u002Fcode> margin boxes with running elements\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>{PAGENO}\u003C\u002Fcode>, \u003Ccode>{nbpg}\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>counter(page)\u003C\u002Fcode>, \u003Ccode>counter(pages)\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>&lt;pagebreak&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>break-before: page\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>PDFA\u003C\u002Fcode>, \u003Ccode>PDFAauto\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>pdfA('3b')\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>SetAssociatedFiles()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>attach()\u003C\u002Fcode> or \u003Ccode>facturX()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>fontDir\u003C\u002Fcode>, \u003Ccode>fontdata\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>@font-face\u003C\u002Fcode>, or \u003Ccode>fontDirectories\u003C\u002Fcode> on the engine\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>SetTitle()\u003C\u002Fcode>, \u003Ccode>SetAuthor()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>&lt;title&gt;\u003C\u002Fcode>, \u003Ccode>&lt;meta name=&quot;author&quot;&gt;\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>SetWatermarkText()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">a positioned element or a background in the document\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Ch3 id=\"migrating-from-browsershot-snappy-or-other-browser-based-tools\">Migrating from Browsershot, Snappy or other browser-based tools\u003Ca class=\"f-doc-anchor\" href=\"#migrating-from-browsershot-snappy-or-other-browser-based-tools\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>Browsershot (and spatie\u002Flaravel-pdf on top of it) runs Chrome through Puppeteer and Node;\nSnappy runs wkhtmltopdf, an old WebKit. Fagus needs neither. HTML and CSS that print well in\nChrome print the same in Fagus; what changes is everything around them:\u003C\u002Fp>\n\u003Ctable class=\"f-doc-table f-stack-table\">\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Browsershot \u002F laravel-pdf \u002F Snappy\u003C\u002Fth>\n\u003Cth>Fagus\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>\u003Ccode>Browsershot::html($html)-&gt;format('A4')-&gt;margins(…)-&gt;save('x.pdf')\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>@page { size: A4; margin: … }\u003C\u002Fcode> and \u003Ccode>Fagus::html($html)-&gt;save('x.pdf')\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>Pdf::view('invoice', $data)-&gt;format('a4')-&gt;name('invoice.pdf')\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>Fagus::view('invoice', $data)-&gt;name('invoice.pdf')\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>-&gt;showBackground()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">not needed: backgrounds always print\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>-&gt;headerHtml()\u003C\u002Fcode>, \u003Ccode>-&gt;footerHtml()\u003C\u002Fcode>, \u003Ccode>--header-html\u003C\u002Fcode> with \u003Ccode>pageNumber\u003C\u002Fcode> and \u003Ccode>totalPages\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>@page\u003C\u002Fcode> margin boxes with \u003Ccode>counter(page)\u003C\u002Fcode> and \u003Ccode>counter(pages)\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>-&gt;emulateMedia('screen')\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">not available: Fagus applies print styles; move rules out of \u003Ccode>@media screen\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>-&gt;waitUntilNetworkIdle()\u003C\u002Fcode>, \u003Ccode>-&gt;setDelay()\u003C\u002Fcode>, JavaScript\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">not available: no network, no scripts\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>Browsershot::url('https:\u002F\u002F…')\u003C\u002Fcode>, \u003Ccode>$snappy-&gt;generate($url, …)\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">render the HTML yourself and pass it to \u003Ccode>Fagus::html()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>$snappy-&gt;getOutputFromHtml($html)\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">\u003Ccode>Fagus::html($html)-&gt;render()-&gt;bytes()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Assets loaded from the running site\u003C\u002Ftd>\n\u003Ctd data-label=\"Fagus\">files through \u003Ccode>baseDirectory()\u003C\u002Fcode>, or \u003Ccode>resource()\u003C\u002Fcode> and \u003Ccode>resolver()\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>Remove Chrome, Node, Puppeteer or wkhtmltopdf from the servers once nothing else needs them.\u003C\u002Fp>\n",[85,89,93,96,99,102,105,108,111,114,117,120,123,126,129,132,135,138,141,144,147,150,153,156,159,162,165,168,171,174,177],{"id":86,"text":87,"level":88},"installing-the-binary","Installing the binary",2,{"id":90,"text":91,"level":92},"the-plugin-is-blocked","The plugin is blocked",3,{"id":94,"text":95,"level":92},"the-binary-was-not-found","The binary was not found",{"id":97,"text":98,"level":92},"a-binary-that-is-given-does-not-exist","A binary that is given does not exist",{"id":100,"text":101,"level":92},"proc_open-is-disabled","proc_open() is disabled",{"id":103,"text":104,"level":92},"a-development-version-without-binaries","A development version without binaries",{"id":106,"text":107,"level":92},"an-unsupported-platform","An unsupported platform",{"id":109,"text":110,"level":92},"the-download-failed","The download failed",{"id":112,"text":113,"level":92},"the-checksum-does-not-match","The checksum does not match",{"id":115,"text":116,"level":92},"the-binary-cannot-be-written","The binary cannot be written",{"id":118,"text":119,"level":92},"another-protocol","Another protocol",{"id":121,"text":122,"level":88},"rendering","Rendering",{"id":124,"text":125,"level":92},"the-worker-did-not-answer-in-time","The worker did not answer in time",{"id":127,"text":128,"level":92},"a-font-directory-does-not-exist","A font directory does not exist",{"id":130,"text":131,"level":92},"the-worker-stopped","The worker stopped",{"id":133,"text":134,"level":92},"strict-mode","Strict mode",{"id":136,"text":137,"level":92},"pdfua-requirements","PDF\u002FUA requirements",{"id":139,"text":140,"level":92},"pdfa-requirements","PDF\u002FA requirements",{"id":142,"text":143,"level":92},"an-unknown-pdfa-level","An unknown PDF\u002FA level",{"id":145,"text":146,"level":92},"the-pdf-cannot-be-saved","The PDF cannot be saved",{"id":148,"text":149,"level":92},"an-internal-error","An internal error",{"id":151,"text":152,"level":88},"read-diagnostics","Read diagnostics",{"id":154,"text":155,"level":88},"it-looks-different-from-chrome","It looks different from Chrome",{"id":157,"text":158,"level":88},"faq","FAQ",{"id":160,"text":161,"level":92},"how-do-i-add-page-numbers-headers-and-footers","How do I add page numbers, headers and footers?",{"id":163,"text":164,"level":92},"how-do-i-force-a-page-break","How do I force a page break?",{"id":166,"text":167,"level":92},"can-i-fetch-images-from-a-url","Can I fetch images from a URL?",{"id":169,"text":170,"level":92},"can-fagus-render-a-page-of-my-running-site","Can Fagus render a page of my running site?",{"id":172,"text":173,"level":92},"migrating-from-dompdf","Migrating from Dompdf",{"id":175,"text":176,"level":92},"migrating-from-mpdf","Migrating from mPDF",{"id":178,"text":179,"level":92},"migrating-from-browsershot-snappy-or-other-browser-based-tools","Migrating from Browsershot, Snappy or other browser-based tools","https:\u002F\u002Fgithub.com\u002Fnforst\u002Ffagus\u002Fedit\u002Fmain\u002Fdocs\u002Ftroubleshooting.md","https:\u002F\u002Fgithub.com\u002Fnforst\u002Ffagus\u002Fblob\u002Fv0.1.0\u002Fdocs\u002Ftroubleshooting.md","\u002Fdocs\u002Ftroubleshooting.md",{"slug":34,"title":35},{"slug":40,"title":41}]