[{"data":1,"prerenderedAt":548},["ShallowReactive",2],{"navigation_docs":3,"-use-cases-troubleshooting":139,"-use-cases-troubleshooting-surround":544},[4,55,89],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":54},"API","i-lucide-braces","\u002Fapi","api",[10,14,18,22,26,30,34,38,42,46,50],{"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},"Headers","\u002Fapi\u002Fheaders","api\u002F03.headers",{"title":23,"path":24,"stem":25},"Footers","\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, 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},"Full README Reference","\u002Fapi\u002Ffull-reference","api\u002F11.full-reference",false,{"title":56,"icon":57,"path":58,"stem":59,"children":60,"page":54},"Get Started","i-lucide-book-open","\u002Fget-started","get-started",[61,65,69,73,77,81,85],{"title":62,"path":63,"stem":64},"Introduction","\u002Fget-started\u002Fintroduction","get-started\u002F01.introduction",{"title":66,"path":67,"stem":68},"Installation","\u002Fget-started\u002Finstallation","get-started\u002F02.installation",{"title":70,"path":71,"stem":72},"Quick Start","\u002Fget-started\u002Fquick-start","get-started\u002F03.quick-start",{"title":74,"path":75,"stem":76},"Rendering Modes","\u002Fget-started\u002Frendering-modes","get-started\u002F04.rendering-modes",{"title":78,"path":79,"stem":80},"Component Registration","\u002Fget-started\u002Fregistration","get-started\u002F05.registration",{"title":82,"path":83,"stem":84},"Preview & Download","\u002Fget-started\u002Fpreview-download","get-started\u002F06.preview-download",{"title":86,"path":87,"stem":88},"Pagination","\u002Fget-started\u002Fpagination","get-started\u002F07.pagination",{"title":90,"icon":91,"path":92,"stem":93,"children":94,"page":54},"Use Cases","i-lucide-flask-conical","\u002Fuse-cases","use-cases",[95,99,103,107,111,115,119,123,127,131,135],{"title":96,"path":97,"stem":98},"Playground","\u002Fuse-cases\u002Fplayground","use-cases\u002F01.playground",{"title":100,"path":101,"stem":102},"Selectable Text","\u002Fuse-cases\u002Fselectable-text","use-cases\u002F02.selectable-text",{"title":104,"path":105,"stem":106},"Clickable PDF Links","\u002Fuse-cases\u002Fclickable-links","use-cases\u002F03.clickable-links",{"title":108,"path":109,"stem":110},"Images & CORS","\u002Fuse-cases\u002Fimages-cors","use-cases\u002F04.images-cors",{"title":112,"path":113,"stem":114},"Production Guide","\u002Fuse-cases\u002Fproduction-guide","use-cases\u002F05.production-guide",{"title":116,"path":117,"stem":118},"Troubleshooting","\u002Fuse-cases\u002Ftroubleshooting","use-cases\u002F06.troubleshooting",{"title":120,"path":121,"stem":122},"Testing & Browser Support","\u002Fuse-cases\u002Ftesting-browser-support","use-cases\u002F07.testing-browser-support",{"title":124,"path":125,"stem":126},"Performance Engineering","\u002Fuse-cases\u002Fperformance-engineering","use-cases\u002F08.performance-engineering",{"title":128,"path":129,"stem":130},"Full Performance Engineering Report","\u002Fuse-cases\u002Fperformance-report","use-cases\u002F09.performance-report",{"title":132,"path":133,"stem":134},"Community & Feedback","\u002Fuse-cases\u002Fcommunity","use-cases\u002F10.community",{"title":136,"path":137,"stem":138},"Acknowledgements","\u002Fuse-cases\u002Facknowledgements","use-cases\u002F11.acknowledgements",{"id":140,"title":116,"body":141,"description":178,"extension":538,"links":539,"meta":540,"navigation":541,"path":117,"seo":542,"stem":118,"__hash__":543},"docs\u002Fuse-cases\u002F06.troubleshooting.md",{"type":142,"value":143,"toc":525},"minimark",[144,148,153,162,165,169,172,224,231,235,242,246,249,252,324,328,339,345,349,352,375,379,382,399,403,406,459,470,474,477,480,484,494,497,501,504,518,521],[145,146,116],"h1",{"id":147},"troubleshooting",[149,150,152],"h3",{"id":151},"selectable-text-is-not-pixel-identical-to-the-browser","Selectable text is not pixel-identical to the browser",[154,155,156,157,161],"p",{},"Use ",[158,159,160],"code",{},"render-mode=\"canvas\""," for maximum CSS fidelity.",[154,163,164],{},"Selectable-text mode intentionally prioritizes real PDF text and vector output.",[149,166,168],{"id":167},"link-looks-like-text-but-is-not-clickable","Link looks like text but is not clickable",[154,170,171],{},"Make sure links are enabled:",[173,174,179],"pre",{"className":175,"code":176,"language":177,"meta":178,"style":178},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const htmlToPdfOptions = {\n  enableLinks: true,\n}\n","ts","",[158,180,181,201,218],{"__ignoreMap":178},[182,183,186,190,194,198],"span",{"class":184,"line":185},"line",1,[182,187,189],{"class":188},"spNyl","const",[182,191,193],{"class":192},"sTEyZ"," htmlToPdfOptions ",[182,195,197],{"class":196},"sMK4o","=",[182,199,200],{"class":196}," {\n",[182,202,204,208,211,215],{"class":184,"line":203},2,[182,205,207],{"class":206},"swJcz","  enableLinks",[182,209,210],{"class":196},":",[182,212,214],{"class":213},"sfNiH"," true",[182,216,217],{"class":196},",\n",[182,219,221],{"class":184,"line":220},3,[182,222,223],{"class":196},"}\n",[154,225,226,227,230],{},"Also verify the source element is a real anchor with a valid ",[158,228,229],{},"href",".",[149,232,234],{"id":233},"link-text-looks-stretched","Link text looks stretched",[154,236,237,238,241],{},"Reduce large ",[158,239,240],{},"letter-spacing",", transforms, and tight fixed widths in selectable-text mode.",[149,243,245],{"id":244},"logo-looks-stretched","Logo looks stretched",[154,247,248],{},"Header\u002Ffooter logo dimensions are maximum bounds and preserve the source aspect ratio.",[154,250,251],{},"For normal content images:",[173,253,257],{"className":254,"code":255,"language":256,"meta":178,"style":178},"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",[158,258,259,267,281,292,306,319],{"__ignoreMap":178},[182,260,261,265],{"class":184,"line":185},[182,262,264],{"class":263},"sBMFI","img",[182,266,200],{"class":196},[182,268,269,273,275,278],{"class":184,"line":203},[182,270,272],{"class":271},"sqsOY","  width",[182,274,210],{"class":196},[182,276,277],{"class":192}," auto",[182,279,280],{"class":196},";\n",[182,282,283,286,288,290],{"class":184,"line":220},[182,284,285],{"class":271},"  height",[182,287,210],{"class":196},[182,289,277],{"class":192},[182,291,280],{"class":196},[182,293,295,298,300,304],{"class":184,"line":294},4,[182,296,297],{"class":271},"  max-width",[182,299,210],{"class":196},[182,301,303],{"class":302},"sbssI"," 100%",[182,305,280],{"class":196},[182,307,309,312,314,317],{"class":184,"line":308},5,[182,310,311],{"class":271},"  object-fit",[182,313,210],{"class":196},[182,315,316],{"class":192}," contain",[182,318,280],{"class":196},[182,320,322],{"class":184,"line":321},6,[182,323,223],{"class":196},[149,325,327],{"id":326},"headerfooter-overlaps-content","Header\u002Ffooter overlaps content",[154,329,330,331,334,335,338],{},"Increase ",[158,332,333],{},"headerHeight"," \u002F ",[158,336,337],{},"footerHeight",", or reduce content size.",[154,340,341,342,230],{},"For selectively targeted headers, only target pages receive the extra header space. If excluded pages still have top spacing, check explicit ",[158,343,344],{},"htmlToPdfOptions.margin",[149,346,348],{"id":347},"header-or-footer-image-is-missing","Header or footer image is missing",[154,350,351],{},"Check:",[353,354,355,359,362,365,370],"ul",{},[356,357,358],"li",{},"URL accessibility",[356,360,361],{},"CORS",[356,363,364],{},"data URL validity",[356,366,367],{},[158,368,369],{},"headerLogoEnabled",[356,371,372],{},[158,373,374],{},"footerLogoEnabled",[149,376,378],{"id":377},"html-headerfooter-is-not-visible","HTML header\u002Ffooter is not visible",[154,380,381],{},"Check that:",[353,383,384,387,390,396],{},[356,385,386],{},"related header\u002Ffooter is enabled",[356,388,389],{},"HTML string is non-empty",[356,391,392,393],{},"footer uses ",[158,394,395],{},"footer-mode=\"html\"",[356,397,398],{},"content fits inside configured height",[149,400,402],{"id":401},"blank-page-around-a-manual-break","Blank page around a manual break",[154,404,405],{},"Use only:",[173,407,409],{"className":254,"code":408,"language":256,"meta":178,"style":178},".html2pdf__page-break {\n  display: block;\n  height: 0;\n  clear: both;\n}\n",[158,410,411,420,432,443,455],{"__ignoreMap":178},[182,412,413,415,418],{"class":184,"line":185},[182,414,230],{"class":196},[182,416,417],{"class":263},"html2pdf__page-break",[182,419,200],{"class":196},[182,421,422,425,427,430],{"class":184,"line":203},[182,423,424],{"class":271},"  display",[182,426,210],{"class":196},[182,428,429],{"class":192}," block",[182,431,280],{"class":196},[182,433,434,436,438,441],{"class":184,"line":220},[182,435,285],{"class":271},[182,437,210],{"class":196},[182,439,440],{"class":302}," 0",[182,442,280],{"class":196},[182,444,445,448,450,453],{"class":184,"line":294},[182,446,447],{"class":271},"  clear",[182,449,210],{"class":196},[182,451,452],{"class":192}," both",[182,454,280],{"class":196},[182,456,457],{"class":184,"line":308},[182,458,223],{"class":196},[154,460,461,462,465,466,469],{},"Do not add ",[158,463,464],{},"break-before"," or ",[158,467,468],{},"page-break-before"," to the same helper.",[149,471,473],{"id":472},"background-watermark-is-hidden","Background watermark is hidden",[154,475,476],{},"Opaque PDF content can cover a DOM background watermark.",[154,478,479],{},"Use a foreground watermark or transparent export content where appropriate.",[149,481,483],{"id":482},"pdf-is-blurry","PDF is blurry",[154,485,486,487,465,490,493],{},"In canvas mode, increase ",[158,488,489],{},"pdfQuality",[158,491,492],{},"htmlToPdfOptions.html2canvas.scale"," carefully.",[154,495,496],{},"Selectable-text body text remains vector text and does not depend on html2canvas resolution.",[149,498,500],{"id":499},"large-document-generation-is-slow","Large document generation is slow",[154,502,503],{},"Reduce:",[353,505,506,509,512,515],{},[356,507,508],{},"canvas scale where relevant",[356,510,511],{},"image dimensions",[356,513,514],{},"document complexity",[356,516,517],{},"simultaneous PDF generation",[154,519,520],{},"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.",[522,523,524],"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":178,"searchDepth":203,"depth":203,"links":526},[527,528,529,530,531,532,533,534,535,536,537],{"id":151,"depth":220,"text":152},{"id":167,"depth":220,"text":168},{"id":233,"depth":220,"text":234},{"id":244,"depth":220,"text":245},{"id":326,"depth":220,"text":327},{"id":347,"depth":220,"text":348},{"id":377,"depth":220,"text":378},{"id":401,"depth":220,"text":402},{"id":472,"depth":220,"text":473},{"id":482,"depth":220,"text":483},{"id":499,"depth":220,"text":500},"md",null,{},true,{"title":116,"description":178},"r5YfBxQ1oHEbhLuDb2jlam6FWH13oijO5Np_v9HbA20",[545,546],{"title":112,"path":113,"stem":114,"description":178,"children":-1},{"title":120,"path":121,"stem":122,"description":547,"children":-1},"The package targets modern browsers supported by Vue and the underlying PDF\u002Fbrowser APIs.",1788876783418]