shabados / presenter

Desktop app for presenting the Shabad OS Database on projectors, TVs, and live streams
https://shabados.com
MIT License
19 stars 15 forks source link

Use different font based on character range for search query #572

Closed bhajneet closed 4 years ago

bhajneet commented 4 years ago

Unicode font doesn't match ascii gurmukhi font in search. First redo all classes to not differentiate between ascii / unicode and instead just define the language/alphabet, then set the font family definitions based on range of characters. So "Gurmukhi" font face will use Open Gurbani Akhar for extended ASCII range and Anmol Uni for unicode-gurmukhi range. This font face will be used for both ascii/unicode. See unicode-range on MDN.