Files
ghostty/pkg/fontconfig
Pyry Takala d4c2376c2d Fix LangSet.hasLang() to compare against FcLangEqual instead of FcTrue
FcLangSetHasLang returns FcLangResult enum values:
- FcLangEqual (0): Exact match
- FcLangDifferentTerritory (1): Same language, different territory
- FcLangDifferentLang (2): Different language

The previous comparison to FcTrue (1) caused:
- Exact matches (0) to incorrectly return false
- Partial matches (1) to incorrectly return true

This fix changes the comparison to FcLangEqual (0) so hasLang()
correctly returns true only for exact language matches.

Fixes emoji font detection which relies on checking for 'und-zsye'
language tag support.
2025-11-24 20:34:07 +00:00
..
2023-10-01 12:43:36 -07:00
2025-10-03 07:10:41 -07:00
2024-08-16 16:58:16 -07:00
2024-08-16 16:58:16 -07:00
2025-03-12 11:29:13 -07:00
2024-08-16 16:58:16 -07:00
2022-09-17 09:04:40 -07:00
2024-08-16 16:58:16 -07:00
2024-08-16 16:58:16 -07:00
2024-08-16 16:58:16 -07:00
2024-08-16 16:58:16 -07:00
2024-08-16 16:58:16 -07:00
2025-05-26 21:50:14 -06:00
2024-08-16 16:58:16 -07:00
2024-08-16 16:58:16 -07:00