XengShi / materialYouNewTab

A Simple New Tab ( browsers's home page ) inspired with Google's 'Material You' design
https://xengshi.github.io/materialYouNewTab/
GNU General Public License v3.0
1.39k stars 129 forks source link

Issue with the degree position when using translated language. #131

Open itz-rj-here opened 5 days ago

itz-rj-here commented 5 days ago

@prem-k-r Can you fix it? image

prem-k-r commented 5 days ago

Ok, I'll try

prem-k-r commented 5 days ago

@itz-rj-here Btw is weather condition icon loading normally now for you?

itz-rj-here commented 5 days ago

@itz-rj-here Btw is weather condition icon loading normally now for you?

yah kind of. cause the weatherapi website somehow working properly on my isp.

itz-rj-here commented 5 days ago

Ok, I'll try

I found something. The issue only happens with the big numbers like ৩ others position is working properly. image

prem-k-r commented 5 days ago

Ok, I'll try

I found something. The issue only happens with the big numbers like ৩ others position is working properly. image

Is maybe because of current font, ৩ width is less in current font wrt say ২৭

itz-rj-here commented 5 days ago

Ok, I'll try

I found something. The issue only happens with the big numbers like ৩ others position is working properly. image

Is maybe because of current font, ৩ width is less in current font wrt say ২৭

You're right.

prem-k-r commented 4 days ago

@itz-rj-here I tried using different font, kind of same. image image

Height of 3 is less than all others, (except 0 which is normal) image

i changed position, #139. buts only little in difference. image image

itz-rj-here commented 4 days ago

Great work.

prem-k-r commented 3 days ago

Great work.

But note that, there wont be much of a different then existing one. Only slightly changed. there might be one solution, find a font similar good looking but same height of 3 as others. Can try to implement it for Bengali numerals only.

prem-k-r commented 3 days ago

Great work.

But note that, there wont be much of a different then existing one. Only slightly changed. there might be one solution, find a font similar good looking but same height of 3 as others. Can try to implement it for Bengali numerals only.

Like the following font: IMG_20241105_104914 Android GBoard, but idk the font name

itz-rj-here commented 3 days ago

Great work.

But note that, there wont be much of a different then existing one. Only slightly changed. there might be one solution, find a font similar good looking but same height of 3 as others. Can try to implement it for Bengali numerals only.

Like the following font: IMG_20241105_104914 Android GBoard, but idk the font name

The font shown in the image is likely from Noto Sans Bengali or a similar font that closely matches the Bengali numeral style used in Android Gboard. Noto Sans is a versatile font family created by Google, supporting a wide range of scripts and designed for high legibility.

If you need a similar style, you can try Noto Sans Bengali or Noto Serif Bengali. You can download them from Google Fonts, where they're available for free. Additionally, other fonts like SolaimanLipi or Bangla MN may have a comparable look but might differ slightly in numeral heights.

Would you like help with downloading or implementing this font?

Took from the ChatGPT. Now you can look into it on your own.

prem-k-r commented 3 days ago

image Noto Sans Bengali doesn't really looks good

It seems it's hard to match English-like

maybe some css tweak can do it without changing font, like adjusting height of unit wrt last digit height I don't know, can't do

itz-rj-here commented 3 days ago

image Noto Sans Bengali doesn't really looks good

It seems it's hard to match English-like

maybe some css tweak can do it without changing font, like adjusting height of unit wrt last digit height I don't know, can't do

Ok i will look on it.