Hi,

>Or they can simply do: sudo apt install fonts-noto-core

but flatpak users said that flatpak apps still use LKLUG, how to solve
that problem?

[different use case]
Also, the main problem is more complex than i thought.

>The point with the change is to make fontconfig give Noto Sans Sinhala 
>respective Noto Serif Sinhala ?higher precedence than LKLUG. The 
>fonts-noto-core package needs to be installed, of course, which it currently 
>is not for all users. So for a Sinhala speaking user, who wants to use Noto 
>fonts for rendering Sinhala, they can do either of these steps:
>
>* Select the Sinhala language when installing Ubuntu. That way fonts-noto-core 
>will be installed at first login.
>* Open Language Support and add the Sinhala language from there, which will 
>pull fonts-noto-core.

According to the details, if a sinhala language speaker or foreigner
keeps only english (default) or other language in the system and when
they view a sinhala web page using a web browser or use a text editor to
edit something, it looks like ubuntu still uses LKLUG as the default
font. please correct me if i am wrong. should i propose a small font
package like LKLUG?

we have thousands of sinhala fonts but no one maintains them like noto team 
maintains their fonts :D
https://sinhala-fonts.org/fonts https://sinhalafont.net/

As far as I know, proprietary operating systems come with high quality
and well-maintained fonts for all languages.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/2000551

Title:
  [System Fonts] Replace default sinhala font from LKLUG to Noto

Status in language-selector package in Ubuntu:
  Fix Released
Status in ubuntu-meta package in Ubuntu:
  Won't Fix
Status in language-selector source package in Jammy:
  Fix Committed
Status in language-selector source package in Kinetic:
  Fix Committed

Bug description:
  [ Impact ]

  The current default font for Sinhala (LKLUG) is unmaintained and comes
  with issues. Noto offers Sinhala fonts with significantly higher
  quality.

  fonts-lklug-sinhala is pulled by quite a few meta packages. Instead of
  changing that, the proposed change makes fontconfig give Noto Sans
  Sinhala respective Noto Serif Sinhala higher precedence than LKLUG,
  and that — together with installation of fonts-noto-core — seems to be
  sufficient to achieve the desired result.

  [ Test Plan ]

  * Install language-selector-[common,gnome] from
  [jammy,kinetic]-proposed.

  * Open Language Support and install the Sinhala language.

  * Open a terminal window and run this command:

    fc-match -a | grep -E 'LKLUG|Sinhala'

  * Confirm that Noto Sans Sinhala is listed before LKLUG.

  * Close Firefox and re-open it.

  * Visit e.g. https://si.wikipedia.org and confirm the
    improvement. (Also I (Gunnar), who don't speak Sinhala,
    notice a remarkable difference.)

  [ Where problems could occur ]

  No real problem in sight. Some Sinhala speaking users with fonts-noto-
  core installed will indeed see a surprise change when it starts to
  render Sinhala via Noto fonts instead of LKLUG. But that surprise
  ought to make them happy. :)

  Please note Robie Basak's warning about the changed font metrics in
  comment #7, though.

  [ Original description ]

  **What's the problem?**

  Currently ubuntu comes with LKLUG font for sinhala (si). it's not
  clear. e.g. we cannot recognize vowel signs and read websites using
  that font. We can change it manually but such changes do not apply to
  some applications or application types e.g. snap apps etc.

  LKLUG (last active: 2012) no one maintain it now.
  https://web.archive.org/web/20220000000000*/http://www.lug.lk/
  http://www.lug.lk/fonts/lklug

  **What expected to happen?**

  We would like to see Noto serif sinhala as the default font for sinhala 
language
  https://fonts.google.com/noto/specimen/Noto+Serif+Sinhala
  [Highlighs: clear (readable), thin, takes less space than sans sinhala]

  If noto sans is more suitable for ubuntuOS, you can add noto sans sinhala 
https://fonts.google.com/noto/specimen/Noto+Sans+Sinhala
  [Highlighs: clear (readable), thick, takes more space than serif sinhala]

  **Additional details**

  Screenshots (see the difference: LKLUG/Noto)

  LKLUG
  https://i.ibb.co/nbHM5Mw/lklug.jpg

  Noto Sinhala
  https://i.ibb.co/k9dbtYb/noto.jpg

  If you need more examples or clarifications, please add a comment

  Random posts
  1. https://groups.google.com/g/Sinhala-Unicode/c/LYxuJ44dY3g
  2. https://twitter.com/thilinag/status/1598707165920825344#m (LKLUG bug with 
some apps)
  3. 
https://www.reddit.com/r/srilanka/comments/nzpl9p/change_sinhala_font_in_ubuntu/

  Also, some developers already have designed tools, scripts for that problem 
however many people do not try to find these scripts and switch to other OS
  1. https://github.com/IMS94/UbuntuSinhalaFont (developer: PMC chair @apache)
  2. https://gist.github.com/thilinag/66577033fafd00c3dfdaa898c2478c79
  3. https://github.com/hankyoTutorials/linux-system-sinhala-font-changer

  Please review details, screenshots and posts. This is not a personal
  opinion and atleast, i expect to see this change in the next interim
  or LTS release.

  Furthermore, please let me know if i can help to speed-up this
  replacement process

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/2000551/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to