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

(Search): fix font styling #526

Closed saihaj closed 3 years ago

saihaj commented 4 years ago

image

Font weights:


image

Line heights:

Originally posted by @bhajneet in https://github.com/ShabadOS/desktop/pull/510#issuecomment-628293980

saihaj commented 4 years ago

"AnmolUniBaniHeavy" for punjabi translations

Use this font for now. Originally posted by @Sarabveer View in Slack

saihaj commented 4 years ago

for urdu, that is how the script works. dunno what other explanation to give. unlike like the naksh script used in arabic countries, nastaliq grows in height depending on the length of the word Originally posted by @Sarabveer View in Slack

bhajneet commented 4 years ago

Open Anmol Uni is deprecated as of v2.5.0 of gurbani now fonts.

The Open Satluj Uni font which replaced it does not have the same styling as Open Gurbani Akhar.

The 2.4.0 Open Anmol Uni font only contains a bold weight.

So I cannot fix this by adding deprecated 2.4.0 regular font weight. And I'm not sure I want to resolve this with differing style of gurmukhi fonts for gurbani and punjabi via the 2.5.2 Open Satluj Uni font.

bhajneet commented 4 years ago

Since the font is deprecated and no longer in development, we would need to switch our fonts around.

New fonts would have to look the same in ascii/unicode (as they do now), but also come in multiple weights.

Our unicode font does not have a "regular" font weight apparently. Since it's no longer in development, the only other option is to look at choosing new fonts

sarabveer commented 4 years ago

I have uploaded a regular font that can be used in Slack.

A new OpenGurbaniUni font is in development, but until then the older fonts should suffice.

saihaj commented 3 years ago

@bhajneet is this resolved? can you please link the PR

bhajneet commented 3 years ago

If you find it's not resolved, re-open with concrete steps to resolution, else leave closed.