gpui_macos: Warn when falling back to NoopTextSystem (#59247)

# Objective

Without the `font-kit` feature, `MacPlatform` silently substitutes
`gpui::NoopTextSystem`, which accepts fonts and resolves font ids but
rasterizes every glyph to an empty bitmap.

I hit this with the `component_preview` example
https://github.com/zed-industries/zed/pull/59241.

## Solution

Log a warning at startup in `MacPlatform::new()` when falling back to
`NoopTextSystem`. Skipped in headless mode, where no text is expected to
render and the fallback is a reasonable configuration.

## Testing

Checked as part of https://github.com/zed-industries/zed/pull/59241

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)

## Showcase

It just render as like without any error:
<img width="1312" height="945" alt="cp_pr1_before"
src="https://github.com/user-attachments/assets/f5faf3c0-9523-4c5f-9756-e65cbaf3456f"
/>


---

Release Notes:

- N/A or Added/Fixed/Improved ...
759bacff37Sergei G. committed on 6/15/2026, 3:49:04 AM· committed by GitHubparentcb77216
1 file changedLine totals unavailable