pathnirvana / tipitaka.lk

Buddha Jayanthi Tripitaka of Sri Lanka and its Sinhala translation. Also the cst pali atuwa and its sinhala translation
Other
44 stars 12 forks source link

Google fonts provide better rendering #54

Closed madurapa closed 1 year ago

madurapa commented 1 year ago

I just tried rendering views with some Sinhala fonts from Google. It appears sharper and more appealing than the current version.

image

I'm using Ubuntu and the Chrome browser.

Google Sinhala Fonts

pathnirvana commented 1 year ago

That is not a Google font, it is the lklug font which looks awful

On Wed, Nov 9, 2022, 20:54 Maduka Jayalath @.***> wrote:

I just tried rendering views with some Sinhala fonts from Google. It appears sharper and more appealing than the current version.

[image: image] https://user-images.githubusercontent.com/4289578/200847202-760bbabc-fb9b-4e99-9762-9f55c5443eb6.png

I'm using Ubuntu and the Chrome browser.

Google Sinhala Fonts https://fonts.google.com/?subset=sinhala

— Reply to this email directly, view it on GitHub https://github.com/pathnirvana/tipitaka.lk/issues/54, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKAIDZCHKI5DDOIFQBECFTWHOUIVANCNFSM6AAAAAAR3OTW2Y . You are receiving this because you are subscribed to this thread.Message ID: @.***>

madurapa commented 1 year ago

මම කියන්න උත්සාහ කලේ ගූගල් අකුරු දැම්මමාම ලස්සනට පේනවා කියලා (මම ට්‍රයි කරලා බැලුවා එහෙම දාලා, ඒකෙ ස්ක්‍රීන්ශ්ෂ්ෂොට් එකක් තමයි කලින් දැම්මෙ). එහෙම දැම්මමාම මෙහෙයුම් පද්ධතියෙන් ස්වායක්ත වෙලා එකම විදියට හැම පද්ධතියකම් පෙනෙයි කියලා කියන්නයි ඕනි කලේ.

image

pathnirvana commented 1 year ago

We are using un-abhaya which we prefer over noto fonts

On Wed, Nov 9, 2022, 21:39 Maduka Jayalath @.***> wrote:

මම කියන්න උත්සාහ කලේ ගූගල් අකුරු දැම්මමාම ලස්සනට පේනවා කියලා (මම ට්‍රයි කරලා බැලුවා එහෙම දාලා, ඒකෙ ස්ක්‍රීන්ශ්ෂ්ෂොට් එකක් තමයි කලින් දැම්මෙ). එහෙම දැම්මමාම මෙහෙයුම් පද්ධතියෙන් ස්වායක්ත වෙලා එකම විදියට හැම පද්ධතියකම් පෙනෙයි කියලා කියන්නයි ඕනි කලේ.

[image: image] https://user-images.githubusercontent.com/4289578/200858526-810fa078-c9f2-4e45-ad76-0df744d34204.png

— Reply to this email directly, view it on GitHub https://github.com/pathnirvana/tipitaka.lk/issues/54#issuecomment-1308863394, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKAIDZ3TM4XJI3NS2ODFNDWHOZQRANCNFSM6AAAAAAR3OTW2Y . You are receiving this because you commented.Message ID: @.***>

madurapa commented 1 year ago

image image

See the difference for yourself; it is up to you to decide what is best for the project rather than personal preference.

pathnirvana commented 1 year ago

definitely not a personal preference, earlier we had used noto as well. If you want to compare screenshots at least increase the font size to a comparable level. also think why newspapers and most sinhala books use abhaya instead of noto.

On Wed, Nov 9, 2022 at 9:59 PM Maduka Jayalath @.***> wrote:

[image: image] https://user-images.githubusercontent.com/4289578/200863582-a1890188-e990-4ef8-afc5-95fb741ee12f.png [image: image] https://user-images.githubusercontent.com/4289578/200863635-069daa53-12af-44c6-b0aa-ae9d5d0783b4.png

See the difference for yourself; it is up to you to decide what is best for the project rather than personal preference.

— Reply to this email directly, view it on GitHub https://github.com/pathnirvana/tipitaka.lk/issues/54#issuecomment-1308892283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKAID73C52JQX6WLCBBSMLWHO36VANCNFSM6AAAAAAR3OTW2Y . You are receiving this because you commented.Message ID: @.***>

-- - Path Nirvana

madurapa commented 1 year ago

If you meant that the screenshots I've attached are too small to see, you can enlarge them by clicking on them. I can clearly see the distinction.

I hope you understand the difference between display and print. (https://www.quora.com/What-is-the-difference-between-a-screen-font-and-a-printer-font)

Lankadeep site uses Malithi Web while Divaina uses Nato

image

1 Google Abhaya Libre 2 Google Noto Sans Sinhala

I believe Google fonts are screen optimized, and those Sinhala fronts were created by https://github.com/mooniak I suppose.

pathnirvana commented 1 year ago

On Thu, Nov 10, 2022 at 2:35 PM Maduka Jayalath @.***> wrote:

If you meant that the screenshots I've attached are too small to see, you can enlarge them by clicking on them. I can clearly see the distinction.

no that is not what I meant. you need to have the same size letters in both screenshots

I hope you understand the difference between display and print. ( https://www.quora.com/What-is-the-difference-between-a-screen-font-and-a-printer-font )

I believe Google fonts are screen optimized, and those Sinhala fronts were created by https://github.com/mooniak I suppose.

abhaya libre was created by mooniak. I created the UN-abhaya and rest of the UN fonts to look better on screen https://pitaka.lk/tools/unicode/download_unicode.htm#id-un-abhaya

— Reply to this email directly, view it on GitHub https://github.com/pathnirvana/tipitaka.lk/issues/54#issuecomment-1309885520, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKAID2SNE7JFXNNJNLSG6LWHSQSNANCNFSM6AAAAAAR3OTW2Y . You are receiving this because you commented.Message ID: @.***>

-- - Path Nirvana

madurapa commented 1 year ago

image

pathnirvana commented 1 year ago

You have to reduce the font size until same amount of content is displayed on both sides Left has 2 paragraphs while right has only one.

On Thu, Nov 10, 2022, 21:53 Maduka Jayalath @.***> wrote:

[image: image] https://user-images.githubusercontent.com/4289578/201123741-ecbfb745-544a-491a-88ef-ac2b013f4939.png

— Reply to this email directly, view it on GitHub https://github.com/pathnirvana/tipitaka.lk/issues/54#issuecomment-1310412066, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKAID7XLQD5LIQGVCEVV63WHUD5VANCNFSM6AAAAAAR3OTW2Y . You are receiving this because you commented.Message ID: @.***>

madurapa commented 1 year ago

Perhaps the issue is that your font lacks equivalence space between some characters.

image