diff --git a/corpus/fixtures/pages/justify-cases.pdf b/corpus/fixtures/pages/justify-cases.pdf index 332c16d4..e981cd17 100644 Binary files a/corpus/fixtures/pages/justify-cases.pdf and b/corpus/fixtures/pages/justify-cases.pdf differ diff --git a/corpus/fixtures/pages/manifest.tsv b/corpus/fixtures/pages/manifest.tsv index c2c5bfbb..0ad0b923 100644 --- a/corpus/fixtures/pages/manifest.tsv +++ b/corpus/fixtures/pages/manifest.tsv @@ -58,7 +58,9 @@ TXT-06 Smart quotes skipped Only about the application, its dialogs or an actio TXT-07 Automatic correction and replacement skipped Only about the application, its dialogs or an action: a saved document does not hold it. TXT-08 txt-08-est-06-breaks-spaces.pages A non-breaking space and a manual line break made TXT-09 txt-09-hyphenation.pages A paragraph with hyphenation removed made Automatic hyphenation of the document is off here, as in every document of the fixtures, so neither paragraph is hyphenated; the import logs the setting when it is on. -TXT-09 txt-09-never-hyphenate.pages Automatic hyphenation on, and Never Hyphenate chosen for one word made The document holds only kSFWPAutoHyphenationProperty: Pages keeps Never Hyphenate in the user's HyphenationExceptions.plist, for every document, not in the document. On the reference machine no word gets a hyphen, on screen or in the PDF. The PDF is of Pages '09: Pages 15.4 hyphenates the word, since Never Hyphenate lives in the exceptions of the '09 machine, not in the document. +TXT-09 txt-09-never-hyphenate.pages Automatic hyphenation on, and Never Hyphenate chosen for one word made The document holds only kSFWPAutoHyphenationProperty: Pages keeps Never Hyphenate in the user's HyphenationExceptions.plist, for every document, not in the document. On the '09 reference machine no word gets a hyphen, on screen or in the PDF. The PDF is of Pages 15.4, which hyphenates the words, since Never Hyphenate lives in the exceptions of the '09 machine, not in the document; it breaks some words where only its own dictionary does (B-045). +TXT-09 txt-09-hyphenation-cases.pages Automatic hyphenation on, two justified paragraphs of the same English text in Helvetica 12 pt at measures of 150 and 110 pt made Made in Pages '09; the PDF is of Pages 15.4, which hyphenates the text of an undetermined language as English (B-023). It breaks pho-tographs where Desk breaks photo-graphs, from its own dictionary (B-045). +TXT-09 txt-09-hyphenation-widths.pages Automatic hyphenation on, the same two justified sentences in Helvetica 12 pt again and again at measures 1 pt apart: 155 to 185 pt and 94 to 120 pt made Made in Pages '09; the PDF is of Pages 15.4. It shows that Pages breaks a word only before the first letter that does not fit (B-023), and the words its dictionary breaks otherwise than Desk: pho-tographs, cel-ebration, extra-ordinarily (B-045). TXT-10 Spelling skipped Spell checking is interface; the language it uses is in fmt-22-language. TXT-11 Proofreader skipped Only about the application, its dialogs or an action: a saved document does not hold it. TXT-12 Find and replace skipped Only about the application, its dialogs or an action: a saved document does not hold it. @@ -92,7 +94,7 @@ FMT-11 fmt-11-color.pages Text colors made FMT-12 fmt-12-alignment.pages Left, center, right and justified paragraphs made FMT-12 justify-spacing.pages Six justified paragraphs, each after a left aligned heading naming its font and size, with left and right indents that leave a 110 pt measure (the last one 200 pt) and few spaces per line: Liberation Mono 11 pt, Liberation Mono 18 pt, Liberation Sans 9 pt, Liberation Sans 18 pt, Liberation Serif 18 pt, Liberation Mono 11 pt at 200 pt; single line spacing, no hyphenation made Shows how Pages limits the growth of spaces in justified lines: on the loosest lines it also spaces the letters. Lorem ipsum style words, A4 with 72 pt margins. The PDF is of Pages '09 until Desk follows Pages 15.4 here (B-023). FMT-12 justify-space-limit.pages Justified paragraphs whose first line is a test line with 1, 2 or 4 spaces filling 55 to 94 percent of a 200 pt measure, in Liberation Sans and Liberation Mono 12 pt and in three copies of them that differ only in the width of the space (DeskSans Space60: 0.6 em, DeskSans Space10: 0.1 em, DeskMono Space28: 0.278 em) made The Desk fonts are Liberation Regular with only the space advance changed and renamed (SIL OFL), in corpus/fixtures/fonts; they are embedded in the PDF but the .pages needs them installed. Result: Pages first widens each space by up to 0.5 em of the font size, whatever the width of the space; then it adds tracking between letters, up to about 0.29 em; past that, the spaces take the rest without a limit. The PDF is of Pages '09 until Desk follows Pages 15.4 here (B-023). -FMT-12 justify-cases.pages Five justified paragraphs with a 150 pt measure, each after a left aligned heading naming its case, single line spacing, 6 to 10 lines with few spaces and much slack: Liberation Sans 12 pt with every second word at 20 pt (some lines start with a 12 pt space, others with a 20 pt one); Liberation Sans 12 pt with character spacing +10%; Liberation Sans 12 pt with a tab after the first word of each line to a left tab stop 40 pt from the indent; Liberation Sans 12 pt with hyphenation on for the paragraph and the document; Liberation Serif 12 pt in a floating text box 150 pt wide made Lorem ipsum style words, A4 with 72 pt margins, the other paragraphs with Remove hyphenation. Hyphenation is on in the document and the paragraph, but no word gets a hyphen: on the reference machine the hyphenator of Pages (SFHyphenator) finds no break in any word or language. The text box has no inset, so its text has the full 150 pt. The PDF is of Pages '09 until Desk follows Pages 15.4 here (B-023). +FMT-12 justify-cases.pages Five justified paragraphs with a 150 pt measure, each after a left aligned heading naming its case, single line spacing, 6 to 10 lines with few spaces and much slack: Liberation Sans 12 pt with every second word at 20 pt (some lines start with a 12 pt space, others with a 20 pt one); Liberation Sans 12 pt with character spacing +10%; Liberation Sans 12 pt with a tab after the first word of each line to a left tab stop 40 pt from the indent; Liberation Sans 12 pt with hyphenation on for the paragraph and the document; Liberation Serif 12 pt in a floating text box 150 pt wide made Lorem ipsum style words, A4 with 72 pt margins, the other paragraphs with Remove hyphenation. Hyphenation is on in the document and the paragraph, but no word gets a hyphen: on the reference machine the hyphenator of Pages (SFHyphenator) finds no break in any word or language. The text box has no inset, so its text has the full 150 pt. The PDF is of Pages 15.4, which hyphenates the text of the paragraph with hyphenation on as English (B-023). FMT-13 obj-16-fmt-13-19-box-format.pages A text box with two columns, inset margin and middle vertical alignment made FMT-14 fmt-14-line-spacing.pages Line spacing multiple, at least, between and exactly made FMT-14 long-document.pages A 41 page A4 document in four sections: title page with a different first page, a table of contents from Heading 1 and 2, a section on a right page with facing pages (a blank left page before it) numbered from 1 with left and right footers, a two column section, a last section continuing the numbers, page number fields in every section, 8 footnotes, inline pictures in multiple, at least and exactly line spacing, square and contour wraps, a shape in the background, LD Child and an override with Space After and Left Indent 0 under a parent with both set, page breaks, a keep with next heading pushed to the next page, justified paragraphs made Public replacement for the private long document; lorem ipsum text, Liberation fonts. Pages kept the long footnote (note 7) whole on page 34 instead of continuing it on the next page. The PDF is of Pages '09 until Desk follows Pages 15.4 here (B-022). diff --git a/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/Contents/PkgInfo b/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/Contents/PkgInfo new file mode 100644 index 00000000..b0bc8e07 --- /dev/null +++ b/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/Contents/PkgInfo @@ -0,0 +1 @@ +???????? \ No newline at end of file diff --git a/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/QuickLook/Preview.pdf b/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/QuickLook/Preview.pdf new file mode 100644 index 00000000..f5c52371 Binary files /dev/null and b/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/QuickLook/Preview.pdf differ diff --git a/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/QuickLook/Thumbnail.jpg b/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/QuickLook/Thumbnail.jpg new file mode 100644 index 00000000..dde45f81 Binary files /dev/null and b/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/QuickLook/Thumbnail.jpg differ diff --git a/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/buildVersionHistory.plist b/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/buildVersionHistory.plist new file mode 100644 index 00000000..09599907 --- /dev/null +++ b/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/buildVersionHistory.plist @@ -0,0 +1,10 @@ + + + + + pages-trunk-20080703_5 + pages-trunk-20080707_3 + pages-trunk-20080904_1 + local build-Oct 16 2012 + + diff --git a/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/index.xml.gz b/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/index.xml.gz new file mode 100644 index 00000000..2f66d48e Binary files /dev/null and b/corpus/fixtures/pages/txt-09-hyphenation-cases.pages/index.xml.gz differ diff --git a/corpus/fixtures/pages/txt-09-hyphenation-cases.pdf b/corpus/fixtures/pages/txt-09-hyphenation-cases.pdf new file mode 100644 index 00000000..b207117e Binary files /dev/null and b/corpus/fixtures/pages/txt-09-hyphenation-cases.pdf differ diff --git a/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/Contents/PkgInfo b/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/Contents/PkgInfo new file mode 100644 index 00000000..b0bc8e07 --- /dev/null +++ b/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/Contents/PkgInfo @@ -0,0 +1 @@ +???????? \ No newline at end of file diff --git a/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/QuickLook/Preview.pdf b/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/QuickLook/Preview.pdf new file mode 100644 index 00000000..7bcf3b44 Binary files /dev/null and b/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/QuickLook/Preview.pdf differ diff --git a/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/QuickLook/Thumbnail.jpg b/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/QuickLook/Thumbnail.jpg new file mode 100644 index 00000000..dde45f81 Binary files /dev/null and b/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/QuickLook/Thumbnail.jpg differ diff --git a/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/buildVersionHistory.plist b/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/buildVersionHistory.plist new file mode 100644 index 00000000..09599907 --- /dev/null +++ b/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/buildVersionHistory.plist @@ -0,0 +1,10 @@ + + + + + pages-trunk-20080703_5 + pages-trunk-20080707_3 + pages-trunk-20080904_1 + local build-Oct 16 2012 + + diff --git a/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/index.xml.gz b/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/index.xml.gz new file mode 100644 index 00000000..53c669eb Binary files /dev/null and b/corpus/fixtures/pages/txt-09-hyphenation-widths.pages/index.xml.gz differ diff --git a/corpus/fixtures/pages/txt-09-hyphenation-widths.pdf b/corpus/fixtures/pages/txt-09-hyphenation-widths.pdf new file mode 100644 index 00000000..20549b12 Binary files /dev/null and b/corpus/fixtures/pages/txt-09-hyphenation-widths.pdf differ diff --git a/corpus/fixtures/pages/txt-09-never-hyphenate.pdf b/corpus/fixtures/pages/txt-09-never-hyphenate.pdf index 38cc90d1..ea82c058 100644 Binary files a/corpus/fixtures/pages/txt-09-never-hyphenate.pdf and b/corpus/fixtures/pages/txt-09-never-hyphenate.pdf differ diff --git a/crates/desk-testkit/tests/text_documents.rs b/crates/desk-testkit/tests/text_documents.rs index f15a4442..1fe1cfac 100644 --- a/crates/desk-testkit/tests/text_documents.rs +++ b/crates/desk-testkit/tests/text_documents.rs @@ -73,10 +73,10 @@ fn txt_09_hyphenated_lines_match_pages() { check("txt-09-hyphenation"); } -#[test] -fn txt_09_words_never_hyphenated_match_pages() { - check("txt-09-never-hyphenate"); -} +// txt-09-never-hyphenate, txt-09-hyphenation-cases and +// txt-09-hyphenation-widths are not compared whole: Pages 15.4 breaks some +// of their words where its own dictionary says, which Desk does not have +// (B-045). The rules that Desk follows there are tested in desk-text. #[test] fn fmt_07_capitalization_matches_pages() { diff --git a/crates/desk-text/src/input.rs b/crates/desk-text/src/input.rs index 22363f4c..09a092eb 100644 --- a/crates/desk-text/src/input.rs +++ b/crates/desk-text/src/input.rs @@ -18,13 +18,20 @@ use desk_model::{ use crate::fonts::pages_font; use crate::layout::SOFT_HYPHEN; +/// The language whose patterns hyphenate text of an undetermined +/// language: Pages 15.4 hyphenates such text, as the documents of Pages +/// '09 have, as English, where Pages '09 found no break in it (B-023). +const UNDETERMINED_HYPHENATION: &str = "en-US"; + /// The byte offsets in a text where its words may break with a hyphen, -/// in order: none for the undetermined language or a language without -/// patterns, nor in words that have soft hyphens of their own. +/// in order: none for a language without patterns, nor in words that +/// have soft hyphens of their own. fn hyphen_points(text: &str, language: &str, settings: &TextSettings) -> Vec { - if language == "und" { - return Vec::new(); - } + let language = if language == "und" { + UNDETERMINED_HYPHENATION + } else { + language + }; let Some(patterns) = desk_lang::patterns(language) else { return Vec::new(); }; diff --git a/crates/desk-text/src/layout.rs b/crates/desk-text/src/layout.rs index 439f08b4..21762b30 100644 --- a/crates/desk-text/src/layout.rs +++ b/crates/desk-text/src/layout.rs @@ -652,9 +652,21 @@ impl TextSystem { let mut end = None; let mut i = next_break; while i < breaks.len() { - if natural(pos, breaks[i], x, x + width).0 > width + 0.001 { + let (wide, _) = natural(pos, breaks[i], x, x + width); + if wide > width + 0.001 { break; } + // Pages 15.4 hyphenates a word only before the first + // letter that does not fit: the letter after the + // hyphen has to fit in place of the hyphen too (B-023). + if let Some(hyphen) = hyphen_at(breaks[i]) { + let next = clusters + .get(clusters.partition_point(|c| c.start < breaks[i])) + .map_or(0.0, |c| c.advance); + if wide - hyphen.3 + next > width + 0.001 { + break; + } + } end = Some(i); if mandatory(breaks[i]) { break; @@ -828,7 +840,7 @@ impl TextSystem { // line with tabs, only the text after a last left tab is // justified, from its stop. let last_tab = tabs.last(); - let spread = if format.alignment == Alignment::Justify + let (spread, between) = if format.alignment == Alignment::Justify && last_tab.is_none_or(|t| t.place.stop.alignment == desk_model::TabAlignment::Left) && !matches!( line.break_reason(), @@ -889,8 +901,13 @@ impl TextSystem { runs.get(c.run).map_or(0.0, |r| r.1) }) } else { - Vec::new() + (Vec::new(), 0.0) }; + // Pages spreads the letters with the spacing of its characters, + // which a reader of the PDF takes as part of each letter while + // it is under a tenth of an em; Desk places each letter, so + // there it joins the letters of a word to read as one (B-023). + let whole_words = between > 0.0 && between <= LETTERS_READ_TOGETHER; let moved = |offset: usize| -> f32 { let i = tabs.partition_point(|t| t.offset < offset); let tab = if i == 0 { 0.0 } else { tabs[i - 1].moved }; @@ -986,8 +1003,13 @@ impl TextSystem { }, }); } - let (run_text, clusters) = - run_text(source, run, glyph_run.style_index(), glyphs.len()); + let (run_text, clusters) = run_text( + source, + run, + glyph_run.style_index(), + glyphs.len(), + whole_words, + ); glyph_runs.push(GlyphRun { font: run.font().clone(), size: run.font_size(), @@ -1134,6 +1156,11 @@ const WIDEST_SPACE_GROWTH: f32 = 0.5; /// in ems of the letter; past it the rest goes to the spaces again (FMT-12). const WIDEST_LETTER_GROWTH: f32 = 0.2892; +/// The widest gap, in ems of the letter, that a reader of a PDF such as +/// Poppler still takes as part of the letter before it, not as a space +/// between words (B-023). +const LETTERS_READ_TOGETHER: f32 = 0.1; + /// How Pages justifies a line, as measured on the reference machine /// (FMT-12). Each space grows in proportion to its own size, up to half /// of it. Past that, the letters of the words spread too: before each @@ -1145,18 +1172,19 @@ const WIDEST_LETTER_GROWTH: f32 = 0.2892; /// from which the text moves, the offset where it starts and how far it /// and what comes after it move from where Parley put them, with the /// `given` room alike in the spaces, when Pages has `extra` room to spread; -/// nothing when Parley put them right. +/// nothing when Parley put them right; and how much each gap between +/// letters grows, in ems of the letter. fn letter_spread( clusters: &[Cluster], source: &str, given: f32, extra: f32, size: impl Fn(&Cluster) -> f32, -) -> Vec<(usize, f32)> { +) -> (Vec<(usize, f32)>, f32) { let is_space = |c: &Cluster| source[c.start..].starts_with([' ', '\u{a0}']); let words = clusters.iter().filter(|c| is_space(c)).count() as f32; if words == 0.0 || extra <= 0.0 { - return Vec::new(); + return (Vec::new(), 0.0); } // The sizes of the spaces, of what follows them and of the letters // that follow letters. @@ -1172,7 +1200,7 @@ fn letter_spread( .map(|p| size(&p[1])) .sum(); if spaces <= 0.0 { - return Vec::new(); + return (Vec::new(), 0.0); } // How much each point of a space grows, and each point of a letter. let (mut grow, mut between) = (extra / spaces, 0.0); @@ -1202,9 +1230,9 @@ fn letter_spread( spread.push((cluster.start, moved)); } if spread.iter().all(|s| s.1.abs() < 1e-3) { - return Vec::new(); + return (Vec::new(), 0.0); } - spread + (spread, between) } /// A cluster of a glyph run, in visual order: its text, where it starts @@ -1535,10 +1563,13 @@ fn run_text( run: &parley::Run<'_, u32>, style: u16, glyphs: usize, + whole_words: bool, ) -> (String, Vec<(u32, u32)>) { let mut text = String::new(); let mut clusters: Vec<(u32, u32)> = Vec::new(); let mut count = 0; + // Whether the last cluster is a letter that the next one may join. + let mut in_word = false; // The text of clusters without glyphs before the first with any. let mut pending = 0; for cluster in run.visual_clusters() { @@ -1547,6 +1578,7 @@ fn run_text( } // A tab draws no glyph, and its leader is a run of its own. if source[cluster.text_range()].starts_with('\t') { + in_word = false; continue; } let start = text.len(); @@ -1573,9 +1605,20 @@ fn run_text( None => pending += bytes, } } else if n > 0 { - clusters.push((bytes + std::mem::take(&mut pending), n as u32)); + let letter = !source[cluster.text_range()].contains(char::is_whitespace); + match clusters.last_mut() { + // With its letters spread, a word is one cluster, so that + // a PDF reads it whole (B-023). + Some(last) if whole_words && letter && in_word => { + last.0 += bytes; + last.1 += n as u32; + } + _ => clusters.push((bytes + std::mem::take(&mut pending), n as u32)), + } + in_word = letter; } else if bytes > 0 { clusters.push((bytes, 0)); + in_word = false; } } if pending > 0 diff --git a/crates/desk-text/tests/layout.rs b/crates/desk-text/tests/layout.rs index c094835e..8a6ed425 100644 --- a/crates/desk-text/tests/layout.rs +++ b/crates/desk-text/tests/layout.rs @@ -441,6 +441,35 @@ fn soft_hyphen_draws_a_hyphen_only_at_a_break() { assert!(!narrow.lines[1].hyphenated); } +#[test] +fn txt_09_a_word_breaks_only_before_the_first_letter_that_does_not_fit() { + // Pages 15.4 hyphenates "extraordinarily" at "extraor-" only from a + // measure where the "d" after it fits too, not only the hyphen, and at + // "extra-" below that (B-023). + let mut system = TextSystem::new(); + let text = format!("The word extra{SOFT_HYPHEN}or{SOFT_HYPHEN}dinarily long"); + let width = |system: &mut TextSystem, text: &str| { + plain(system, ParaFormat::default(), text).lines[0].advance + }; + let with_hyphen = width(&mut system, "The word extraor-"); + let with_letter = width(&mut system, "The word extraord"); + assert!(with_letter > with_hyphen + 1.0); + let first_line = |system: &mut TextSystem, measure: f32| { + let laid = lay_in( + system, + ParaFormat::default(), + &[(&text, sans())], + &Column::new(measure), + ); + text[laid.lines[0].range.clone()].replace(SOFT_HYPHEN, "") + }; + assert_eq!(first_line(&mut system, with_letter - 0.5), "The word extra"); + assert_eq!( + first_line(&mut system, with_letter + 0.1), + "The word extraor" + ); +} + #[test] fn txt_09_automatic_hyphenation_breaks_words_by_their_language() { let mut system = TextSystem::new(); @@ -461,13 +490,19 @@ fn txt_09_automatic_hyphenation_breaks_words_by_their_language() { hyphenate: true, ..ParaFormat::default() }; - // Text in the undetermined language is not hyphenated. - let undetermined = lay_in(&mut system, hyphenating.clone(), &[(text, sans())], &column); - assert!(undetermined.lines.iter().all(|l| !l.hyphenated)); if desk_lang::patterns("en-US").is_none() { return; } - let broken = lay_in(&mut system, hyphenating, &[(text, english)], &column); + let broken = lay_in( + &mut system, + hyphenating.clone(), + &[(text, english)], + &column, + ); + // Text in the undetermined language is hyphenated as English, as + // Pages 15.4 does (B-023). + let undetermined = lay_in(&mut system, hyphenating, &[(text, sans())], &column); + assert_eq!(line_texts(&undetermined, text), line_texts(&broken, text)); let first = broken .lines .iter() diff --git a/docs/backlog/deferred.tsv b/docs/backlog/deferred.tsv index 83bb6071..1401cda2 100644 --- a/docs/backlog/deferred.tsv +++ b/docs/backlog/deferred.tsv @@ -43,3 +43,4 @@ B-041 2026-11-18 Right-to-left tables in Desk Writer W139 Plan of W1 Moved by th B-042 2026-11-18 The functions of Pages 15.4 that Desk Writer lacks (it has 94 of the 250 and more), without those that fetch from the internet W133 Plan of W1 Moved by the owner on 2026-11-18: the functions live in desk-formula, shared by Writer and Tables; T2 brings the functions of 15.4 and Writer gets them with it W1 T2 open - B-043 2026-11-18 Dates and numbers of Desk Writer in the words of languages other than English and Portuguese W072 W1 step 7 (Language and Region) Desk writes the names of months and days, durations and true and false in the two languages it is translated into; the others come with the translations of W6 W1 W6 open - B-044 2026-11-18 The artistic line styles of Pages 15.4 (chalk, thick brush, chisel pen, dry brush and uneven ink: five of its ten lines) for the border of the shape of a drop cap, with those of objects W060 W120 W1 step 8 (drop cap) Desk draws solid, dashed and dotted lines everywhere; the strokes of a pen or brush are a new kind of line for every border, not only the drop cap W1 W3 open - +B-045 2026-11-20 The places where Pages 15.4 breaks words that the hyphenation patterns of Desk break elsewhere (pho-tographs, cel-ebration, extra-ordinarily, extraordinari-ly), and the comparison of txt-09-never-hyphenate, txt-09-hyphenation-cases and txt-09-hyphenation-widths with Pages as whole documents TXT-09 W1 step 17 (B-023) Pages 15.4 takes them from the dictionary of macOS, which cannot be copied; chosen by the owner on 2026-11-20: Desk follows the rules that Pages hyphenates by, tested on their own, and the documents wait for patterns that break those words alike W1 W2 open -