feat(pdf): generate PNG assets from SVG logos, use -com variant in footer
- Generated 24 PNGs (128/256/512/1024) from 6 SVG logos into public/assets/ - PDF footer now uses faunosteo-horizontal-com (with .com branding) - Simplified logo.ts: both logos are pre-rasterized PNGs, removed SVG rasterization code Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
710171afda
commit
f1c639d93e
26 files changed
+7
-73
No files matched your search
+1
-1
@@ -106,7 +106,7 @@ export async function exportReportToPdf(
|
||||
let logoPdfImage = null
|
||||
let zqLogoPdfImage = null
|
||||
try {
|
||||
const logoPngBytes = await loadFaunosteoLogo(400)
|
||||
const logoPngBytes = await loadFaunosteoLogo()
|
||||
logoPdfImage = await pdfDoc.embedPng(logoPngBytes)
|
||||
} catch (err) {
|
||||
console.warn('Faunosteo logo embed failed:', err)
|
||||
|
||||
Reference in new issue
Block a user