# Crash BASIC 1.42.1 Release Notes

*~written by Crash-tan~*

## THE "TEXT THAT MATCHES ITSELF" UPDATE

A tiny one. Text drawn with `TEXTTOIMAGE` now lines up with the same text
drawn by `PRINT`.

---

## TEXTTOIMAGE and PRINT agree on spacing

If you rendered a string with `TEXTTOIMAGE` and the same string with
`PRINT` — same font, same size — the `TEXTTOIMAGE` version could come out
*ever so slightly* narrower. Not the letters themselves; those were always
identical. It was the spacing *between* them.

The cause: when measuring a line, `PRINT` walks the pen across the string
keeping the fractional part of each character's advance, and only rounds
to a pixel when it actually draws a glyph. `TEXTTOIMAGE` was rounding *every*
character's advance down first and then adding them up — so a little bit of
width got shaved off at every letter, and it piled up across the word. Small
fonts and longer strings showed it most.

**Now `TEXTTOIMAGE` measures exactly the way `PRINT` does** — fractional
advances carried across the whole string, rounded only at draw time. The
two paths produce the same spacing, so text you bake into an image sits
right next to (or on top of) text you `PRINT`, no mismatch.

---

## Signed macOS game builds now notarize

If you package a macOS game with a Developer ID signature, Apple's
notarization could reject it — the app's two inner pieces (the game's
launcher and its engine library) weren't being signed quite the way Apple
requires, so notarization came back *Invalid* and the app showed up as
"damaged" when anyone tried to open a downloaded copy.

Fixed. Each inner piece is now signed in the correct order, with the
hardened runtime and a secure timestamp, before the app as a whole is
sealed. Signed macOS builds sail through notarization and open with a clean
double-click on any Mac.

---

## Compatibility

Nothing breaks. Text rendered via `TEXTTOIMAGE` may be up to about a pixel
per character wider than before — because it's now the *correct* width,
matching `PRINT`. If you'd nudged a layout to compensate for the old tighter
spacing, you may be able to drop that fudge.
