Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Merge PR #960

Brandon Thomase7d8d5be62d3
diff --cc ROADMAP.md
index da0bd926c,9a770db0b..25746cb6a
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@@ -135,16 -132,7 +135,17 @@@ list) · [roadmap.md](docs/roadmap.md)
Newest first.
+- **2026-10-14** · The Type tool draws a new text frame over a locked empty frame, as InDesign does, instead of turning the locked frame into a text frame. No readiness percentage change.
+- **2026-10-14** · 100% black shows as pure black on screen by default, as InDesign's Appearance of Black does out of the box (Display All Blacks as Rich Black); Preferences › Appearance of Black › Display All Blacks Accurately still shows it as the dark grey it prints, and a saved choice is kept. No readiness percentage change.
+- **2026-10-14** · Pathfinder keeps the frontmost object, as InDesign does: a photo placed over shapes and intersected with them shows through the shapes (it was dropped, and the shapes kept their black fill); Add, Exclude Overlap and Minus Back take the front object's fill too, Subtract still keeps the back one. No readiness percentage change.
+- **2026-10-14** · The Color panel's Tint field keeps what is typed while it has focus and applies it on Enter or when it loses focus, clamped to 0–100 %. Typing 60 over 100 % no longer snaps back to 100 after the first digit (10060), and a typed tint is no longer ignored. No readiness percentage change.
+- **2026-10-15** · IDML: ruler guides import and export (they were dropped). Each page's guides come in measured from the document's ruler origin (spread, page or spine), with Fit to Page, Locked and their layer, parent pages' included, and go out again under their pages. No readiness percentage change.
+- **2026-10-15** · Find Font no longer reports a style missing when it differs from the installed one only in spacing or case (InDesign files can name `Regular ` with a trailing space); the text was already drawn in the right face. No readiness percentage change.
+- **2026-10-15** · A line of text is set when its baseline fits in the frame, as in InDesign: descenders may hang below the frame's bottom. A frame sized to the cap height of a big heading (103 pt in a 2.77 cm frame, as Zero2Graphic's magazine tutorial draws them) no longer oversets. No readiness percentage change.
+- **2026-10-15** · A story that ends with a return is no longer overset when only its empty last paragraph doesn't fit, as in InDesign (Preflight said "Overset text: 0 characters" for a caption InDesign shows with no errors). No readiness percentage change.
+- **2026-10-15** · Flex Layout (InDesign 2026): Object › Flex Layout (Add to, Convert to, Remove) and a Flex Layout panel laid out as InDesign's, also in Properties. A container lays out its objects by direction, wrap, justification, the alignment grid, Fixed/Auto width and height, padding and spacing, after every edit; Add detects aligned objects (direction, Auto size, Space Between at their spacing); resizing a container reflows its objects instead of scaling them; dragging an object in one reorders it. Montilla Design's tutorial replays step for step. No readiness percentage change.
+- **2026-10-14** · Layout › Margins and Columns and Layout › Create Guides are laid out as InDesign's: Margins in Top/Bottom and Inside/Outside pairs with a link button that makes all four the same, Rows and Columns side by side, Fit Guides to Margins or Page, and a Preview checkbox that shows the change on the canvas before OK. A measurement field works out arithmetic when you leave it (`0.4375 in*2` becomes `0.875 in`). No readiness percentage change.
+ - **2026-10-14** · The Pathfinder panel is laid out as InDesign's: Paths (Join, Open, Close, Reverse), Pathfinder, Convert Shape and Convert Point, each a row of icon buttons. Join Path closes an open path or joins two at their nearest ends (`path.join`), and Convert Point makes the selected points plain, corner, smooth or symmetrical (`path.convertPoints`). No readiness percentage change.
- **2026-10-13** · Object › Fitting has InDesign's shortcuts: Fill Frame Proportionally ⌘⌥⇧C, Fit Content Proportionally ⌘⌥⇧E, Fit Frame to Content ⌘⌥C, Fit Content to Frame ⌘⌥E, Center Content ⌘⇧E. No readiness percentage change.
- **2026-10-13** · Gradients between process colours blend as inks, as InDesign shows them: magenta to cyan passes through C 50 M 50 (a light lilac) on screen instead of the darker RGB mix, and a midpoint between CMYK or grey stops no longer turns the PDF shading RGB. No readiness percentage change.
- **2026-10-14** · The Swatches panel has InDesign's header: a Fill/Stroke proxy, Formatting Affects Container/Text and the Tint of the colour in front (a tint alone keeps each object's own swatch). Clicking a swatch applies it to the fill or stroke in front (of the text, when formatting affects text), and the bottom row has New Color Group, New Swatch and Delete Swatch. No readiness percentage change.
diff --cc crates/engine/src/cmd/anchors.rs
index ad18b8225,0b72c4727..c6e285200
--- a/crates/engine/src/cmd/anchors.rs
+++ b/crates/engine/src/cmd/anchors.rs
@@@ -5,8 -6,7 +6,8 @@@ use designcraft_doc::{Document, ItemId
use designcraft_geom::{Affine, Anchor, AnchorKind, Point};
use serde_json::{Value, json};
+use super::object::path_editable;
- use super::{CommandSpec, bad, cmd, has_doc, point_param};
+ use super::{CommandSpec, bad, cmd, has_doc, has_selection, point_param};
use crate::{Result, Session};
pub fn specs() -> Vec<CommandSpec> {
diff --cc crates/ui-egui/src/i18n.rs
index 43855f6ee,ea6c2d595..444835220
--- a/crates/ui-egui/src/i18n.rs
+++ b/crates/ui-egui/src/i18n.rs
@@@ -57,101 -55,14 +57,109 @@@ const TABLE: &[(&str, [&str; 5])] = &
("Cut", ["Ausschneiden", "Couper", "Cortar", "カット", "剪切"]),
("Copy", ["Kopieren", "Copier", "Copiar", "コピー", "复制"]),
("Paste", ["Einfügen", "Coller", "Pegar", "ペースト", "粘贴"]),
+ (
+ "Bulleted & Numbered Lists",
+ [
+ "Aufzählungszeichen und nummerierte Listen",
+ "Listes à puces et numérotées",
+ "Listas con viñetas y numeradas",
+ "箇条書き",
+ "项目符号列表和编号列表",
+ ],
+ ),
+ ("Current Page Number", ["Aktuelle Seitenzahl", "Numéro de page actuelle", "Número de página actual", "現在のページ番号", "当前页码"]),
+ ("Apply Color (,)", ["Farbe anwenden (,)", "Appliquer la couleur (,)", "Aplicar color (,)", "カラーを適用 (,)", "应用颜色 (,)"]),
+ ("Apply Gradient (.)", ["Verlauf anwenden (.)", "Appliquer le dégradé (.)", "Aplicar degradado (.)", "グラデーションを適用 (.)", "应用渐变 (.)"]),
+ ("View Options", ["Ansichtsoptionen", "Options d’affichage", "Opciones de visualización", "表示オプション", "视图选项"]),
+ ("Frame Edges", ["Rahmenkanten", "Bords du bloc", "Bordes del marco", "フレーム枠", "框架边缘"]),
+ ("Rulers", ["Lineale", "Règles", "Reglas", "定規", "标尺"]),
+ ("Hidden Characters", ["Verborgene Zeichen", "Caractères masqués", "Caracteres ocultos", "制御文字", "隐藏字符"]),
+ ("Flex Layout", ["Flex-Layout", "Mise en page flexible", "Diseño flexible", "フレックスレイアウト", "弹性布局"]),
+ (
+ "Create Flex Layout",
+ ["Flex-Layout erstellen", "Créer une mise en page flexible", "Crear diseño flexible", "フレックスレイアウトを作成", "创建弹性布局"],
+ ),
+ (
+ "Add to Flex Layout",
+ [
+ "Zu Flex-Layout hinzufügen",
+ "Ajouter à la mise en page flexible",
+ "Añadir a diseño flexible",
+ "フレックスレイアウトに追加",
+ "添加到弹性布局",
+ ],
+ ),
+ (
+ "Convert to Flex Layout",
+ [
+ "In Flex-Layout umwandeln",
+ "Convertir en mise en page flexible",
+ "Convertir en diseño flexible",
+ "フレックスレイアウトに変換",
+ "转换为弹性布局",
+ ],
+ ),
+ (
+ "Remove Flex Layout",
+ ["Flex-Layout entfernen", "Supprimer la mise en page flexible", "Quitar diseño flexible", "フレックスレイアウトを削除", "移除弹性布局"],
+ ),
+ (
+ "Show Flex Controls",
+ [
+ "Flex-Steuerelemente einblenden",
+ "Afficher les commandes flexibles",
+ "Mostrar controles flexibles",
+ "フレックスコントロールを表示",
+ "显示弹性控件",
+ ],
+ ),
+ (
+ "Flex Layout Options",
+ ["Flex-Layout-Optionen", "Options de mise en page flexible", "Opciones de diseño flexible", "フレックスレイアウトオプション", "弹性布局选项"],
+ ),
+ (
+ "Reorder in Flex Layout",
+ [
+ "Im Flex-Layout umordnen",
+ "Réorganiser dans la mise en page flexible",
+ "Reordenar en diseño flexible",
+ "フレックスレイアウト内で並べ替え",
+ "在弹性布局中重新排序",
+ ],
+ ),
+ ("Flex Start", ["Flex-Anfang", "Début flexible", "Inicio flexible", "フレックス開始", "弹性起点"]),
+ ("Flex End", ["Flex-Ende", "Fin flexible", "Fin flexible", "フレックス終了", "弹性终点"]),
+ ("Space Between", ["Abstand dazwischen", "Espace entre", "Espacio entre", "間隔を均等", "两端对齐"]),
+ ("Space Around", ["Abstand ringsum", "Espace autour", "Espacio alrededor", "周囲に間隔", "周围间距"]),
+ ("Space Evenly", ["Gleichmäßig verteilen", "Espace uniforme", "Espacio uniforme", "均等に配置", "均匀分布"]),
+ ("Row", ["Zeile", "Ligne", "Fila", "行", "行"]),
+ ("Reverse Row", ["Zeile umgekehrt", "Ligne inversée", "Fila invertida", "行(逆方向)", "反向行"]),
+ ("Reverse Column", ["Spalte umgekehrt", "Colonne inversée", "Columna invertida", "列(逆方向)", "反向列"]),
+ ("Wrap Content", ["Inhalt umbrechen", "Renvoyer le contenu à la ligne", "Ajustar contenido", "コンテンツを折り返す", "内容换行"]),
+ ("Spacing", ["Abstände", "Espacement", "Espaciado", "間隔", "间距"]),
+ ("Horizontal Spacing", ["Horizontaler Abstand", "Espacement horizontal", "Espaciado horizontal", "水平方向の間隔", "水平间距"]),
+ ("Vertical Spacing", ["Vertikaler Abstand", "Espacement vertical", "Espaciado vertical", "垂直方向の間隔", "垂直间距"]),
+ ("Constrain proportions", ["Proportionen beibehalten", "Conserver les proportions", "Restringir proporciones", "縦横比を固定", "约束比例"]),
+ ("Auto", ["Automatisch", "Automatique", "Automático", "自動", "自动"]),
+ ("W:", ["B:", "L :", "An.:", "幅:", "宽:"]),
+ ("H:", ["H:", "H :", "Al.:", "高さ:", "高:"]),
+ ("Number:", ["Anzahl:", "Nombre :", "Número:", "数:", "数量:"]),
+ ("Gutter:", ["Steg:", "Gouttière :", "Medianil:", "間隔:", "栏间距:"]),
+ ("Fit Guides to:", ["Hilfslinien einpassen in:", "Ajuster les repères à :", "Ajustar guías a:", "ガイドの適用先:", "参考线适合:"]),
+ ("Top:", ["Oben:", "Haut :", "Superior:", "天:", "上:"]),
+ ("Bottom:", ["Unten:", "Bas :", "Inferior:", "地:", "下:"]),
+ ("Inside:", ["Innen:", "Intérieur :", "Interior:", "ノド:", "内:"]),
+ ("Outside:", ["Außen:", "Extérieur :", "Exterior:", "小口:", "外:"]),
+ ("Left:", ["Links:", "Gauche :", "Izquierda:", "左:", "左:"]),
+ ("Right:", ["Rechts:", "Droite :", "Derecha:", "右:", "右:"]),
+ ("Paths:", ["Pfade:", "Tracés :", "Trazados:", "パス:", "路径:"]),
+ ("Pathfinder:", ["Pathfinder:", "Pathfinder :", "Buscatrazos:", "パスファインダー:", "路径查找器:"]),
+ ("Convert Shape:", ["Form konvertieren:", "Convertir la forme :", "Convertir forma:", "シェイプを変換:", "转换形状:"]),
+ ("Convert Point:", ["Punkt konvertieren:", "Convertir le point :", "Convertir punto:", "ポイントを変換:", "转换点:"]),
+ ("Join Path", ["Pfad zusammenfügen", "Joindre le tracé", "Unir trazado", "パスを連結", "连接路径"]),
+ ("Open Path", ["Pfad öffnen", "Ouvrir le tracé", "Abrir trazado", "パスをオープン", "开放路径"]),
+ ("Plain", ["Einfach", "Simple", "Normal", "プレーン", "普通"]),
+ ("Symmetrical", ["Symmetrisch", "Symétrique", "Simétrico", "対称", "对称"]),
("Reverse Path", ["Pfadrichtung umkehren", "Inverser le tracé", "Invertir trazado", "パスの方向反転", "反转路径"]),
("Set Anchor", ["Ankerpunkt festlegen", "Définir le point d’ancrage", "Definir punto de ancla", "アンカーポイントを設定", "设置锚点"]),
("Clear", ["Löschen", "Effacer", "Borrar", "消去", "清除"]),
diff --cc crates/ui-egui/src/i18n/ar.rs
index eaceb9932,264ca414a..ce62a4556
--- a/crates/ui-egui/src/i18n/ar.rs
+++ b/crates/ui-egui/src/i18n/ar.rs
@@@ -30,44 -30,14 +30,52 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "قص"),
("Copy", "نسخ"),
("Paste", "لصق"),
+ ("Bulleted & Numbered Lists", "القوائم ذات التعداد النقطي والرقمي"),
+ ("Current Page Number", "رقم الصفحة الحالية"),
+ ("Apply Color (,)", "تطبيق اللون (,)"),
+ ("Apply Gradient (.)", "تطبيق التدرج (.)"),
+ ("View Options", "خيارات العرض"),
+ ("Frame Edges", "حواف الإطار"),
+ ("Hidden Characters", "الأحرف المخفية"),
+ ("Create Flex Layout", "إنشاء تخطيط مرن"),
+ ("Add to Flex Layout", "إضافة إلى التخطيط المرن"),
+ ("Convert to Flex Layout", "تحويل إلى تخطيط مرن"),
+ ("Remove Flex Layout", "إزالة التخطيط المرن"),
+ ("Show Flex Controls", "إظهار عناصر التحكم المرنة"),
+ ("Flex Layout Options", "خيارات التخطيط المرن"),
+ ("Reorder in Flex Layout", "إعادة الترتيب في التخطيط المرن"),
+ ("Flex Start", "بداية مرنة"),
+ ("Flex End", "نهاية مرنة"),
+ ("Space Between", "مسافة بينية"),
+ ("Space Around", "مسافة حول"),
+ ("Space Evenly", "توزيع متساوٍ"),
+ ("Reverse Row", "صف معكوس"),
+ ("Reverse Column", "عمود معكوس"),
+ ("Wrap Content", "التفاف المحتوى"),
+ ("Spacing", "التباعد"),
+ ("Horizontal Spacing", "التباعد الأفقي"),
+ ("Vertical Spacing", "التباعد الرأسي"),
+ ("Constrain proportions", "تقييد النسب"),
+ ("Auto", "تلقائي"),
+ ("W:", "ع:"),
+ ("H:", "ا:"),
+ ("Number:", "العدد:"),
+ ("Gutter:", "الفاصل:"),
+ ("Fit Guides to:", "ملاءمة الأدلة مع:"),
+ ("Top:", "أعلى:"),
+ ("Bottom:", "أسفل:"),
+ ("Inside:", "الداخل:"),
+ ("Outside:", "الخارج:"),
+ ("Left:", "يسار:"),
+ ("Right:", "يمين:"),
+ ("Paths:", "المسارات:"),
+ ("Pathfinder:", "مستكشف المسار:"),
+ ("Convert Shape:", "تحويل الشكل:"),
+ ("Convert Point:", "تحويل النقطة:"),
+ ("Join Path", "ربط المسار"),
+ ("Open Path", "فتح المسار"),
+ ("Plain", "عادي"),
+ ("Symmetrical", "متماثل"),
("Reverse Path", "عكس المسار"),
("Set Anchor", "تعيين نقطة الارتساء"),
("Clear", "مسح"),
@@@ -1577,235 -1543,4 +1585,234 @@@
("Paragraph Rules…", "خطوط الفقرة…"),
("Paragraph Rules", "خطوط الفقرة"),
("Rule Below", "خط سفلي"),
+ // Completion: the keys the newer catalogs grew (menu paths, special characters,
+ // data merge, EPUB exports, proof setups) — same clean-room Arabic as above.
+ ("90° CCW", "90° عكس عقارب الساعة"),
+ ("90° CW", "90° مع عقارب الساعة"),
+ ("A, B, C, D...", "أ، ب، ج، د..."),
+ ("All records", "كل السجلات"),
+ ("Alpha Channel", "قناة ألفا"),
+ ("Anchored Object Options", "خيارات الكائن المرسّى"),
+ ("ArtCraft App Page", "صفحة تطبيق ArtCraft"),
+ ("ArtCraft Website", "موقع ArtCraft"),
+ ("Bind to frame", "ربط بالإطار"),
+ ("Black", "أسود"),
+ ("Bleed:", "الامتداد:"),
+ ("Bullet Character", "محرف التعداد"),
+ ("CMYK:", "CMYK:"),
+ ("Center in frame", "توسيط في الإطار"),
+ ("Check Spelling", "تدقيق الإملاء"),
+ ("Clear Rotation", "مسح التدوير"),
+ ("Closed Path", "مسار مغلق"),
+ ("Color Blindness – Deuteranopia", "عمى الألوان – الديوتيرانوبيا"),
+ ("Color Blindness – Protanopia", "عمى الألوان – البروتانوبيا"),
+ ("Column Break", "فاصل عمود"),
+ ("Column spacing", "تباعد الأعمدة"),
+ ("Columns first", "الأعمدة أولاً"),
+ ("Conditional Text", "نص شرطي"),
+ ("Copyright Symbol", "رمز حقوق النشر"),
+ ("Corner Options", "خيارات الزوايا"),
+ ("Create Guides", "إنشاء أدلة"),
+ ("Cyan", "سماوي"),
+ ("Dark", "داكن"),
+ ("Data Merge", "دمج البيانات"),
+ ("Define Cross-Reference Format", "تعريف تنسيق المرجع المتصالب"),
+ ("Define Lists", "تعريف القوائم"),
+ ("Define Text Variable", "تعريف متغير نص"),
+ ("Delete Type from Path", "حذف النص من المسار"),
+ ("DesignCraft Website", "موقع DesignCraft"),
+ ("DesignCraft on GitHub", "DesignCraft على GitHub"),
+ ("Detect Edges", "كشف الحواف"),
+ ("Discretionary Hyphen", "واصلة تقديرية"),
+ ("Document CMYK", "CMYK المستند"),
+ ("Document Endnote Options", "خيارات الحاشية الختامية للمستند"),
+ ("Document Footnote Options", "خيارات الحاشية السفلية للمستند"),
+ ("Document RGB", "RGB المستند"),
+ ("Double Left Quotation Marks", "علامتا اقتباس يسرى مزدوجتان"),
+ ("Double Right Quotation Marks", "علامتا اقتباس يمنى مزدوجتان"),
+ ("Edit/Interface Language", "تحرير/لغة الواجهة"),
+ ("Edit/Spelling", "تحرير/الإملاء"),
+ ("Edit/Transparency Blend Space", "تحرير/فراغ مزج الشفافية"),
+ ("Edit/Transparency Flattener Presets", "تحرير/إعدادات تسطيح الشفافية المسبقة"),
+ ("Ellipsis", "علامة حذف"),
+ ("Em Dash", "شرطة كاملة"),
+ ("Em Space", "مسافة كاملة"),
+ ("En Dash", "شرطة نصف كاملة"),
+ ("En Space", "مسافة نصف كاملة"),
+ ("Export EPUB", "تصدير EPUB"),
+ ("Export EPUB (Fixed Layout)", "تصدير EPUB (تخطيط ثابت)"),
+ ("Export EPUB (Reflowable)", "تصدير EPUB (قابل لإعادة التدفق)"),
+ ("Export HTML", "تصدير HTML"),
+ ("Export IDML", "تصدير IDML"),
+ ("Export PDF (Interactive)", "تصدير PDF (تفاعلي)"),
+ ("Export Page as PNG", "تصدير الصفحة كـ PNG"),
+ ("Export Text", "تصدير النص"),
+ ("Export XML", "تصدير XML"),
+ ("Figure Space", "مسافة رقمية"),
+ ("File/Export", "ملف/تصدير"),
+ ("Fill proportionally", "تعبئة متناسبة"),
+ ("Fit content to frame", "ملاءمة المحتوى للإطار"),
+ ("Fit proportionally", "ملاءمة متناسبة"),
+ ("Flush Space", "مسافة محاذاة"),
+ ("Forced Line Break", "فاصل سطر قسري"),
+ ("Frame Break", "فاصل إطار"),
+ ("GREP", "GREP"),
+ ("Generate Index", "إنشاء الفهرس"),
+ ("Generate Live Caption", "إنشاء تسمية توضيحية حية"),
+ ("Global Light", "الإضاءة الشاملة"),
+ ("Graphic", "رسم"),
+ ("Hair Space", "مسافة شعرية"),
+ ("High Contrast", "تباين عالٍ"),
+ ("High Resolution", "دقة عالية"),
+ ("I, II, III, IV...", "أ، ب، ج، د..."),
+ ("Import XML", "استيراد XML"),
+ ("Indent to Here", "إزاحة بادئة إلى هنا"),
+ ("Ink Limit 300%", "حد الحبر 300%"),
+ ("Insert Anchored Object", "إدراج كائن مرسّى"),
+ ("Insert Cross-Reference", "إدراج مرجع متصالب"),
+ ("Insert Math Expression", "إدراج تعبير رياضي"),
+ ("Insert Pages", "إدراج صفحات"),
+ ("Insert field", "إدراج حقل"),
+ ("Internet Standard RGB (sRGB)", "RGB القياسي للإنترنت (sRGB)"),
+ ("Join the ArtCraft Discord", "انضم إلى ArtCraft على Discord"),
+ ("Layout/Index", "تخطيط/الفهرس"),
+ ("Layout/Pages", "تخطيط/الصفحات"),
+ ("Legacy Macintosh RGB", "RGB ماكينتوش القديم"),
+ ("Light", "فاتح"),
+ ("Limit", "حد"),
+ ("Link images", "ربط الصور"),
+ ("Load DTD", "تحميل DTD"),
+ ("Load Swatches", "تحميل العينات"),
+ ("Low Resolution", "دقة منخفضة"),
+ ("Magenta", "أرجواني"),
+ ("Margins and Columns", "الهوامش والأعمدة"),
+ ("Margins:", "الهوامش:"),
+ ("Medium Dark", "داكن متوسط"),
+ ("Medium Light", "فاتح متوسط"),
+ ("Medium Resolution", "دقة متوسطة"),
+ ("Menus", "القوائم"),
+ ("Merge options", "خيارات الدمج"),
+ ("Monitor RGB", "RGB الشاشة"),
+ ("Move Pages", "نقل الصفحات"),
+ ("Multiple records", "سجلات متعددة"),
+ ("New Condition", "شرط جديد"),
+ ("New Hyperlink", "ارتباط تشعبي جديد"),
+ ("New Hyperlink Destination", "وجهة ارتباط تشعبي جديدة"),
+ ("New Page Reference", "مرجع صفحة جديد"),
+ ("New Parent", "أصل جديد"),
+ ("New Stroke Style", "نمط حد جديد"),
+ ("Next", "التالي"),
+ ("Next Page Number", "رقم الصفحة التالية"),
+ ("No data source", "لا مصدر بيانات"),
+ ("Nonbreaking Hyphen", "واصلة غير فاصلة"),
+ ("Nonbreaking Space", "مسافة غير فاصلة"),
+ ("None (keep transparency)", "بلا (الإبقاء على الشفافية)"),
+ ("Numbering & Section Options", "خيارات الترقيم والمقاطع"),
+ ("Object/Anchored Object", "كائن/كائن مرسّى"),
+ ("Object/Arrange", "كائن/ترتيب"),
+ ("Object/Captions", "كائن/التسميات التوضيحية"),
+ ("Object/Clipping Path", "كائن/مسار الاقتصاص"),
+ ("Object/Content", "كائن/محتوى"),
+ ("Object/Convert Shape", "كائن/تحويل الشكل"),
+ ("Object/Effects", "كائن/تأثيرات"),
+ ("Object/Fitting", "كائن/ملاءمة"),
+ ("Object/Pathfinder", "كائن/باحث المسارات"),
+ ("Object/Paths", "كائن/مسارات"),
+ ("Object/Select", "كائن/تحديد"),
+ ("Object/Transform", "كائن/تحويل"),
+ ("Object/Transform Again", "كائن/تحويل مجدداً"),
+ ("One record", "سجل واحد"),
- ("Open Path", "مسار مفتوح"),
+ ("Package", "تجميع"),
+ ("Page Break", "فاصل صفحات"),
+ ("Paragraph Return", "محرف نهاية الفقرة"),
+ ("Paragraph Symbol", "رمز الفقرة"),
+ ("Pass csv, rows, or bytes from the control channel.", "مرّر csv أو rows أو bytes عبر قناة التحكم."),
+ ("Picas", "بيكا"),
+ ("Place with Import Options", "وضع مع خيارات الاستيراد"),
+ ("Preflight", "الفحص المسبق"),
+ ("Previous", "السابق"),
+ ("Previous Page Number", "رقم الصفحة السابقة"),
+ ("Print Booklet", "طباعة كتيّب"),
+ ("Punctuation Space", "مسافة ترقيم"),
+ ("Quarter Space", "مسافة ربعية"),
+ ("Quick Apply", "تطبيق سريع"),
+ ("RGB:", "RGB:"),
+ ("Range", "نطاق"),
+ ("Record", "سجل"),
+ ("Records per page", "سجلات في الصفحة"),
+ ("Registered Trademark Symbol", "رمز العلامة التجارية المسجلة"),
+ ("Relink", "إعادة ربط"),
+ ("Relink to Folder", "إعادة ربط إلى مجلد"),
+ ("Report an Issue", "الإبلاغ عن مشكلة"),
+ ("Right Indent Tab", "جدولة مسافة بادئة يمنى"),
+ ("Row spacing", "تباعد الصفوف"),
+ ("Rows first", "الصفوف أولاً"),
+ ("Save As", "حفظ باسم"),
+ ("Save Swatches for Exchange", "حفظ العينات للتبادل"),
+ ("Save a Copy", "حفظ نسخة"),
+ ("Scripts", "البرمجيات النصية"),
+ ("Section Marker", "علامة المقطع"),
+ ("Section Symbol", "رمز المقطع"),
+ ("Select Data Source…", "تحديد مصدر بيانات…"),
+ ("Sentence case", "حالة الجملة"),
+ ("Simulate Paper Color", "محاكاة لون الورق"),
+ ("Single Left Quotation Mark", "علامة اقتباس يسرى مفردة"),
+ ("Single Right Quotation Mark", "علامة اقتباس يمنى مفردة"),
+ ("Single record", "سجل مفرد"),
+ ("Sixth Space", "مسافة سدسية"),
+ ("Slug:", "الشريط:"),
+ ("Smart Guide Options", "خيارات الأدلة الذكية"),
+ ("Step and Repeat", "خطوة وتكرار"),
+ ("Story Column Direction", "اتجاه أعمدة التنسيق"),
+ ("Straight Double Quotation Marks", "علامتا اقتباس مستقيمتان مزدوجتان"),
+ ("Straight Single Quotation Mark (Apostrophe)", "علامة اقتباس مستقيمة مفردة (فاصلة عليا)"),
+ ("Subscript:", "رمز سفلي:"),
+ ("Superscript:", "رمز علوي:"),
+ ("Tab", "جدولة"),
+ ("Table of Contents", "جدول المحتويات"),
+ ("Table/Convert Cell Type", "جدول/تحويل نوع الخلية"),
+ ("Table/Delete", "جدول/حذف"),
+ ("Table/Insert", "جدول/إدراج"),
+ ("Table/Select", "جدول/تحديد"),
+ ("Thin Space", "مسافة رفيعة"),
+ ("Third Space", "مسافة ثلثية"),
+ ("Title Case", "حالة العنوان"),
+ ("Trademark Symbol", "رمز العلامة التجارية"),
+ ("Transform Again Individually", "تحويل مجدداً بشكل فردي"),
+ ("Transform Sequence Again", "تحويل التسلسل مجدداً"),
+ ("Transform Sequence Again Individually", "تحويل التسلسل مجدداً بشكل فردي"),
+ ("Type on a Path Options", "خيارات النص على مسار"),
+ ("Type/Bulleted and Numbered Lists", "نص/القوائم النقطية والمرقمة"),
+ ("Type/Change Case", "نص/تغيير الحالة"),
+ ("Type/Hyperlinks & Cross-References", "نص/الارتباطات التشعبية والمراجع المتصالبة"),
+ ("Type/Insert Break Character", "نص/إدراج محرف فاصل"),
+ ("Type/Insert Special Character/Hyphens and Dashes", "نص/إدراج محرف خاص/الواصلات والشرطات"),
+ ("Type/Insert Special Character/Markers", "نص/إدراج محرف خاص/العلامات"),
+ ("Type/Insert Special Character/Other", "نص/إدراج محرف خاص/أخرى"),
+ ("Type/Insert Special Character/Quotation Marks", "نص/إدراج محرف خاص/علامات الاقتباس"),
+ ("Type/Insert Special Character/Symbols", "نص/إدراج محرف خاص/الرموز"),
+ ("Type/Insert White Space", "نص/إدراج مسافة بيضاء"),
+ ("Type/Proof Setup", "نص/إعداد التدقيق"),
+ ("Type/Rotate Spread", "نص/تدوير النطاق"),
+ ("Type/Separations Preview", "نص/معاينة الفصل"),
+ ("Type/Story Direction", "نص/اتجاه التنسيق"),
+ ("Type/Text Variables", "نص/متغيرات النص"),
+ ("Type/Track Changes", "نص/تعقب التغييرات"),
+ ("Type/Type on a Path", "نص/النص على مسار"),
+ ("URL:", "URL:"),
+ ("Unassigned", "غير معيّن"),
+ ("View/Display Performance", "عرض/أداء العرض"),
+ ("View/Grids & Guides", "عرض/الشبكات والأدلة"),
+ ("Window/Arrange", "نافذة/ترتيب"),
+ ("Window/Interactive", "نافذة/تفاعلي"),
+ ("Window/Interface Color Theme", "نافذة/سمة ألوان الواجهة"),
+ ("Window/Output", "نافذة/الإخراج"),
+ ("Window/Panels", "نافذة/اللوحات"),
+ ("Window/Type & Tables", "نافذة/النص والجداول"),
+ ("Window/Utilities", "نافذة/الأدوات المساعدة"),
+ ("Working CMYK", "CMYK العامل"),
+ ("Yellow", "أصفر"),
+ ("a, b, c, d...", "أ، ب، ج، د..."),
+ ("i, ii, iii, iv...", "أ، ب، ج، د..."),
+ ("lowercase", "صغير"),
];
diff --cc crates/ui-egui/src/i18n/it.rs
index 7c0b5a655,2bcdf8dcf..5b5d2e768
--- a/crates/ui-egui/src/i18n/it.rs
+++ b/crates/ui-egui/src/i18n/it.rs
@@@ -28,44 -28,14 +28,52 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Taglia"),
("Copy", "Copia"),
("Paste", "Incolla"),
+ ("Bulleted & Numbered Lists", "Elenchi puntati e numerati"),
+ ("Current Page Number", "Numero di pagina corrente"),
+ ("Apply Color (,)", "Applica colore (,)"),
+ ("Apply Gradient (.)", "Applica sfumatura (.)"),
+ ("View Options", "Opzioni di visualizzazione"),
+ ("Frame Edges", "Bordi cornice"),
+ ("Hidden Characters", "Caratteri nascosti"),
+ ("Create Flex Layout", "Crea Layout Flex"),
+ ("Add to Flex Layout", "Aggiungi a Layout Flex"),
+ ("Convert to Flex Layout", "Converti in Layout Flex"),
+ ("Remove Flex Layout", "Rimuovi Layout Flex"),
+ ("Show Flex Controls", "Mostra controlli Flex"),
+ ("Flex Layout Options", "Opzioni Layout Flex"),
+ ("Reorder in Flex Layout", "Riordina nel Layout Flex"),
+ ("Flex Start", "Inizio Flex"),
+ ("Flex End", "Estremità Flex"),
+ ("Space Between", "Spazio tra"),
+ ("Space Around", "Spazio intorno"),
+ ("Space Evenly", "Disponi lo spazio in modo uniforme"),
+ ("Reverse Row", "Riga inversa"),
+ ("Reverse Column", "Colonna inversa"),
+ ("Wrap Content", "Disponi testo"),
+ ("Spacing", "Spaziatura"),
+ ("Horizontal Spacing", "Spaziatura orizzontale"),
+ ("Vertical Spacing", "Spaziatura verticale"),
+ ("Constrain proportions", "Vincola proporzioni"),
+ ("Auto", "Automatico"),
+ ("W:", "L:"),
+ ("H:", "A:"),
+ ("Number:", "Numero:"),
+ ("Gutter:", "Spaziatura:"),
+ ("Fit Guides to:", "Adatta guide a:"),
+ ("Top:", "Superiore:"),
+ ("Bottom:", "Inferiore:"),
+ ("Inside:", "Interno:"),
+ ("Outside:", "Esterno:"),
+ ("Left:", "Sinistra:"),
+ ("Right:", "Destra:"),
+ ("Paths:", "Tracciati:"),
+ ("Pathfinder:", "Elaborazione tracciati:"),
+ ("Convert Shape:", "Converti forma:"),
+ ("Convert Point:", "Converti punto:"),
+ ("Join Path", "Unisci tracciato"),
+ ("Open Path", "Apri tracciato"),
+ ("Plain", "Semplice"),
+ ("Symmetrical", "Simmetrico"),
("Reverse Path", "Inverti tracciato"),
("Set Anchor", "Imposta ancoraggio"),
("Clear", "Cancella"),
diff --cc crates/ui-egui/src/i18n/ja.rs
index 67c7d216b,3c9356254..c7d2d0d01
--- a/crates/ui-egui/src/i18n/ja.rs
+++ b/crates/ui-egui/src/i18n/ja.rs
@@@ -30,39 -30,13 +30,46 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "カット"),
("Copy", "コピー"),
("Paste", "ペースト"),
+ ("Bulleted & Numbered Lists", "箇条書き"),
+ ("Apply Color (,)", "カラーを適用 (,)"),
+ ("Apply Gradient (.)", "グラデーションを適用 (.)"),
+ ("View Options", "表示オプション"),
+ ("Frame Edges", "フレーム枠"),
+ ("Hidden Characters", "制御文字"),
+ ("Create Flex Layout", "フレックスレイアウトを作成"),
+ ("Add to Flex Layout", "フレックスレイアウトに追加"),
+ ("Convert to Flex Layout", "フレックスレイアウトに変換"),
+ ("Remove Flex Layout", "フレックスレイアウトを削除"),
+ ("Show Flex Controls", "フレックスコントロールを表示"),
+ ("Flex Layout Options", "フレックスレイアウトオプション"),
+ ("Reorder in Flex Layout", "フレックスレイアウト内で並べ替え"),
+ ("Flex Start", "フレックス開始"),
+ ("Flex End", "フレックス終了"),
+ ("Space Between", "間隔を均等"),
+ ("Space Around", "周囲に間隔"),
+ ("Space Evenly", "均等に配置"),
+ ("Reverse Row", "行(逆方向)"),
+ ("Reverse Column", "列(逆方向)"),
+ ("Wrap Content", "コンテンツを折り返す"),
+ ("Spacing", "間隔"),
+ ("Horizontal Spacing", "水平方向の間隔"),
+ ("Vertical Spacing", "垂直方向の間隔"),
+ ("Constrain proportions", "縦横比を固定"),
+ ("Auto", "自動"),
+ ("W:", "幅:"),
+ ("H:", "高さ:"),
+ ("Number:", "数:"),
+ ("Gutter:", "間隔:"),
+ ("Fit Guides to:", "ガイドの適用先:"),
+ ("Inside:", "ノド:"),
+ ("Outside:", "小口:"),
+ ("Paths:", "パス:"),
+ ("Pathfinder:", "パスファインダー:"),
+ ("Convert Shape:", "シェイプを変換:"),
+ ("Convert Point:", "ポイントを変換:"),
+ ("Join Path", "パスを連結"),
+ ("Plain", "プレーン"),
+ ("Symmetrical", "対称"),
("Reverse Path", "パスの方向反転"),
("Set Anchor", "アンカーポイントを設定"),
("Clear", "消去"),
diff --cc crates/ui-egui/src/i18n/pt_br.rs
index b4101cc46,1669426f4..71aaf1630
--- a/crates/ui-egui/src/i18n/pt_br.rs
+++ b/crates/ui-egui/src/i18n/pt_br.rs
@@@ -31,47 -31,16 +31,57 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Recortar"),
("Copy", "Copiar"),
("Paste", "Colar"),
+ ("Bulleted & Numbered Lists", "Listas com marcadores e numeradas"),
+ ("Show Hidden Characters", "Mostrar caracteres ocultos"),
+ ("Current Page Number", "Número da página atual"),
+ ("New Note", "Nova nota"),
+ ("Insert Endnote", "Inserir nota de fim"),
+ ("Apply Color (,)", "Aplicar cor (,)"),
+ ("Apply Gradient (.)", "Aplicar degradê (.)"),
+ ("View Options", "Opções de visualização"),
+ ("Frame Edges", "Bordas do quadro"),
+ ("Hidden Characters", "Caracteres ocultos"),
+ ("Create Flex Layout", "Criar layout flexível"),
+ ("Add to Flex Layout", "Adicionar ao layout flexível"),
+ ("Convert to Flex Layout", "Converter em layout flexível"),
+ ("Remove Flex Layout", "Remover layout flexível"),
+ ("Show Flex Controls", "Mostrar controles flexíveis"),
+ ("Flex Layout Options", "Opções de layout flexível"),
+ ("Reorder in Flex Layout", "Reordenar no layout flexível"),
+ ("Flex Start", "Início flexível"),
+ ("Flex End", "Fim flexível"),
+ ("Space Between", "Espaço entre"),
+ ("Space Around", "Espaço ao redor"),
+ ("Space Evenly", "Espaço uniforme"),
+ ("Reverse Row", "Linha invertida"),
+ ("Reverse Column", "Coluna invertida"),
+ ("Wrap Content", "Quebrar conteúdo"),
+ ("Spacing", "Espaçamento"),
+ ("Horizontal Spacing", "Espaçamento horizontal"),
+ ("Vertical Spacing", "Espaçamento vertical"),
+ ("Constrain proportions", "Restringir proporções"),
+ ("Auto", "Automático"),
+ ("W:", "L:"),
+ ("H:", "A:"),
+ ("Number:", "Número:"),
+ ("Gutter:", "Medianiz:"),
+ ("Fit Guides to:", "Ajustar guias a:"),
+ ("Top:", "Superior:"),
+ ("Bottom:", "Inferior:"),
+ ("Inside:", "Interna:"),
+ ("Outside:", "Externa:"),
+ ("Left:", "Esquerda:"),
+ ("Right:", "Direita:"),
+ ("Paths:", "Demarcadores:"),
+ ("Pathfinder:", "Pathfinder:"),
+ ("Convert Shape:", "Converter forma:"),
+ ("Convert Point:", "Converter ponto:"),
+ ("Join Path", "Unir demarcador"),
+ ("Open Path", "Abrir demarcador"),
+ ("Close Path", "Fechar demarcador"),
+ ("Plain", "Simples"),
+ ("Smooth", "Suave"),
+ ("Symmetrical", "Simétrico"),
("Reverse Path", "Inverter demarcador"),
("Set Anchor", "Definir ponto de ancoragem"),
("Clear", "Limpar"),
@@@ -1184,417 -1149,4 +1194,415 @@@
("Paragraph Rules…", "Linhas de parágrafo…"),
("Paragraph Rules", "Linhas de parágrafo"),
("Rule Below", "Linha abaixo"),
+ ("Can't Open the File", "Não foi possível abrir o arquivo"),
+ ("Can't Place the File", "Não foi possível inserir o arquivo"),
+ ("Story Direction", "Direção do texto"),
+ ("Tate-Chu-Yoko", "Tate-chu-yoko"),
+ ("Ruby…", "Ruby…"),
+ ("Kenten", "Kenten"),
+ ("Tabs", "Tabulações"),
+ ("Story", "Matéria"),
+ ("Create Outlines", "Criar contornos"),
+ ("Unmerge Cells", "Desfazer mesclagem de células"),
+ ("Snap to Guides", "Alinhar às guias"),
+ ("Snap to Document Grid", "Alinhar à grade do documento"),
+ ("Align to Object Edges", "Alinhar às bordas dos objetos"),
+ ("Align to Object Centers", "Alinhar aos centros dos objetos"),
+ ("Smart Dimensions", "Dimensões inteligentes"),
+ ("Smart Spacing", "Espaçamento inteligente"),
+ ("Snap to Zone", "Alinhar à zona"),
+ ("Info", "Informações"),
+ ("Index", "Índice remissivo"),
+ ("Articles", "Artigos"),
+ ("Tags", "Tags"),
+ ("Object States", "Estados do objeto"),
+ ("Liquid Layout", "Layout líquido"),
+ ("Split Window", "Dividir janela"),
+ ("New Window", "Nova janela"),
+ ("CMYK", "CMYK"),
+ ("Lab", "Lab"),
+ ("OpenType", "OpenType"),
+ ("RGB", "RGB"),
+ ("Accept All Changes", "Aceitar todas as alterações"),
+ ("Activate Document", "Ativar documento"),
+ ("Add Anchor Point", "Adicionar ponto de ancoragem"),
+ ("Add Document", "Adicionar documento"),
+ ("Add Hyphenation Exception", "Adicionar exceção de hifenização"),
+ ("Add Item", "Adicionar item"),
+ ("Add Page to Spread", "Adicionar página ao spread"),
+ ("Anchored Object Options…", "Opções de objeto ancorado…"),
+ ("Anchored Objects", "Objetos ancorados"),
+ ("Apply Attributes (Eyedropper)", "Aplicar atributos (conta-gotas)"),
+ ("Apply Cell Style", "Aplicar estilo de célula"),
+ ("Apply Condition", "Aplicar condição"),
+ ("Apply Parent to Pages…", "Aplicar página-mestre às páginas…"),
+ ("ArtCraft App Page…", "Página do aplicativo ArtCraft…"),
+ ("ArtCraft Website…", "Site do ArtCraft…"),
+ ("Attributes", "Atributos"),
+ ("Bevel and Emboss", "Chanfro e relevo"),
+ ("Buttons", "Botões"),
+ ("Cell Style Options…", "Opções de estilo de célula…"),
+ ("Change All (Object)", "Alterar tudo (objeto)"),
+ ("Changes", "Alterações"),
+ ("Character Formatting", "Formatação de caracteres"),
+ ("Clear Conveyor", "Limpar transportador"),
+ ("Clear Transformations", "Limpar transformações"),
+ ("Clipping Path…", "Traçado de recorte…"),
+ ("Close Book", "Fechar livro"),
+ ("Close Library", "Fechar biblioteca"),
+ ("Collect", "Coletar"),
+ ("Color Settings…", "Configurações de cor…"),
+ ("Community & Project Links", "Links da comunidade e do projeto"),
+ ("Container", "Contêiner"),
+ ("Content", "Conteúdo"),
+ ("Contextual Task Bar", "Barra de tarefas contextual"),
+ ("Control", "Controle"),
+ ("Convert Cell to Graphic Cell", "Converter célula em célula gráfica"),
+ ("Convert Cell to Graphic Cell…", "Converter célula em célula gráfica…"),
+ ("Convert Cell to Text Cell", "Converter célula em célula de texto"),
+ ("Convert Color", "Converter cor"),
+ ("Convert Direction Point", "Converter ponto de direção"),
+ ("Convert Note to Text", "Converter nota em texto"),
+ ("Convert Table to Text", "Converter tabela em texto"),
+ ("Convert Text to Table", "Converter texto em tabela"),
+ ("Convert to Button", "Converter em botão"),
+ ("Convert to Form Field", "Converter em campo de formulário"),
+ ("Copy Link(s) To…", "Copiar link(s) para…"),
+ ("Corner Options…", "Opções de canto…"),
+ ("Create Frame", "Criar quadro"),
+ ("Create Merged Document…", "Criar documento mesclado…"),
+ ("Cross-Reference Formats", "Formatos de referência cruzada"),
+ ("Cross-References", "Referências cruzadas"),
+ ("Data Merge Fields", "Campos de mesclagem de dados"),
+ ("Define Cross-Reference Format…", "Definir formato de referência cruzada…"),
+ ("Define Lists…", "Definir listas…"),
+ ("Define Text Variable…", "Definir variável de texto…"),
+ ("Delete All Guides on Spread", "Excluir todas as guias do spread"),
+ ("Delete Anchor Point", "Excluir ponto de ancoragem"),
+ ("Delete Item", "Excluir item"),
+ ("Delete Text Variable", "Excluir variável de texto"),
+ ("Delete Workspace…", "Excluir espaço de trabalho…"),
+ ("DesignCraft Website…", "Site do DesignCraft…"),
+ ("DesignCraft on GitHub…", "DesignCraft no GitHub…"),
+ ("Directional Feather", "Esmaecimento direcional"),
+ ("Distribute", "Distribuir"),
+ ("Dock Panel", "Encaixar painel"),
+ ("Document Endnote Options…", "Opções de notas de fim do documento…"),
+ ("Document Preferences", "Preferências do documento"),
+ ("Document Presets", "Predefinições de documento"),
+ ("Document…", "Documento…"),
+ ("Edit Parents", "Editar páginas-mestre"),
+ ("Edit Story", "Editar matéria"),
+ ("Endnotes", "Notas de fim"),
+ ("Entire Pasteboard", "Toda a mesa de trabalho"),
+ ("Erase", "Apagar"),
+ ("Export Book to PDF…", "Exportar livro para PDF…"),
+ ("Export EPUB (Reflowable)…", "Exportar EPUB (reflowable)…"),
+ ("Export Selection as Snippet", "Exportar seleção como snippet"),
+ ("Extend Text Selection", "Estender seleção de texto"),
+ ("Fast Display", "Exibição rápida"),
+ ("Find Object", "Localizar objeto"),
+ ("Find by Script Label", "Localizar por rótulo de script"),
+ ("First Object Above", "Primeiro objeto acima"),
+ ("Fit Selection in Window", "Ajustar seleção à janela"),
+ ("Flattener Preview", "Visualização do achatamento"),
+ ("Float Panel", "Flutuar painel"),
+ ("Fonts in Document", "Fontes no documento"),
+ ("Form Fields", "Campos de formulário"),
+ ("Frame Fitting Options…", "Opções de ajuste de quadro…"),
+ ("Generate Index…", "Gerar índice remissivo…"),
+ ("Generate QR Code…", "Gerar código QR…"),
+ ("Generate Static Caption", "Gerar legenda estática"),
+ ("Get Story", "Obter matéria"),
+ ("Get Table", "Obter tabela"),
+ ("Global Light…", "Luz global…"),
+ ("Go To Link", "Ir para o link"),
+ ("Go To Source", "Ir para a origem"),
+ ("Gradient Feather", "Esmaecimento em gradiente"),
+ ("Gridify", "Converter em grade"),
+ ("Group Transparency", "Transparência do grupo"),
+ ("Hide Menu Item", "Ocultar item de menu"),
+ ("Hide/Lock Others", "Ocultar/bloquear outros"),
+ ("High Quality Display", "Exibição em alta qualidade"),
+ ("History", "Histórico"),
+ ("Import Options: Styles", "Opções de importação: estilos"),
+ ("Index Page References", "Referências de página do índice remissivo"),
+ ("Inner Glow", "Brilho interno"),
+ ("Inner Shadow", "Sombra interna"),
+ ("Insert Anchored Object…", "Inserir objeto ancorado…"),
+ ("Insert Cross-Reference…", "Inserir referência cruzada…"),
+ ("Insert Math Expression…", "Inserir expressão matemática…"),
+ ("Insert Variable", "Inserir variável"),
+ ("Inspect Document", "Inspecionar documento"),
+ ("Interface Color Theme", "Tema de cores da interface"),
+ ("Join the ArtCraft Discord…", "Entrar no Discord do ArtCraft…"),
+ ("Last Object Below", "Último objeto abaixo"),
+ ("Library Contents", "Conteúdo da biblioteca"),
+ ("Library Items", "Itens da biblioteca"),
+ ("Liquid Page Rule", "Regra de página líquida"),
+ ("List Documents", "Listar documentos"),
+ ("List Styles", "Listar estilos"),
+ ("List Tools", "Listar ferramentas"),
+ ("Load Place Cursor", "Carregar cursor de inserção"),
+ ("Make Compound Path", "Criar traçado composto"),
+ ("Map Styles to Tags", "Mapear estilos para tags"),
+ ("Math Expression SVG", "SVG de expressão matemática"),
+ ("Media Options", "Opções de mídia"),
+ ("Menus…", "Menus…"),
+ ("Merge Layers", "Mesclar camadas"),
+ ("Move Caret", "Mover cursor de texto"),
+ ("Move Gap", "Mover espaço"),
+ ("Move Row", "Mover linha"),
+ ("New Book", "Novo livro"),
+ ("New Cell Style…", "Novo estilo de célula…"),
+ ("New Color Swatch…", "Nova amostra de cor…"),
+ ("New Condition…", "Nova condição…"),
+ ("New Guide", "Nova guia"),
+ ("New Hyperlink Destination…", "Novo destino de hiperlink…"),
+ ("New Hyperlink…", "Novo hiperlink…"),
+ ("New Library", "Nova biblioteca"),
+ ("New Page Reference…", "Nova referência de página…"),
+ ("New Stroke Style…", "Novo estilo de traço…"),
+ ("New Table Style…", "Novo estilo de tabela…"),
+ ("Next Cell", "Próxima célula"),
+ ("Next Document", "Próximo documento"),
+ ("Next Object Above", "Próximo objeto acima"),
+ ("Next Object Below", "Próximo objeto abaixo"),
+ ("Next Object in Group", "Próximo objeto no grupo"),
+ ("Object Export Options", "Opções de exportação de objeto"),
+ ("Object Export Options…", "Opções de exportação de objeto…"),
+ ("Object Layer Options…", "Opções de camada de objeto…"),
+ ("Object Layers", "Camadas de objeto"),
+ ("Object Liquid Settings", "Configurações líquidas do objeto"),
+ ("Open Book", "Abrir livro"),
+ ("Open Bytes", "Abrir bytes"),
+ ("Open IDML", "Abrir IDML"),
+ ("Open Library", "Abrir biblioteca"),
+ ("Outer Glow", "Brilho externo"),
+ ("Overprint Preview", "Visualização de sobreimpressão"),
+ ("Page Transition", "Transição de página"),
+ ("Page Transitions", "Transições de página"),
+ ("Paragraph Formatting", "Formatação de parágrafo"),
+ ("Paste Into", "Colar dentro"),
+ ("Paste without Formatting", "Colar sem formatação"),
+ ("Place Caret", "Posicionar cursor de texto"),
+ ("Place Item", "Inserir item"),
+ ("Place Snippet", "Inserir snippet"),
+ ("Place and Link", "Inserir e vincular"),
+ ("Polygon Settings…", "Configurações de polígono…"),
+ ("Preflight Document", "Verificar documento (preflight)"),
+ ("Previous Cell", "Célula anterior"),
+ ("Previous Document", "Documento anterior"),
+ ("Previous Object in Group", "Objeto anterior no grupo"),
+ ("Printers", "Impressoras"),
+ ("Proof Colors", "Cores de prova"),
+ ("Proof Setup", "Configuração de prova"),
+ ("Quick Apply…", "Aplicação rápida…"),
+ ("Recover Documents", "Recuperar documentos"),
+ ("Recovery Data", "Dados de recuperação"),
+ ("Reject All Changes", "Rejeitar todas as alterações"),
+ ("Release Compound Path", "Liberar traçado composto"),
+ ("Remove Document", "Remover documento"),
+ ("Report an Issue…", "Relatar um problema…"),
+ ("Reset Shortcuts", "Redefinir atalhos"),
+ ("Reset Workspace", "Redefinir espaço de trabalho"),
+ ("Resize", "Redimensionar"),
+ ("Rotate Spread", "Girar spread"),
+ ("Run Script", "Executar script"),
+ ("Sample Document", "Documento de exemplo"),
+ ("Satin", "Cetim"),
+ ("Save Recovery Data", "Salvar dados de recuperação"),
+ ("Script Label", "Rótulo de script"),
+ ("Select All on Layer", "Selecionar tudo na camada"),
+ ("Select Cells", "Selecionar células"),
+ ("Select Column", "Selecionar coluna"),
+ ("Select Frame", "Selecionar quadro"),
+ ("Select Row", "Selecionar linha"),
+ ("Select Table", "Selecionar tabela"),
+ ("Select Text", "Selecionar texto"),
+ ("Select Tool", "Selecionar ferramenta"),
+ ("Select Word", "Selecionar palavra"),
+ ("Selection Attributes", "Atributos da seleção"),
+ ("Separations Preview", "Visualização de separações"),
+ ("Serialize", "Serializar"),
+ ("Set Active Layer", "Definir camada ativa"),
+ ("Set Shortcut", "Definir atalho"),
+ ("Set Visibility / Lock", "Definir visibilidade / bloqueio"),
+ ("Show Panel", "Mostrar painel"),
+ ("Show/Hide Baseline Grid", "Mostrar/ocultar grade de linha de base"),
+ ("Show/Hide Frame Edges", "Mostrar/ocultar bordas dos quadros"),
+ ("Show/Hide Guides", "Mostrar/ocultar guias"),
+ ("Show/Hide Hidden Characters", "Mostrar/ocultar caracteres ocultos"),
+ ("Show/Hide Panels", "Mostrar/ocultar painéis"),
+ ("Show/Hide Panels Except Tools", "Mostrar/ocultar painéis, exceto ferramentas"),
+ ("Show/Hide Rulers", "Mostrar/ocultar réguas"),
+ ("Show/Hide Tagged Frames", "Mostrar/ocultar quadros marcados"),
+ ("Show/Hide Text Threads", "Mostrar/ocultar encadeamentos de texto"),
- ("Smooth", "Suavizar"),
+ ("Sort", "Ordenar"),
+ ("Split Path", "Dividir traçado"),
+ ("Step and Repeat…", "Passo e repetição…"),
+ ("Stroke Styles", "Estilos de traço"),
+ ("Style Source", "Origem do estilo"),
+ ("Synchronize Book", "Sincronizar livro"),
+ ("Table Panel", "Painel Tabela"),
+ ("Table Style Options…", "Opções de estilo de tabela…"),
+ ("Table of Contents Entries", "Entradas do sumário"),
+ ("Table of Contents…", "Sumário…"),
+ ("Text Anchors", "Âncoras de texto"),
+ ("Text Variables", "Variáveis de texto"),
+ ("Toggle Normal/Preview", "Alternar entre normal e visualização"),
+ ("Toggle Selection", "Alternar seleção"),
+ ("Tools: Double Column", "Ferramentas: coluna dupla"),
+ ("Transform Panel", "Painel Transformar"),
+ ("Transform Values", "Valores de transformação"),
+ ("Transparency Blend Space", "Espaço de mesclagem de transparência"),
+ ("Transparency Flattener Presets", "Predefinições de achatamento de transparência"),
+ ("Type on a Path", "Texto em um traçado"),
+ ("Type on a Path Options…", "Opções de texto em um traçado…"),
+ ("Typical Display", "Exibição típica"),
+ ("Update Link", "Atualizar link"),
+ ("User Dictionary Words", "Palavras do dicionário do usuário"),
+ ("User Dictionary…", "Dicionário do usuário…"),
+ ("Zoom To", "Zoom para"),
+ ("⇧", "⇧"),
+ ("⌃", "⌃"),
+ ("⌘", "⌘"),
+ ("⌥", "⌥"),
+ ("Accept Change", "Aceitar alteração"),
+ ("Add Anchor", "Adicionar âncora"),
+ ("Add Selection to Article", "Adicionar seleção ao artigo"),
+ ("Add Unnamed Colors", "Adicionar cores sem nome"),
+ ("Add to Dictionary", "Adicionar ao dicionário"),
+ ("Align Center", "Alinhar ao centro"),
+ ("Align Left", "Alinhar à esquerda"),
+ ("Align Right", "Alinhar à direita"),
+ ("Apply Character Style", "Aplicar estilo de caractere"),
+ ("Apply Object Style", "Aplicar estilo de objeto"),
+ ("Apply Paragraph Style", "Aplicar estilo de parágrafo"),
+ ("Apply Table Style", "Aplicar estilo de tabela"),
+ ("Article Options", "Opções de artigo"),
+ ("Basic Feather", "Esmaecimento básico"),
+ ("Bold", "Negrito"),
+ ("Character Style Options…", "Opções de estilo de caractere…"),
- ("Close Path", "Fechar traçado"),
+ ("Color Group Options", "Opções de grupo de cores"),
+ ("Condition Options…", "Opções de condição…"),
+ ("Convert to Liquid Guide", "Converter em guia líquida"),
+ ("Convert to Object", "Converter em objeto"),
+ ("Create Line", "Criar linha"),
+ ("Create Path", "Criar traçado"),
+ ("Decrease Point Size", "Diminuir tamanho em pontos"),
+ ("Delete Article", "Excluir artigo"),
+ ("Delete Bookmark", "Excluir marcador"),
+ ("Delete Endnote", "Excluir nota de fim"),
+ ("Delete Footnote", "Excluir nota de rodapé"),
+ ("Delete Guide", "Excluir guia"),
+ ("Delete Hyperlink", "Excluir hiperlink"),
+ ("Delete List", "Excluir lista"),
+ ("Delete Note", "Excluir nota"),
+ ("Delete Pages", "Excluir páginas"),
+ ("Delete Paragraph Style", "Excluir estilo de parágrafo"),
+ ("Delete Stroke Style", "Excluir estilo de traço"),
+ ("Delete Table", "Excluir tabela"),
+ ("Delete Tag", "Excluir tag"),
+ ("Delete Text", "Excluir texto"),
+ ("Distribute Columns Evenly", "Distribuir colunas uniformemente"),
+ ("Edit Endnote", "Editar nota de fim"),
+ ("Edit Note", "Editar nota"),
+ ("Embed Link", "Incorporar link"),
+ ("Flip", "Inverter"),
+ ("Hyperlink Options…", "Opções de hiperlink…"),
+ ("Increase Point Size", "Aumentar tamanho em pontos"),
+ ("Insert Column Left", "Inserir coluna à esquerda"),
+ ("Insert Column Right", "Inserir coluna à direita"),
+ ("Insert Row Above", "Inserir linha acima"),
+ ("Insert Row Below", "Inserir linha abaixo"),
+ ("Italic", "Itálico"),
+ ("Justify Left", "Justificar à esquerda"),
+ ("Layer Options…", "Opções de camada…"),
+ ("Move Anchors", "Mover âncoras"),
+ ("Move Column", "Mover coluna"),
+ ("Move Guide", "Mover guia"),
+ ("Move Layer", "Mover camada"),
+ ("Move to Layer", "Mover para a camada"),
+ ("New Article", "Novo artigo"),
+ ("New Bookmark", "Novo marcador"),
+ ("New Layer…", "Nova camada…"),
+ ("New Object Style…", "Novo estilo de objeto…"),
+ ("New Tag", "Nova tag"),
+ ("Paste in Place", "Colar no mesmo lugar"),
+ ("Place Loaded Graphic", "Inserir gráfico carregado"),
+ ("Reject Change", "Rejeitar alteração"),
+ ("Release State to Objects", "Liberar estado para objetos"),
+ ("Remove Hyphenation Exception", "Remover exceção de hifenização"),
+ ("Remove from Article", "Remover do artigo"),
+ ("Rename", "Renomear"),
+ ("Rename Bookmark", "Renomear marcador"),
+ ("Rotate", "Girar"),
+ ("Scale", "Escalar"),
+ ("Set Cross-Reference Format", "Definir formato de referência cruzada"),
+ ("Set Footnote Text", "Definir texto da nota de rodapé"),
+ ("Set Story Text", "Definir texto da matéria"),
+ ("Shear", "Distorcer"),
+ ("Show All on Spread", "Mostrar tudo no spread"),
+ ("Show State", "Mostrar estado"),
+ ("State Options", "Opções de estado"),
+ ("Tag Frame", "Marcar quadro"),
+ ("Tag Text", "Marcar texto"),
+ ("Unlink", "Desvincular"),
+ ("Update Index", "Atualizar índice remissivo"),
+ ("Update Table of Contents", "Atualizar sumário"),
+ ("Bulleted and Numbered Lists", "Listas com marcadores e numeradas"),
+ ("Hyperlinks Cross-References", "Hiperlinks e referências cruzadas"),
+ ("Document Footnote Options...", "Opções de notas de rodapé do documento..."),
+ ("Anchored Object", "Objeto ancorado"),
+ ("Apply Attributes (Eyedropper", "Aplicar atributos (conta-gotas"),
+ ("Captions", "Legendas"),
+ ("Change All (Object", "Alterar tudo (objeto"),
+ ("Clipping Path", "Traçado de recorte"),
+ ("Convert Cell Type", "Converter tipo de célula"),
+ ("Copy Link(s", "Copiar link(s"),
+ ("DesignCraft", "DesignCraft"),
+ ("Export EPUB (Fixed Layout", "Exportar EPUB (layout fixo"),
+ ("Export EPUB (Reflowable", "Exportar EPUB (reflowable"),
+ ("Hyperlinks & Cross-References", "Hiperlinks e referências cruzadas"),
+ ("Hyphens and Dashes", "Hifens e travessões"),
+ ("Markers", "Marcadores"),
+ ("Other", "Outros"),
+ ("Output", "Saída"),
+ ("Quotation Marks", "Aspas"),
+ ("Symbols", "Símbolos"),
+ ("Type & Tables", "Texto e tabelas"),
+ ("Utilities", "Utilitários"),
+ ("Korean Line Breaks:", "Quebras de linha em coreano:"),
+ ("Between syllables (not only at spaces)", "Entre sílabas (não apenas nos espaços)"),
+ ("Show Font Names in English", "Mostrar nomes de fontes em inglês"),
+ ("Missing Glyphs", "Glifos ausentes"),
+ ("Draw Missing Glyphs from Fallback Fonts", "Desenhar glifos ausentes com fontes substitutas"),
+ ("No data source", "Nenhuma fonte de dados"),
+ ("Select Data Source…", "Selecionar fonte de dados…"),
+ ("Data Merge", "Mesclagem de dados"),
+ ("Previous", "Anterior"),
+ ("Next", "Próximo"),
+ ("Record", "Registro"),
+ ("Merge options", "Opções de mesclagem"),
+ ("All records", "Todos os registros"),
+ ("One record", "Um registro"),
+ ("Range", "Intervalo"),
+ ("Records per page", "Registros por página"),
+ ("Single record", "Registro único"),
+ ("Multiple records", "Vários registros"),
+ ("Rows first", "Linhas primeiro"),
+ ("Columns first", "Colunas primeiro"),
+ ("Column spacing", "Espaçamento entre colunas"),
+ ("Row spacing", "Espaçamento entre linhas"),
+ ("Fit proportionally", "Ajustar proporcionalmente"),
+ ("Fill proportionally", "Preencher proporcionalmente"),
+ ("Fit content to frame", "Ajustar conteúdo ao quadro"),
+ ("Center in frame", "Centralizar no quadro"),
+ ("Link images", "Vincular imagens"),
+ ("Limit", "Limite"),
+ ("Bind to frame", "Vincular ao quadro"),
+ ("Insert field", "Inserir campo"),
+ ("Pass csv, rows, or bytes from the control channel.", "Passe csv, linhas ou bytes pelo canal de controle."),
+ ("Panels", "Painéis"),
];
diff --cc crates/ui-egui/src/i18n/uk.rs
index cc6feb87d,1552c27d6..dd9b1787e
--- a/crates/ui-egui/src/i18n/uk.rs
+++ b/crates/ui-egui/src/i18n/uk.rs
@@@ -31,44 -31,14 +31,52 @@@ pub(super) const TABLE: &[(&str, &str)
("Cut", "Вирізати"),
("Copy", "Копіювати"),
("Paste", "Вставити"),
+ ("Bulleted & Numbered Lists", "Марковані й нумеровані списки"),
+ ("Current Page Number", "Номер поточної сторінки"),
+ ("Apply Color (,)", "Застосувати колір (,)"),
+ ("Apply Gradient (.)", "Застосувати градієнт (.)"),
+ ("View Options", "Параметри перегляду"),
+ ("Frame Edges", "Краї фреймів"),
+ ("Hidden Characters", "Приховані символи"),
+ ("Create Flex Layout", "Створити гнучкий макет"),
+ ("Add to Flex Layout", "Додати до гнучкого макета"),
+ ("Convert to Flex Layout", "Перетворити на гнучкий макет"),
+ ("Remove Flex Layout", "Прибрати гнучкий макет"),
+ ("Show Flex Controls", "Показати елементи гнучкого макета"),
+ ("Flex Layout Options", "Параметри гнучкого макета"),
+ ("Reorder in Flex Layout", "Змінити порядок у гнучкому макеті"),
+ ("Flex Start", "Початок"),
+ ("Flex End", "Кінець"),
+ ("Space Between", "Простір між"),
+ ("Space Around", "Простір навколо"),
+ ("Space Evenly", "Рівномірно"),
+ ("Reverse Row", "Рядок у зворотному порядку"),
+ ("Reverse Column", "Стовпець у зворотному порядку"),
+ ("Wrap Content", "Переносити вміст"),
+ ("Spacing", "Відступи"),
+ ("Horizontal Spacing", "Горизонтальний відступ"),
+ ("Vertical Spacing", "Вертикальний відступ"),
+ ("Constrain proportions", "Зберігати пропорції"),
+ ("Auto", "Авто"),
+ ("W:", "Ш:"),
+ ("H:", "В:"),
+ ("Number:", "Кількість:"),
+ ("Gutter:", "Проміжок:"),
+ ("Fit Guides to:", "Узгодити напрямні з:"),
+ ("Top:", "Верх:"),
+ ("Bottom:", "Низ:"),
+ ("Inside:", "Внутрішнє:"),
+ ("Outside:", "Зовнішнє:"),
+ ("Left:", "Ліворуч:"),
+ ("Right:", "Праворуч:"),
+ ("Paths:", "Контури:"),
+ ("Pathfinder:", "Обробка контурів:"),
+ ("Convert Shape:", "Перетворити фігуру:"),
+ ("Convert Point:", "Перетворити точку:"),
+ ("Join Path", "Об’єднати контур"),
+ ("Open Path", "Розімкнути контур"),
+ ("Plain", "Простий"),
+ ("Symmetrical", "Симетричний"),
("Reverse Path", "Розвернути контур"),
("Set Anchor", "Задати прив’язку"),
("Clear", "Очистити"),
diff --cc crates/ui-egui/src/icons.rs
index 37a7434c2,9da72e6e5..d123f89d3
--- a/crates/ui-egui/src/icons.rs
+++ b/crates/ui-egui/src/icons.rs
@@@ -564,56 -550,94 +564,144 @@@ pub fn paint(p: &Painter, r: Rect, name
}
}
}
+ // Flex Layout panel (original drawings): direction arrows, wrap, justification, spacing.
+ "flex-right" | "flex-left" | "flex-down" | "flex-up" => {
+ let pts: [(f32, f32); 5] = match name {
+ "flex-right" => [(3.0, 10.0), (16.0, 10.0), (11.5, 6.0), (16.0, 10.0), (11.5, 14.0)],
+ "flex-left" => [(17.0, 10.0), (4.0, 10.0), (8.5, 6.0), (4.0, 10.0), (8.5, 14.0)],
+ "flex-down" => [(10.0, 3.0), (10.0, 16.0), (6.0, 11.5), (10.0, 16.0), (14.0, 11.5)],
+ _ => [(10.0, 17.0), (10.0, 4.0), (6.0, 8.5), (10.0, 4.0), (14.0, 8.5)],
+ };
+ pen.line(&pts[..2]);
+ pen.line(&pts[2..]);
+ }
+ "flex-wrap" => {
+ pen.line(&[(16.0, 4.0), (16.0, 12.0), (5.0, 12.0)]);
+ pen.line(&[(8.5, 8.5), (5.0, 12.0), (8.5, 15.5)]);
+ }
+ "flex-start" | "flex-center" | "flex-end" | "flex-between" | "flex-around" | "flex-evenly" => {
+ // Three bars in a box, where the justification puts them.
+ pen.rect(1.5, 6.0, 18.5, 14.0);
+ let xs: [f32; 3] = match name {
+ "flex-start" => [3.0, 6.0, 9.0],
+ "flex-center" => [6.5, 9.5, 12.5],
+ "flex-end" => [10.0, 13.0, 16.0],
+ "flex-between" => [3.0, 9.5, 16.0],
+ "flex-around" => [4.5, 9.5, 14.5],
+ _ => [5.0, 9.5, 14.0],
+ };
+ for x in xs {
+ pen.frect(x, 7.5, x + 1.8, 12.5);
+ }
+ }
+ "gap-h" => {
+ pen.line(&[(3.0, 4.0), (3.0, 16.0)]);
+ pen.line(&[(17.0, 4.0), (17.0, 16.0)]);
+ pen.line(&[(5.5, 10.0), (14.5, 10.0)]);
+ pen.line(&[(8.0, 7.5), (5.5, 10.0), (8.0, 12.5)]);
+ pen.line(&[(12.0, 7.5), (14.5, 10.0), (12.0, 12.5)]);
+ }
+ "gap-v" => {
+ pen.line(&[(4.0, 3.0), (16.0, 3.0)]);
+ pen.line(&[(4.0, 17.0), (16.0, 17.0)]);
+ pen.line(&[(10.0, 5.5), (10.0, 14.5)]);
+ pen.line(&[(7.5, 8.0), (10.0, 5.5), (12.5, 8.0)]);
+ pen.line(&[(7.5, 12.0), (10.0, 14.5), (12.5, 12.0)]);
+ }
+ "panel-flex" => {
+ pen.rect(2.5, 3.5, 17.5, 16.5);
+ pen.frect(5.0, 6.0, 8.5, 14.0);
+ pen.frect(11.5, 6.0, 15.0, 14.0);
+ pen.line(&[(8.5, 10.0), (11.5, 10.0)]);
+ }
+ // Pathfinder panel › Paths: a join point, a path opened and one closed, two opposed arrows.
+ "path-join" => {
+ pen.line(&[(3.0, 16.0), (5.0, 12.0), (10.0, 10.0)]);
+ pen.line(&[(10.0, 10.0), (15.0, 8.0), (17.0, 4.0)]);
+ pen.fcircle(10.0, 10.0, 2.2);
+ }
+ "path-open" | "path-close" => {
+ let gap = if name == "path-open" { 0.9 } else { 0.0 };
+ let n = 28;
+ let pts: Vec<(f32, f32)> = (0..=n)
+ .map(|i| {
+ let a = -std::f32::consts::FRAC_PI_2 + gap / 2.0 + (std::f32::consts::TAU - gap) * i as f32 / n as f32;
+ (10.0 + 6.5 * a.cos(), 10.5 + 6.5 * a.sin())
+ })
+ .collect();
+ pen.line(&pts);
+ if name == "path-open" {
+ pen.frect(11.0, 2.5, 14.0, 5.5);
+ pen.frect(6.0, 2.5, 9.0, 5.5);
+ } else {
+ pen.fcircle(10.0, 4.0, 1.8);
+ }
+ }
+ "path-reverse" => {
+ pen.line(&[(3.0, 7.0), (16.0, 7.0)]);
+ pen.line(&[(13.0, 4.0), (16.5, 7.0), (13.0, 10.0)]);
+ pen.line(&[(17.0, 13.0), (4.0, 13.0)]);
+ pen.line(&[(7.0, 10.0), (3.5, 13.0), (7.0, 16.0)]);
+ }
+ // Pathfinder panel › Convert Shape: the shape outlined.
+ "shape-rect" => pen.rect(3.0, 5.0, 17.0, 15.0),
+ "shape-rounded" | "shape-beveled" | "shape-inverse" => {
+ let (x0, y0, x1, y1, r): (f32, f32, f32, f32, f32) = (3.0, 5.0, 17.0, 15.0, 3.5);
+ // Clockwise from the top left: each corner's two ends, and the centre of its arc
+ // (inside for a rounded corner, the corner itself for an inverse rounded one).
+ let corners = [
+ ((x0, y0), (x0, y0 + r), (x0 + r, y0), (x0 + r, y0 + r)),
+ ((x1, y0), (x1 - r, y0), (x1, y0 + r), (x1 - r, y0 + r)),
+ ((x1, y1), (x1, y1 - r), (x1 - r, y1), (x1 - r, y1 - r)),
+ ((x0, y1), (x0 + r, y1), (x0, y1 - r), (x0 + r, y1 - r)),
+ ];
+ let mut pts = Vec::new();
+ for (corner, a, b, inner) in corners {
+ if name == "shape-beveled" {
+ pts.extend([a, b]);
+ continue;
+ }
+ let c = if name == "shape-inverse" { corner } else { inner };
+ let a0 = (a.1 - c.1).atan2(a.0 - c.0);
+ let mut d = (b.1 - c.1).atan2(b.0 - c.0) - a0;
+ if d > std::f32::consts::PI {
+ d -= std::f32::consts::TAU;
+ } else if d < -std::f32::consts::PI {
+ d += std::f32::consts::TAU;
+ }
+ pts.extend((0..=6).map(|k| {
+ let t = a0 + d * k as f32 / 6.0;
+ (c.0 + r * t.cos(), c.1 + r * t.sin())
+ }));
+ }
+ pen.closed(&pts);
+ }
+ "shape-ellipse" => pen.ellipse(10.0, 10.0, 7.5, 5.0),
+ "shape-triangle" => pen.closed(&[(10.0, 3.5), (17.0, 16.0), (3.0, 16.0)]),
+ "shape-polygon" => pen.closed(&[(6.5, 4.0), (13.5, 4.0), (17.0, 10.0), (13.5, 16.0), (6.5, 16.0), (3.0, 10.0)]),
+ "shape-line" => pen.line(&[(4.0, 16.0), (16.0, 4.0)]),
+ "shape-orthogonal" => {
+ pen.line(&[(10.0, 3.0), (10.0, 17.0)]);
+ pen.line(&[(3.0, 10.0), (17.0, 10.0)]);
+ }
+ // Pathfinder panel › Convert Point: a point on a path, with its direction handles.
+ "point-plain" | "point-corner" | "point-smooth" | "point-symmetrical" => {
+ match name {
+ "point-plain" | "point-corner" => pen.line(&[(3.0, 16.0), (10.0, 8.0), (17.0, 16.0)]),
+ _ => pen.line(&[(3.0, 16.0), (5.5, 11.5), (10.0, 8.0), (14.5, 11.5), (17.0, 16.0)]),
+ }
+ let handles: &[(f32, f32)] = match name {
+ "point-corner" => &[(4.5, 4.0), (16.0, 5.0)],
+ "point-smooth" => &[(5.0, 8.0), (17.5, 8.0)],
+ "point-symmetrical" => &[(4.0, 8.0), (16.0, 8.0)],
+ _ => &[],
+ };
+ for &(hx, hy) in handles {
+ pen.line(&[(10.0, 8.0), (hx, hy)]);
+ pen.fcircle(hx, hy, 1.4);
+ }
+ pen.frect(8.5, 6.5, 11.5, 9.5);
+ }
// ---- Properties panel glyphs (original drawings)
"orient-portrait" => {
pen.rect(5.5, 3.0, 14.5, 17.0);
diff --cc docs/target-app-parity.md
index 77d0f046d,b2ea5756f..69808767d
--- a/docs/target-app-parity.md
+++ b/docs/target-app-parity.md
@@@ -417,7 -416,8 +417,9 @@@ It is evidence of breadth: each item ex
- File › Package (⌥⇧⌘P): the document relinked to a Links folder, the placed files, the font files that draw its text in a Document Fonts folder (the fonts it names and any fallback fonts that draw characters those lack; except fonts whose licence restricts it, OS/2 `fsType`), an IDML copy, an optional PDF and a report (fonts, fallback fonts, links, preflight, instructions); Copy Links To (`links.copyTo`).
- Document fonts: opening a `.designcraft` or `.idml` file loads the fonts in the `Document Fonts` folder beside it (as Package writes it), ahead of installed fonts with the same name, so a packaged document opens with its fonts on another machine. Damaged, oversized (over 256 MB per file, 512 MB in all) and surplus (over 200) font files are skipped and listed in `file.open`'s `warnings`; `font.list` gives each font's `source`. Document fonts belong to their document, as in InDesign: other open documents don't see them (each document with a same-named font draws with its own), and closing the document (or reverting it, or a book chapter's export ending) makes them unavailable. Their files stay in memory until DesignCraft quits, so reopening a document doesn't read or load them again; on the web there is no folder to read.
- Load Swatches / Save Swatches for Exchange (.ase: CMYK, RGB, Lab, Gray; spot or process) from the Swatches panel menu; `swatch.load` / `swatch.save`.
+- Pathfinder (Object › Pathfinder and a Pathfinder panel): Add, Subtract, Intersect, Exclude Overlap, Minus Back; curves stay curves (flo_curves); the result keeps the frontmost object's look and content, so a photo intersected with shapes behind it shows through them (Subtract keeps the backmost); `object.pathfinder`.
+ - Pathfinder (Object › Pathfinder and a Pathfinder panel): Add, Subtract, Intersect, Exclude Overlap, Minus Back; curves stay curves (flo_curves); `object.pathfinder`.
+ - Pathfinder panel as InDesign's: Paths (Join Path `path.join`, Open/Close Path, Reverse Path), Pathfinder, Convert Shape, Convert Point (`path.convertPoints`: plain, corner, smooth, symmetrical).
- Make / Release Compound Path (⌘8; nested paths become holes), Create Outlines (⇧⌘O; one path per text colour), Scissors tool (C) with `path.split`.
- Transform Again / Individually / Sequence Again (⌥⌘3; a moved copy repeats like Step and Repeat), Clear Transformations; Layers: Merge, Delete Unused, Hide/Lock Others, Show/Unlock All; Break Link to Style (paragraph and character).
- Floating panels: tear a panel off the dock (its float button, or drag its header away) into a movable, resizable window; Dock puts it back; positions persist; `window.floatPanel` / `window.dockPanel`.