Skip to content

[bug] Font search does not work as expected #2058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
spartan-uyen opened this issue Jun 5, 2025 · 0 comments
Open

[bug] Font search does not work as expected #2058

spartan-uyen opened this issue Jun 5, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@spartan-uyen
Copy link

Summary:
The font search feature returns incorrect results. When searching for a full font name (e.g., "Adlam Display"), the search returns any font that contains part of the term (e.g., fonts with just “Display”), instead of matching the full query string.

Steps to reproduce:

  1. Open the font panel.
  2. In the search input, type a full font name such as "Adlam Display".

Actual result:
Fonts that only contain "Display" appear in the results, including ones that do not contain "Adlam".
https://github.com/user-attachments/assets/5809fe60-7fd2-4189-893c-eeaad9ceabe2

Expected result:
Only fonts that match the full search string, such as "Adlam Display", should be shown in the results.

@spartan-uyen spartan-uyen added the bug Something isn't working label Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant