[{"data":1,"prerenderedAt":691},["ShallowReactive",2],{"navigation_docs":3,"-versions-1-1-1-use-cases-troubleshooting":282,"-versions-1-1-1-use-cases-troubleshooting-surround":686},[4,63,109,175],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":62},"API","i-lucide-braces","\u002Fapi","api",[10,14,18,22,26,30,34,38,42,46,50,54,58],{"title":11,"path":12,"stem":13},"Html2Pdf Component","\u002Fapi\u002Fcomponent","api\u002F01.component",{"title":15,"path":16,"stem":17},"Core Props","\u002Fapi\u002Fprops","api\u002F02.props",{"title":19,"path":20,"stem":21},"PDF Headers in Vue","\u002Fapi\u002Fheaders","api\u002F03.headers",{"title":23,"path":24,"stem":25},"PDF Footers in Vue","\u002Fapi\u002Ffooters","api\u002F04.footers",{"title":27,"path":28,"stem":29},"Security","\u002Fapi\u002Fsecurity","api\u002F05.security",{"title":31,"path":32,"stem":33},"Watermarks","\u002Fapi\u002Fwatermarks","api\u002F06.watermarks",{"title":35,"path":36,"stem":37},"Metadata & Compression","\u002Fapi\u002Fmetadata-compression","api\u002F07.metadata-compression",{"title":39,"path":40,"stem":41},"Programmatic API","\u002Fapi\u002Fprogrammatic-api","api\u002F08.programmatic-api",{"title":43,"path":44,"stem":45},"Loader, Progress, Metrics, Events & Slots","\u002Fapi\u002Fevents-slots","api\u002F09.events-slots",{"title":47,"path":48,"stem":49},"TypeScript","\u002Fapi\u002Ftypescript","api\u002F10.typescript",{"title":51,"path":52,"stem":53},"PDF Styling & data-pdf-ignore","\u002Fapi\u002Fpdf-styling","api\u002F11.pdf-styling",{"title":55,"path":56,"stem":57},"API Reference","\u002Fapi\u002Ffull-reference","api\u002F12.full-reference",{"title":59,"path":60,"stem":61},"Compose Existing PDF Pages","\u002Fapi\u002Fcomposition","api\u002F13.composition",false,{"title":64,"icon":65,"path":66,"stem":67,"children":68,"page":62},"Get Started","i-lucide-book-open","\u002Fget-started","get-started",[69,73,77,81,85,89,93,97,101,105],{"title":70,"path":71,"stem":72},"Introduction","\u002Fget-started\u002Fintroduction","get-started\u002F01.introduction",{"title":74,"path":75,"stem":76},"Installation","\u002Fget-started\u002Finstallation","get-started\u002F02.installation",{"title":78,"path":79,"stem":80},"Quick Start","\u002Fget-started\u002Fquick-start","get-started\u002F03.quick-start",{"title":82,"path":83,"stem":84},"Rendering Modes","\u002Fget-started\u002Frendering-modes","get-started\u002F04.rendering-modes",{"title":86,"path":87,"stem":88},"Component Registration","\u002Fget-started\u002Fregistration","get-started\u002F05.registration",{"title":90,"path":91,"stem":92},"Preview & Download","\u002Fget-started\u002Fpreview-download","get-started\u002F06.preview-download",{"title":94,"path":95,"stem":96},"Smart PDF Pagination","\u002Fget-started\u002Fpagination","get-started\u002F07.pagination",{"title":98,"path":99,"stem":100},"Nuxt 3 & Nuxt 4 SSR","\u002Fget-started\u002Fnuxt-ssr","get-started\u002F08.nuxt-ssr",{"title":102,"path":103,"stem":104},"Migration Guide","\u002Fget-started\u002Fmigration","get-started\u002F09.migration",{"title":106,"path":107,"stem":108},"PDF Paper Formats and Orientation","\u002Fget-started\u002Fpaper-formats","get-started\u002F10.paper-formats",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":62},"Use Cases","i-lucide-flask-conical","\u002Fuse-cases","use-cases",[115,119,123,127,131,135,139,143,147,151,155,159,163,167,171],{"title":116,"path":117,"stem":118},"Playground","\u002Fuse-cases\u002Fplayground","use-cases\u002F01.playground",{"title":120,"path":121,"stem":122},"Selectable Text Mode","\u002Fuse-cases\u002Fselectable-text","use-cases\u002F02.selectable-text",{"title":124,"path":125,"stem":126},"Clickable PDF Links","\u002Fuse-cases\u002Fclickable-links","use-cases\u002F03.clickable-links",{"title":128,"path":129,"stem":130},"Images & CORS","\u002Fuse-cases\u002Fimages-cors","use-cases\u002F04.images-cors",{"title":132,"path":133,"stem":134},"Production Guide","\u002Fuse-cases\u002Fproduction-guide","use-cases\u002F05.production-guide",{"title":136,"path":137,"stem":138},"Troubleshooting","\u002Fuse-cases\u002Ftroubleshooting","use-cases\u002F06.troubleshooting",{"title":140,"path":141,"stem":142},"Testing & Browser Support","\u002Fuse-cases\u002Ftesting-browser-support","use-cases\u002F07.testing-browser-support",{"title":144,"path":145,"stem":146},"Performance Engineering","\u002Fuse-cases\u002Fperformance-engineering","use-cases\u002F08.performance-engineering",{"title":148,"path":149,"stem":150},"Full Performance Engineering Report","\u002Fuse-cases\u002Fperformance-report","use-cases\u002F09.performance-report",{"title":152,"path":153,"stem":154},"Community & Feedback","\u002Fuse-cases\u002Fcommunity","use-cases\u002F10.community",{"title":156,"path":157,"stem":158},"Acknowledgements","\u002Fuse-cases\u002Facknowledgements","use-cases\u002F11.acknowledgements",{"title":160,"path":161,"stem":162},"Fonts, Charts, SVG and Image Optimization","\u002Fuse-cases\u002Fmedia-typography","use-cases\u002F12.media-typography",{"title":164,"path":165,"stem":166},"PDF Generation Flow","\u002Fuse-cases\u002Fproject-flow","use-cases\u002F13.project-flow",{"title":168,"path":169,"stem":170},"Ask the vue-pdf-export documentation","\u002Fuse-cases\u002Fask-docs","use-cases\u002F14.ask-docs",{"title":172,"path":173,"stem":174},"Vue to PDF in Vue 3 and Nuxt","\u002Fuse-cases\u002Fvue-to-pdf","use-cases\u002F14.vue-to-pdf",{"title":176,"path":177,"stem":178,"children":179,"page":62},"Versions","\u002Fversions","versions",[180,252],{"title":181,"path":182,"stem":183,"children":184},"v1 Documentation","\u002Fversions\u002F1.1.1","versions\u002F1.1.1\u002Findex",[185,186,218,232],{"title":181,"path":182,"stem":183},{"title":187,"path":188,"stem":189,"children":190,"page":62},"Api","\u002Fversions\u002F1.1.1\u002Fapi","versions\u002F1.1.1\u002Fapi",[191,194,197,201,205,208,211,214],{"title":11,"path":192,"stem":193},"\u002Fversions\u002F1.1.1\u002Fapi\u002Fcomponent","versions\u002F1.1.1\u002Fapi\u002F01.component",{"title":15,"path":195,"stem":196},"\u002Fversions\u002F1.1.1\u002Fapi\u002Fprops","versions\u002F1.1.1\u002Fapi\u002F02.props",{"title":198,"path":199,"stem":200},"Headers","\u002Fversions\u002F1.1.1\u002Fapi\u002Fheaders","versions\u002F1.1.1\u002Fapi\u002F03.headers",{"title":202,"path":203,"stem":204},"Footers","\u002Fversions\u002F1.1.1\u002Fapi\u002Ffooters","versions\u002F1.1.1\u002Fapi\u002F04.footers",{"title":39,"path":206,"stem":207},"\u002Fversions\u002F1.1.1\u002Fapi\u002Fprogrammatic-api","versions\u002F1.1.1\u002Fapi\u002F08.programmatic-api",{"title":43,"path":209,"stem":210},"\u002Fversions\u002F1.1.1\u002Fapi\u002Fevents-slots","versions\u002F1.1.1\u002Fapi\u002F09.events-slots",{"title":47,"path":212,"stem":213},"\u002Fversions\u002F1.1.1\u002Fapi\u002Ftypescript","versions\u002F1.1.1\u002Fapi\u002F10.typescript",{"title":215,"path":216,"stem":217},"Full README Reference","\u002Fversions\u002F1.1.1\u002Fapi\u002Ffull-reference","versions\u002F1.1.1\u002Fapi\u002F12.full-reference",{"title":64,"path":219,"stem":220,"children":221,"page":62},"\u002Fversions\u002F1.1.1\u002Fget-started","versions\u002F1.1.1\u002Fget-started",[222,225,228],{"title":70,"path":223,"stem":224},"\u002Fversions\u002F1.1.1\u002Fget-started\u002Fintroduction","versions\u002F1.1.1\u002Fget-started\u002F01.introduction",{"title":82,"path":226,"stem":227},"\u002Fversions\u002F1.1.1\u002Fget-started\u002Frendering-modes","versions\u002F1.1.1\u002Fget-started\u002F04.rendering-modes",{"title":229,"path":230,"stem":231},"Pagination","\u002Fversions\u002F1.1.1\u002Fget-started\u002Fpagination","versions\u002F1.1.1\u002Fget-started\u002F07.pagination",{"title":110,"path":233,"stem":234,"children":235,"page":62},"\u002Fversions\u002F1.1.1\u002Fuse-cases","versions\u002F1.1.1\u002Fuse-cases",[236,239,242,245,248],{"title":116,"path":237,"stem":238},"\u002Fversions\u002F1.1.1\u002Fuse-cases\u002Fplayground","versions\u002F1.1.1\u002Fuse-cases\u002F01.playground",{"title":136,"path":240,"stem":241},"\u002Fversions\u002F1.1.1\u002Fuse-cases\u002Ftroubleshooting","versions\u002F1.1.1\u002Fuse-cases\u002F06.troubleshooting",{"title":140,"path":243,"stem":244},"\u002Fversions\u002F1.1.1\u002Fuse-cases\u002Ftesting-browser-support","versions\u002F1.1.1\u002Fuse-cases\u002F07.testing-browser-support",{"title":144,"path":246,"stem":247},"\u002Fversions\u002F1.1.1\u002Fuse-cases\u002Fperformance-engineering","versions\u002F1.1.1\u002Fuse-cases\u002F08.performance-engineering",{"title":249,"path":250,"stem":251},"Vue HTML to PDF Examples","\u002Fversions\u002F1.1.1\u002Fuse-cases\u002Fvue-html-to-pdf","versions\u002F1.1.1\u002Fuse-cases\u002F12.vue-html-to-pdf",{"title":253,"path":254,"stem":255,"children":256},"Full References by Package Version","\u002Fversions\u002Ffull-references","versions\u002Ffull-references\u002Findex",[257,258,264,270,276],{"title":253,"path":254,"stem":255},{"title":259,"path":260,"stem":261,"children":262},"vue-pdf-export 1.1.1 Full Reference","\u002Fversions\u002Ffull-references\u002F1.1.1","versions\u002Ffull-references\u002F1.1.1\u002Findex",[263],{"title":259,"path":260,"stem":261},{"title":265,"path":266,"stem":267,"children":268},"vue-pdf-export 1.2.0 Full Reference","\u002Fversions\u002Ffull-references\u002F1.2.0","versions\u002Ffull-references\u002F1.2.0\u002Findex",[269],{"title":265,"path":266,"stem":267},{"title":271,"path":272,"stem":273,"children":274},"vue-pdf-export 1.2.1 Full Reference","\u002Fversions\u002Ffull-references\u002F1.2.1","versions\u002Ffull-references\u002F1.2.1\u002Findex",[275],{"title":271,"path":272,"stem":273},{"title":277,"path":278,"stem":279,"children":280},"vue-pdf-export 1.3.0 Full Reference","\u002Fversions\u002Ffull-references\u002F1.3.0","versions\u002Ffull-references\u002F1.3.0\u002Findex",[281],{"title":277,"path":278,"stem":279},{"id":283,"title":136,"body":284,"description":677,"extension":678,"links":679,"meta":680,"navigation":681,"path":240,"seo":682,"stem":241,"__hash__":685},"docs\u002Fversions\u002F1.1.1\u002Fuse-cases\u002F06.troubleshooting.md",{"type":285,"value":286,"toc":664},"minimark",[287,292,301,304,308,311,363,370,374,381,385,388,391,463,467,478,484,488,491,514,518,521,538,542,545,598,609,613,616,619,623,633,636,640,643,657,660],[288,289,291],"h3",{"id":290},"selectable-text-is-not-pixel-identical-to-the-browser","Selectable text is not pixel-identical to the browser",[293,294,295,296,300],"p",{},"Use ",[297,298,299],"code",{},"render-mode=\"canvas\""," for maximum CSS fidelity.",[293,302,303],{},"Selectable-text mode intentionally prioritizes real PDF text and vector output.",[288,305,307],{"id":306},"link-looks-like-text-but-is-not-clickable","Link looks like text but is not clickable",[293,309,310],{},"Make sure links are enabled:",[312,313,318],"pre",{"className":314,"code":315,"language":316,"meta":317,"style":317},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const htmlToPdfOptions = {\n  enableLinks: true,\n}\n","ts","",[297,319,320,340,357],{"__ignoreMap":317},[321,322,325,329,333,337],"span",{"class":323,"line":324},"line",1,[321,326,328],{"class":327},"spNyl","const",[321,330,332],{"class":331},"sTEyZ"," htmlToPdfOptions ",[321,334,336],{"class":335},"sMK4o","=",[321,338,339],{"class":335}," {\n",[321,341,343,347,350,354],{"class":323,"line":342},2,[321,344,346],{"class":345},"swJcz","  enableLinks",[321,348,349],{"class":335},":",[321,351,353],{"class":352},"sfNiH"," true",[321,355,356],{"class":335},",\n",[321,358,360],{"class":323,"line":359},3,[321,361,362],{"class":335},"}\n",[293,364,365,366,369],{},"Also verify the source element is a real anchor with a valid ",[297,367,368],{},"href",".",[288,371,373],{"id":372},"link-text-looks-stretched","Link text looks stretched",[293,375,376,377,380],{},"Reduce large ",[297,378,379],{},"letter-spacing",", transforms, and tight fixed widths in selectable-text mode.",[288,382,384],{"id":383},"logo-looks-stretched","Logo looks stretched",[293,386,387],{},"Header\u002Ffooter logo dimensions are maximum bounds and preserve the source aspect ratio.",[293,389,390],{},"For normal content images:",[312,392,396],{"className":393,"code":394,"language":395,"meta":317,"style":317},"language-css shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","img {\n  width: auto;\n  height: auto;\n  max-width: 100%;\n  object-fit: contain;\n}\n","css",[297,397,398,406,420,431,445,458],{"__ignoreMap":317},[321,399,400,404],{"class":323,"line":324},[321,401,403],{"class":402},"sBMFI","img",[321,405,339],{"class":335},[321,407,408,412,414,417],{"class":323,"line":342},[321,409,411],{"class":410},"sqsOY","  width",[321,413,349],{"class":335},[321,415,416],{"class":331}," auto",[321,418,419],{"class":335},";\n",[321,421,422,425,427,429],{"class":323,"line":359},[321,423,424],{"class":410},"  height",[321,426,349],{"class":335},[321,428,416],{"class":331},[321,430,419],{"class":335},[321,432,434,437,439,443],{"class":323,"line":433},4,[321,435,436],{"class":410},"  max-width",[321,438,349],{"class":335},[321,440,442],{"class":441},"sbssI"," 100%",[321,444,419],{"class":335},[321,446,448,451,453,456],{"class":323,"line":447},5,[321,449,450],{"class":410},"  object-fit",[321,452,349],{"class":335},[321,454,455],{"class":331}," contain",[321,457,419],{"class":335},[321,459,461],{"class":323,"line":460},6,[321,462,362],{"class":335},[288,464,466],{"id":465},"headerfooter-overlaps-content","Header\u002Ffooter overlaps content",[293,468,469,470,473,474,477],{},"Increase ",[297,471,472],{},"headerHeight"," \u002F ",[297,475,476],{},"footerHeight",", or reduce content size.",[293,479,480,481,369],{},"For selectively targeted headers, only target pages receive the extra header space. If excluded pages still have top spacing, check explicit ",[297,482,483],{},"htmlToPdfOptions.margin",[288,485,487],{"id":486},"header-or-footer-image-is-missing","Header or footer image is missing",[293,489,490],{},"Check:",[492,493,494,498,501,504,509],"ul",{},[495,496,497],"li",{},"URL accessibility",[495,499,500],{},"CORS",[495,502,503],{},"data URL validity",[495,505,506],{},[297,507,508],{},"headerLogoEnabled",[495,510,511],{},[297,512,513],{},"footerLogoEnabled",[288,515,517],{"id":516},"html-headerfooter-is-not-visible","HTML header\u002Ffooter is not visible",[293,519,520],{},"Check that:",[492,522,523,526,529,535],{},[495,524,525],{},"related header\u002Ffooter is enabled",[495,527,528],{},"HTML string is non-empty",[495,530,531,532],{},"footer uses ",[297,533,534],{},"footer-mode=\"html\"",[495,536,537],{},"content fits inside configured height",[288,539,541],{"id":540},"blank-page-around-a-manual-break","Blank page around a manual break",[293,543,544],{},"Use only:",[312,546,548],{"className":393,"code":547,"language":395,"meta":317,"style":317},".html2pdf__page-break {\n  display: block;\n  height: 0;\n  clear: both;\n}\n",[297,549,550,559,571,582,594],{"__ignoreMap":317},[321,551,552,554,557],{"class":323,"line":324},[321,553,369],{"class":335},[321,555,556],{"class":402},"html2pdf__page-break",[321,558,339],{"class":335},[321,560,561,564,566,569],{"class":323,"line":342},[321,562,563],{"class":410},"  display",[321,565,349],{"class":335},[321,567,568],{"class":331}," block",[321,570,419],{"class":335},[321,572,573,575,577,580],{"class":323,"line":359},[321,574,424],{"class":410},[321,576,349],{"class":335},[321,578,579],{"class":441}," 0",[321,581,419],{"class":335},[321,583,584,587,589,592],{"class":323,"line":433},[321,585,586],{"class":410},"  clear",[321,588,349],{"class":335},[321,590,591],{"class":331}," both",[321,593,419],{"class":335},[321,595,596],{"class":323,"line":447},[321,597,362],{"class":335},[293,599,600,601,604,605,608],{},"Do not add ",[297,602,603],{},"break-before"," or ",[297,606,607],{},"page-break-before"," to the same helper.",[288,610,612],{"id":611},"background-watermark-is-hidden","Background watermark is hidden",[293,614,615],{},"Opaque PDF content can cover a DOM background watermark.",[293,617,618],{},"Use a foreground watermark or transparent export content where appropriate.",[288,620,622],{"id":621},"pdf-is-blurry","PDF is blurry",[293,624,625,626,604,629,632],{},"In canvas mode, increase ",[297,627,628],{},"pdfQuality",[297,630,631],{},"htmlToPdfOptions.html2canvas.scale"," carefully.",[293,634,635],{},"Selectable-text body text remains vector text and does not depend on html2canvas resolution.",[288,637,639],{"id":638},"large-document-generation-is-slow","Large document generation is slow",[293,641,642],{},"Reduce:",[492,644,645,648,651,654],{},[495,646,647],{},"canvas scale where relevant",[495,649,650],{},"image dimensions",[495,652,653],{},"document complexity",[495,655,656],{},"simultaneous PDF generation",[293,658,659],{},"Large encrypted Canvas PDFs can show substantially higher memory retention than unencrypted Canvas PDFs in Chromium. Raw jsPDF-only isolation reproduced the same encrypted-raster retention pattern outside the Vue lifecycle, so this is tracked as an upstream\u002Fdependency concern rather than described as a confirmed permanent Vue memory leak. Selectable-text mode did not show the same severe raster-memory pattern in the package benchmarks.",[661,662,663],"style",{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sqsOY, html code.shiki .sqsOY{--shiki-light:#8796B0;--shiki-default:#B2CCD6;--shiki-dark:#B2CCD6}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":317,"searchDepth":342,"depth":342,"links":665},[666,667,668,669,670,671,672,673,674,675,676],{"id":290,"depth":359,"text":291},{"id":306,"depth":359,"text":307},{"id":372,"depth":359,"text":373},{"id":383,"depth":359,"text":384},{"id":465,"depth":359,"text":466},{"id":486,"depth":359,"text":487},{"id":516,"depth":359,"text":517},{"id":540,"depth":359,"text":541},{"id":611,"depth":359,"text":612},{"id":621,"depth":359,"text":622},{"id":638,"depth":359,"text":639},"Troubleshoot common vue-pdf-export issues involving selectable text, clickable links, images, CORS, pagination, fonts, preview, download and browser behavior.","md",null,{},true,{"title":683,"description":684},"Troubleshooting (1.1.1 and earlier)","Troubleshoot vue-pdf-export 1.1.1 issues with selectable text, links, CORS images, pagination, fonts and downloads.","lUe6IBOh3ww2PkCIUaNpqAHH-uShxe-5AjU9T9SYNTA",[687,689],{"title":116,"path":237,"stem":238,"description":688,"children":-1},"Explore the live vue-pdf-export playground for Canvas and selectable-text rendering, PDF outputs, metrics, stress testing and interactive package features.",{"title":140,"path":243,"stem":244,"description":690,"children":-1},"Review vue-pdf-export browser support and testing guidance across Chromium, Firefox, WebKit, Safari, SSR fixtures and npm, pnpm, Yarn, Yarn PnP and Bun consumers.",1792374153385]