{
  "schemaVersion": 1,
  "claim": "same-input-same-font-layout-engine-comparison + real production showcases",
  "fontFamilyDefault": "Cairo",
  "fontShaSample": "8b12c636576100351f4ad146d8da952c817cc598aebbc453ca1ad08914d8b308",
  "runtime": {
    "python": "3.12.3",
    "pillow": "12.2.0",
    "libraqmAvailable": true
  },
  "generator": "scripts/generate-proof-gallery.py",
  "scenarios": [
    {
      "id": "connect",
      "kind": "compare",
      "aspect": "16:9",
      "title": "وصل الحروف",
      "notice": "بلا معالجة عربية: الحروف مفككة والكلمات مقلوبة الاتجاه. مع ريفنا: كل حرف يأخذ شكله بحسب موضعه فتظهر الكلمة موصولة ومقروءة.",
      "spec": {
        "aspect": "16:9",
        "text": "أفضل كابشن عربي صحيح",
        "font": "Cairo",
        "bold": true,
        "font_size_px": 92
      },
      "frames": {
        "before": {
          "file": "gallery/connect-before.png",
          "layoutEngine": "Pillow BASIC",
          "arabicShaping": false,
          "bidi": false,
          "sha256": "77acdd003b4970105356caee461fa1f9ff6e5219d502a6372cd9010a2a4a160e"
        },
        "after": {
          "file": "gallery/connect-after.png",
          "layoutEngine": "Pillow RAQM",
          "arabicShaping": true,
          "bidiStandard": "Unicode Bidirectional Algorithm (UAX #9)",
          "sha256": "19c5aedac364352308e74c8e4ca877963573a0c17a66f2eb6d7659cbeb407a6c"
        }
      }
    },
    {
      "id": "bidi-numbers",
      "kind": "compare",
      "aspect": "16:9",
      "title": "ترتيب الأرقام داخل الجملة",
      "notice": "بلا معالجة: الرقم والنسبة يقفزان لمكان خاطئ. مع ريفنا: تطبيق UAX#9 يبقي الأرقام والنسب في ترتيب القراءة الصحيح وسط النص العربي.",
      "spec": {
        "aspect": "16:9",
        "text": "وفرنا 40% من وقت المونتاج",
        "font": "Cairo",
        "bold": true,
        "font_size_px": 84,
        "numerals": "western"
      },
      "frames": {
        "before": {
          "file": "gallery/bidi-numbers-before.png",
          "layoutEngine": "Pillow BASIC",
          "arabicShaping": false,
          "bidi": false,
          "sha256": "06b2924ebbb99bd592538ee7889daad0c301323cb04c17cb72b23e3ec08ab07c"
        },
        "after": {
          "file": "gallery/bidi-numbers-after.png",
          "layoutEngine": "Pillow RAQM",
          "arabicShaping": true,
          "bidiStandard": "Unicode Bidirectional Algorithm (UAX #9)",
          "sha256": "1b95f1c75c2e6ed1e24e0309b4bd8aaccf348723fce0298ca0c2373d33d99c68"
        }
      }
    },
    {
      "id": "ltr-embed",
      "kind": "compare",
      "aspect": "16:9",
      "title": "مقاطع لاتينية مضمنة",
      "notice": "بلا معالجة: الحروف العربية تنفصل ويختل اتجاه الجملة فيقع الاسم اللاتيني في غير موضعه. مع ريفنا: الروابط والأسماء اللاتينية داخل النص العربي تبقى في موضعها الصحيح.",
      "spec": {
        "aspect": "16:9",
        "text": "زر موقعنا revnas.com اليوم",
        "font": "Cairo",
        "bold": true,
        "font_size_px": 84
      },
      "frames": {
        "before": {
          "file": "gallery/ltr-embed-before.png",
          "layoutEngine": "Pillow BASIC",
          "arabicShaping": false,
          "bidi": false,
          "sha256": "1982c39264a43baa078239c65301ee24586514ca9a01fd49e6e3894aa5bc48fc"
        },
        "after": {
          "file": "gallery/ltr-embed-after.png",
          "layoutEngine": "Pillow RAQM",
          "arabicShaping": true,
          "bidiStandard": "Unicode Bidirectional Algorithm (UAX #9)",
          "sha256": "74d9ef46339e92d9e94f77b166f149ef3f9594fbec00847958023e492d9a8d16"
        }
      }
    },
    {
      "id": "tiktok-vertical",
      "kind": "showcase",
      "aspect": "9:16",
      "title": "مقاس عمودي واضح لتيك توك وريلز",
      "notice": "نفس المحرك يخرج المقاس العمودي الجاهز للنشر مع حدود واضحة تقرأ على الجوال.",
      "spec": {
        "aspect": "9:16",
        "text": "خله يشوف الفرق بنفسه",
        "font": "Cairo",
        "bold": true,
        "font_size_px": 104,
        "outline_px": 6
      },
      "frames": {
        "look": {
          "file": "gallery/tiktok-vertical.png",
          "layoutEngine": "Pillow RAQM",
          "arabicShaping": true,
          "bidiStandard": "Unicode Bidirectional Algorithm (UAX #9)",
          "sha256": "b3ff7f68d99c22949a5a07556b7ff2361e5bf1f9fd0938c8fa6b4a7ecb5770c1"
        }
      },
      "look": "كايرو عريض · مقاس 9:16 · إسناد سفلي"
    },
    {
      "id": "luxe-gold",
      "kind": "showcase",
      "aspect": "16:9",
      "title": "ستايل فاخر للعلامات التجارية",
      "notice": "ألوان وأوزان قابلة للضبط تعطي مظهرا راقيا دون أي تشويه للنص العربي.",
      "spec": {
        "aspect": "16:9",
        "text": "هوية بمعايير عالمية",
        "font": "Cairo",
        "bold": true,
        "font_size_px": 100,
        "primary_color": "#EAD196",
        "placement": "middle"
      },
      "frames": {
        "look": {
          "file": "gallery/luxe-gold.png",
          "layoutEngine": "Pillow RAQM",
          "arabicShaping": true,
          "bidiStandard": "Unicode Bidirectional Algorithm (UAX #9)",
          "sha256": "9a38cebef58e6e1e0612ebe0db3b3972c274c0a5ef913bc01735efdc89733a37"
        }
      },
      "look": "لون ذهبي · إسناد أوسط · كايرو"
    },
    {
      "id": "tashkeel-preserved",
      "kind": "showcase",
      "aspect": "1:1",
      "title": "تشكيل وظيفي محفوظ عند الحاجة",
      "notice": "نبقي الحركات حين تكون ضرورية للنطق الصحيح، وننظفها حين تشوش القراءة عند الحجم الصغير.",
      "spec": {
        "aspect": "1:1",
        "text": "مَرْحَبًا بِكُمْ في ريفنا",
        "font": "Noto Naskh Arabic",
        "font_size_px": 88,
        "strip_tashkeel": false,
        "placement": "middle"
      },
      "frames": {
        "look": {
          "file": "gallery/tashkeel-preserved.png",
          "layoutEngine": "Pillow RAQM",
          "arabicShaping": true,
          "bidiStandard": "Unicode Bidirectional Algorithm (UAX #9)",
          "sha256": "3a4250c04c7f7f232f34eb176065609bfa1d872996deeea86ae50daa28f53994"
        }
      },
      "look": "نسخ · تشكيل مبقى · إسناد أوسط"
    }
  ]
}
