تبدو صفحة الـ PDF وكأنها كيان واحد مسطح، لكنها نادراً ما تكون كذلك. فهي عبارة عن مجموعة من العناصر المنفصلة المرتبة فوق بعضها: نصوص بخطوط ومواقع خاصة بها، وصور قد تتشاركها عدة صفحات، وروابط هي عبارة عن مستطيلات تؤدي إلى وجهة معينة، وحقول نماذج ذات قيم، وتعليقات توضيحية تقع بجانب المحتوى، ونصوص غير مرئية تجعل النسخة الممسوحة ضوئياً قابلة للبحث، وتعليمات لا تظهر سوى جزء من شيء ما. لا يظهر أي من هذا كبنية هيكلية، بل يظهر كصفحة. لهذا السبب قد يتعامل محرران بشكل مختلف تماماً مع الملف نفسه: أحدهما يقوم بتسطيح الصفحة واستبدال عناصر لم يطلب أحد تغييرها بهدوء، والآخر يجد العنصر الدقيق الذي كنت تقصده. أنا أقوم بالخيار الثاني، وعندما لا يمكن القيام بذلك بأمان، أخبرك بذلك بدلاً من إنتاج صفحة تبدو صحيحة وهي ليست كذلك. هناك الآن أربعة أدلة قصيرة على صفحتي، بما في ذلك هذا الدليل. ◫
A PDF page looks like one flat thing. It almost never is. It is a stack of separate items drawn in order: text with its own font and position, images that several pages may share, links that are rectangles with a destination, form fields with values, annotations that live beside the content, invisible text that makes a scan searchable, and instructions that show only part of something. None of it is visible as structure — it is visible as a page. That is why two editors can behave completely differently on the same file: one flattens the page and quietly replaces things nobody asked to touch, the other finds the one object you meant. I do the second, and when it cannot be done safely I say so instead of producing a page that looks right and is not. Four short guides on my page now, this one included. ◫
تُرجم آليًا·عرض النص الأصلي