Misc optimization/cleanup of use of Cosmic Text on Linux (#30658)

* Use cosmic_text `metadata` attr to write down the `FontId` from the
input run to avoid searching the list of fonts when laying out every
glyph.

* Instead of checking on every glyph if `postscript_name` is an emoji
font, just store `is_known_emoji_font`.

* Clarify why `font_id_for_cosmic_id` is used, and when its use is
valid.

Release Notes:

- N/A
71ea7aee3bMichael Sloan committed on 5/13/2025, 9:20:41 PM· committed by GitHubparent48b376f
1 file changedLine totals unavailable