John Rafferty Posted November 21, 2024 Posted November 21, 2024 I am trying to export a rather large map as a PDF but get an error. These are the last few lines of PDFlib.log file. Apart from the obvious i.e. that it seems to flag dasharray having too many values (>12), what could be causing it to cancel with an error. No PDF is created. Any ideas? ------------- PDF_lineto(p_0x7fecfa0a7da0, 5374.947565, 5307.597268) PDF_lineto(p_0x7fecfa0a7da0, 5378.715550, 5316.362033) PDF_lineto(p_0x7fecfa0a7da0, 5377.443555, 5332.631568) PDF_lineto(p_0x7fecfa0a7da0, 5371.179580, 5345.142717) PDF_lineto(p_0x7fecfa0a7da0, 5341.131700, 5373.901802) PDF_lineto(p_0x7fecfa0a7da0, 5324.979765, 5386.403352) PDF_lineto(p_0x7fecfa0a7da0, 5319.123788, 5385.908954) PDF_stroke(p_0x7fecfa0a7da0) PDF_set_graphics_option(p_0x7fecfa0a7da0, "strokecolor={rgb 0.4 0.321569 0.25098}") PDF_setlinewidth(p_0x7fecfa0a7da0, 0.240023) PDF_create_gstate(p_0x7fecfa0a7da0, "linecap=projecting linejoin=bevel ") [4] PDF_set_gstate(p_0x7fecfa0a7da0, 4) PDF_set_graphics_option(p_0x7fecfa0a7da0, "dasharray={22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 22.42681 33.640165 }") [Last exception 1404 in PDF_set_graphics_option]["Option 'dasharray' has too many values (> 12)"] /* PDF_get_opaque(p_0x7fecfa0a7da0) */ /* [0x7000094e17b8] */ PDF_delete(p_0x7fecfa0a7da0) /* PDF_get_opaque(p_0x7fecfa0a7da0) */ /* [0x7000094e17b8] */ /* writeproc(data[0x7fecb0810000], 2723)[2723] */ [2024-11-21 15:30:55] Quote
walt.farrell Posted November 21, 2024 Posted November 21, 2024 Welcome to the Affinity forums, @John Rafferty. What is the DPI of your Affinity document, and its pixel dimensions? PDF files have limits based on the physical dimensions of their content. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.5, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.