ui-egui's build.rs reads the optional craft-fonts input (CRAFT_FONTS_DIR,
per craft-fonts' docs/integration.md) and embeds the Noto Sans faces for
the nine Indian scripts (Deva, Beng, Guru, Gujr, Orya, Taml, Telu, Knda,
Mlym; ~5 MB) on every target. The theme appends them after the system
faces, so desktop rendering is unchanged where a system face exists and
the web build, which has no system fonts, draws and shapes Indian text.
Language::script() names each interface's script; the web build follows
the browser's language when the build can render it.
CI checks the embedded faces against a pinned craft-fonts commit (the
Noto Sans Indian faces, storytold/craft-fonts#21): they draw and shape
every script with no system face, and the web build compiles with them.
FreeBSD and release workflows pin the same commit. A plain build is
unchanged (empty table, same tests pass).
fr.rs had most of its translations shifted onto the wrong English keys
(Ruler read "Enregistrer sous", Show formula bar read "Page web",
Insert Cut Cells read the checkbox tooltip). Every one of the 381 labels
is retranslated against its key; spot checks on the previously shifted
labels guard it.
localization-parity: Indian-language rows and faces per platform, the
shaping claim corrected (epaint 0.36 shapes with harfrust), es/fr rows
brought up to date, Hindi 12-18 h -> 6-10 h. ROADMAP, gaps and
target-app-parity language counts and progress log.
381-label catalog (every key of the reference table), pa/pa-IN/pa-Guru
locale tags. A Shahmukhi tag (pa-Arab, pa-PK) is not mapped: Punjabi
there is written in Arabic script, so it stays on English rather than
showing a Gurmukhi interface.
Ribbon, tabs, status bar and Backstage catalog (381 labels, every key of
the reference table), hi/hi-IN locale tags, the View-tab and Backstage
switchers. Language::needs_script_fonts() generalises the web build's
CJK rule: a browser in Hindi stays on English there, since the web build
has no Devanagari face to load.
Devanagari, Bengali, Gurmukhi, Gujarati, Odia, Tamil, Telugu, Kannada and
Malayalam join the fallback chain: Nirmala UI and the per-script faces on
Windows, Kohinoor/Noto/Sangam MN on macOS (Regular face picked inside each
collection), Noto Sans or Lohit on Linux and the BSDs. epaint 0.36 shapes
every run with harfrust, so conjuncts and reordered or split vowel signs
render correctly once a face is present; tests cover the coverage, the
face weights and the shaping.
XLSX: strip _xlpm. from LET/LAMBDA parameters on read, keep line breaks in table columns, allow leading backslash in table names
# Conflicts:
# docs/file-format-parity.md
A `;`-separated CSV (the usual CSV where `,` is the decimal separator) was
rewritten with `,` on save: read_csv sniffed the delimiter but the result was
dropped, and save_bytes passed a hard-coded b','. file.save, Save As .csv,
file.exportCsv, file.saveBytes and gridcraft-cli convert all went through it.
The workbook now remembers the separator it was read with
(Workbook::csv_delimiter, set by read_csv) and a CSV save writes it back.
Workbooks not read from CSV, and .tsv/.txt sources saved as .csv, keep `,`.
Regression tests: `;`, `,` and tab .csv round trips byte for byte, new and
.xlsx-origin workbooks save with `,`, and open-by-path + edit + file.save on a
`;` file keeps `;` (also through exportCsv and saveBytes).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Text turned by an angle was drawn at a fixed anchor (bottom-left for upward,
top-left for downward text) and ignored the horizontal and vertical alignment,
so upright text with Middle Align in a tall merged cell sat at the bottom.
rotated_text_pos places the turned galley's bounding box in the cell per the
alignment, then derives the TextShape anchor from it. General/Bottom keep the
old placement for upright text.
Fixes#435
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A password-protected file named on the command line (a Windows or Linux
double-click) now asks for its password, and open errors are shown
instead of only logged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gridcraft_xlsx::check_encryption parses EncryptionInfo without a
password, so RC4, Extensible, certificate-only and rights-management
(IRM) files, and damaged ones, get their real message instead of a
password prompt first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OK on the untouched field says the password is incorrect instead of
asking again; the Backstage closes once the workbook opens; app.open on
the control channel takes a password and never opens the dialog. Control
protocol docs cover file.open {password}.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without a password, file.open returns an error carrying
io::PASSWORD_REQUIRED (never a dialog). A decrypted workbook gets no save
path, so Save never replaces the encrypted original.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Clean-room from [MS-OFFCRYPTO]: EncryptionInfo parsing, SHA-1/SHA-2 key
derivation with a capped spin count, AES-ECB/CBC. RC4, Extensible and
certificate-only encryption are reported as unsupported.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Restores "Counts whole years, months or days between two dates." and
appends the units, in the multi-line form rustfmt gives a long entry.
Drops the 256-argument test case: the parser already refuses more than
255 arguments, so it never reached the entry check. (993c108's message
says entry "also refuses" them; it already did.)
Claude-Session: https://claude.ai/code/session_01BGBBGBC2gRpQ7GDuwQ6WPt