gpui: Fix cosmic-text raster_bounds calculation (#30552)

Closes #30526.

This PR makes the CacheKey used by raster_bounds and rasterize_glyph the
same, as they had not used the same sub pixel shift previously. Fixing
this resolves both the alignment and text-rendering issues introduced in
`ddf8d07`.

Release Notes:

- Fixed text rendering issues on Linux.
634b275931william341 committed on 5/12/2025, 11:10:40 AM· committed by GitHubparent8000151
1 file changedLine totals unavailable