Commit Graph
3870 Commits
Author SHA1 Message Date
Brandon Thomas fc9fbfda4c Merge pull request #2176 from Silvertree2010/fix/2175-bug-dotted-paragraph-border-prod
Space dotted paragraph border dots evenly
2026-11-02 23:23:24 -05:00
Brandon Thomas 462062e99b Merge pull request #2190 from JonRC/type-char-missing-font-warning
type.char: warn when the font family or style isn't available (#2189)
2026-11-02 23:23:20 -05:00
JonRC 6abeb8a1ca type.char: warn when the font family or style isn't available (#2189)
A fontFamily the app doesn't have was applied with a null result, so a
script that asked for Courier Prime exported the PDF in the substitute
and exited 0. The font is still applied, since documents can carry
missing fonts and Find Font and preflight list them, but type.char now
returns {"warnings": ["Missing font: Courier Prime (using Source Sans 3)"]},
or "Missing font style: ..." for a style the family doesn't have, in
preflight's words. Other calls still return null.
2026-11-03 01:00:19 -03:00
Dylan M. Taylor 74eab18d16 Assets: index placed files by content so importing many graphics stays linear (#2181) 2026-11-02 22:51:17 -05:00
NetterSilverandClaude Opus 5.5 b4c9cb7d3a Space dotted paragraph border dots evenly
Fixes #2175

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 00:24:50 +01:00
FredApps f704f481d5 Merge remote-tracking branch 'origin/main' into pr1654
# Conflicts:
#	ROADMAP.md
2026-11-02 18:25:00 +01:00
aiongg cc3c70d4be Windows: keep the custom title bar window borderless (#2139)
winit 0.30 gives an undecorated window WS_CAPTION and WS_BORDER; on some systems the compositor
reserves that frame, so the content is drawn offset (black bars at the top and left) while the
pointer keeps the client coordinates. A per-frame guard strips the styles again after every
winit flag change and keeps a maximized window clear of the taskbar. Fixes #1295.
2026-11-01 20:39:44 -05:00
Brandon Thomas a288a87bf6 Merge pull request #1018 from kler/swedish-ui
i18n: Swedish (sv) interface translation
2026-11-01 14:54:59 -05:00
Brandon Thomas 1b02e5427f Merge remote-tracking branch 'origin/main' into land-2109 2026-11-01 14:50:36 -05:00
Brandon Thomas 185412cdf9 Merge remote-tracking branch 'origin/main' into land-1018b
# Conflicts:
#	crates/ui-egui/src/i18n.rs
#	crates/ui-egui/src/i18n/tests.rs
#	crates/ui-egui/src/menus/ui_commands.rs
#	docs/localization-parity.md
2026-11-01 14:50:19 -05:00
Brandon Thomas 78a108707c Merge pull request #1223 from macrobi/codex/hungarian-localization
Add initial Hungarian (hu) interface localization
2026-11-01 14:49:43 -05:00
Brandon Thomas 19d99267a1 Merge pull request #1147 from y-az/feat/dutch-hyphenation
Hyphenation: bundle the Dutch patterns
2026-11-01 14:49:39 -05:00
Brandon Thomas d199db2c91 Merge pull request #2124 from MarekSpodBiedry/issue-2075
Zoom In/Out shortcuts zoom around the pointer over the canvas (#2075)
2026-11-01 14:49:32 -05:00
Brandon Thomas 3bd5adfb19 Merge pull request #2108 from Tom-R-Main/openbytes-title
file.openBytes: title a .designcraft file without its extension
2026-11-01 14:49:27 -05:00
Brandon Thomas c091733eef Merge pull request #2076 from Silvertree2010/fix/h4302-hit-intersects-rect-misses-a-sha
Fix intersects_rect missing hits for zero-width/height marquee rects
2026-11-01 14:49:23 -05:00
Brandon Thomas d2045c4a82 Merge pull request #2081 from Silvertree2010/fix/h4609-script-parse-errors-report-the-w
Report script parse error line numbers from the original text
2026-11-01 14:49:20 -05:00
Brandon Thomas 7cbf427521 Merge pull request #2083 from Silvertree2010/fix/h4637-type-on-a-path-zero-tangent-angl
Fix zero tangent angle in Type on a Path at collapsed handles
2026-11-01 14:49:16 -05:00
Brandon Thomas e3aea68cca Merge pull request #2084 from Silvertree2010/fix/h4663-math-svg-does-not-clamp-the-size
Clamp math.svg size to the same range as math.insert
2026-11-01 14:49:13 -05:00
Brandon Thomas d8c36f51a8 Merge pull request #2086 from Silvertree2010/fix/2050-validate-pdf-reports-valid-pdf-x
Read PDF/X output intent and Info as parsed objects in validate-pdf
2026-11-01 14:49:09 -05:00
Brandon Thomas 8aaa9f9c40 Merge pull request #2090 from Silvertree2010/fix/h4780-color-to-hsb-can-return-hue-360
Keep Color::to_hsb hue below 360
2026-11-01 14:49:05 -05:00
Brandon Thomas 61c530d5f1 Merge pull request #2092 from Silvertree2010/fix/h4874-math-expression-svg-contains-con
Drop XML-forbidden control characters from math SVG text
2026-11-01 14:49:01 -05:00
Brandon Thomas 9f93d4344d Merge pull request #2094 from Silvertree2010/fix/2085-placed-svg-a-font-family-that-na
Match placed SVG font-family against legacy family and full names
2026-11-01 14:48:57 -05:00
Brandon Thomas a8bb7ec32d Merge pull request #2097 from Silvertree2010/fix/h4984-epub-html-export-includes-the-co
Skip children of hidden groups in EPUB/HTML export
2026-11-01 14:48:54 -05:00
Brandon Thomas 8064830e9b Merge remote-tracking branch 'origin/main' into fix-1147
# Conflicts:
#	crates/compose/Cargo.toml
#	crates/compose/src/hyphen.rs
#	docs/gaps.md
#	docs/localization-parity.md
#	docs/target-app-parity.md
#	docs/typography-parity.md
2026-11-01 14:39:07 -05:00
Brandon ThomasandClaude Opus 5.5 34b7317cf4 Zoom at pointer: reject an "at" with non-number coordinates
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 14:38:23 -05:00
Brandon ThomasandClaude Opus 5.5 4a5b9ffbcd Swedish: register in the i18n tests, app.language docs and macOS localizations
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 14:38:10 -05:00
Brandon ThomasandClaude Opus 5.5 9e12d58887 Math SVG: drop XML-forbidden characters before layout so they take no width
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 14:37:27 -05:00
Tom MainandOpenAI Codex bddef171cd #2108: preserve full filenames at the browser import boundary
Pass the original filename to file.openBytes so the engine removes one native extension. Cover Open and Drop, repeated suffixes, Unicode, bare and missing extensions, and IDML through the import inbox. Keep the full filename in import warnings.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
2026-11-01 14:30:23 -05:00
MarekSpodBiedry 79408dd54f Zoom In/Out shortcuts zoom around the pointer over the canvas (#2075) 2026-11-01 20:09:41 +01:00
Tom MainandClaude Opus 5.5 700c4bb344 file.openBytes: test titles that aren't ASCII
Names with characters outside ASCII, one shorter than the extension,
lose a trailing .designcraft or keep their names like the others.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ApvpyStzzHbKyDBNxpzn2Y
2026-11-01 13:47:00 -05:00
Tom MainandClaude Opus 5.5 472869598f font.list: a face without an OS/2 table reports a null fsType
A font with no readable OS/2 table doesn't say what its licence allows,
and reporting fsType 0 made it look installable. FontFace::fs_type() now
returns None for it, and font.list reports fsType and the five flags as
null. restricted_licence() and bitmap_only() still treat it as
unrestricted, so export behaviour doesn't change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ApvpyStzzHbKyDBNxpzn2Y
2026-11-01 13:31:06 -05:00
Youssef Azriouil f3f23718dc Dutch hyphenation: test long compound words 2026-11-01 17:26:45 +01:00
makesomethingshit 20925111eb #1620: Limit inline margins to the selected parent page 2026-11-02 00:05:23 +09:00
Patrik LermonandClaude Opus 5.5 100186def8 Swedish interface translation (sv)
Adds Swedish (Svenska) as an interface language: 1850 strings, written from the English source.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 14:43:13 +01:00
macadminHU 667ccc0783 HU1: cover flyout scroll reset after reopening
Updated test for Hungarian flyout to ensure it resets correctly on reopening while preserving scroll position, shortcut, and selection.
2026-11-01 14:25:33 +01:00
macadminHU 406e2bf7b3 HU1: reset tool flyout scrolling when reopened 2026-11-01 14:24:23 +01:00
makesomethingshit 90bbec39d1 #1620: Restore parent margins and pre-canvas page defaults 2026-11-01 19:44:44 +09:00
macadminHU 1f347dac44 HU1: remove PR-only Georgian menu checks
Removed the test for Georgian menu label translations.
2026-11-01 11:28:01 +01:00
macadminHU e33d870d62 HU1: verify Hungarian glyphs in bundled UI fonts
Removed specific assertions for Georgian translations and added a new test for Hungarian catalog glyphs in bundled UI fonts.
2026-11-01 11:27:23 +01:00
macadminHU 7c42fd74e3 HU1: cover Hungarian flyouts in narrow viewports 2026-11-01 11:26:50 +01:00
macadminHU becb09900b HU1: keep oversized tool flyouts scrollable 2026-11-01 11:26:14 +01:00
makesomethingshit 5c364f9897 #1620: Port parent resizing to current layout modules 2026-11-01 15:18:55 +09:00
NetterSilverandClaude Haiku 5.5 00717534cb Drop text variable markers in Text Only and RTF story export
Found while testing crates/textimport/src/export.rs:18 (plain_char) and :177 (rtf)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 20:55:44 +01:00
NetterSilverandClaude Haiku 5.5 01f291297a Skip children of hidden groups in EPUB/HTML export
Found while testing crates/epub/src/html.rs:47-54 (reading_order: the `it.hidden` check comes after the group's children are pushed)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 20:37:17 +01:00
macadminHU 3f85c6fb78 Merge branch 'main' into codex/hungarian-localization 2026-10-31 19:41:36 +01:00
NetterSilverandClaude Opus 5.5 41a64bc10f Match placed SVG font-family against legacy family and full names
Fixes #2085

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 15:35:41 +00:00
Tom MainandClaude Opus 5.5 f0c86e77e0 file.openBytes: title a .designcraft file without its extension
file.openBytes used the name it was given as the document's title as is. The
IDML path strips .idml/.indd/.indt, but a native document opened as
"Brochure.designcraft" kept the extension, and everything that adds it back
doubled it: Save in the browser downloaded Brochure.designcraft.designcraft,
Save As suggested that name, and the File Name variable showed it. The app's
own drop and open paths strip the extension before calling, so only hosts and
scripts that pass a file name hit it.

The title now drops one trailing .designcraft (any case). Other names are
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ApvpyStzzHbKyDBNxpzn2Y
2026-10-31 11:33:13 -04:00
Tom MainandClaude Opus 5.5 1d9e577e36 font.list: report each face's fsType embedding bits
font.list now gives, for the face that sets the text, its raw OS/2 fsType
and what the bits mean: restrictedLicence, bitmapOnly, noSubsetting,
editable and previewPrint (null when the face is missing). A host that
makes print PDFs can then refuse a face whose licence doesn't allow the
export, including system fonts and the bundled fonts, without reading the
font files itself. PDF export subsets every font, so a caller needs
noSubsetting as well as the restricted and bitmap-only bits.

FontFace gains fs_type(); restricted_licence() and bitmap_only() read it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ApvpyStzzHbKyDBNxpzn2Y
2026-10-31 11:23:21 -04:00
NetterSilverandClaude Haiku 5.5 9caae9c542 Drop XML-forbidden control characters from math SVG text
Found while testing crates/engine/src/math.rs:909 (to_svg, the `esc` closure used for each <text> glyph)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 14:07:33 +01:00
NetterSilverandClaude Haiku 5.5 8832b0cc91 Keep Color::to_hsb hue below 360
Found while testing crates/color/src/lib.rs:115 (Color::to_hsb, the `max == r` branch)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 12:25:44 +00:00