I recently installed Leap 16.0 with KDE, although I am not new to Linux, have only used it in office, so installation and everything is new to me. Hence tackling one problem at a time. I would love if you could guide me in right direction, been at this for several hours now
I was wondering why non English language fonts(I am from India, so some similar package fonts) are not being processed in Whats-app web. on Brave browser it shows boxes and on Firefox it has some lines inside boxes.
I have tried installing ‘packman’ repository also but it has no mstt font, as few searches said it could be missing Microsoft fonts
unable to pin point the issue, please put me on some proper path
If it is the MS fonts you need, the package you want is fetchmsttfonts. It’s in the main repository, just not installed by default. Here’s what’s in it:
$ zypper if fetchmsttfonts
Loading repository data...
Reading installed packages...
Information for package fetchmsttfonts:
---------------------------------------
Repository : Main Repository
Name : fetchmsttfonts
Version : 12.0-bp156.3.1
Arch : noarch
Vendor : openSUSE
Installed Size : 22.6 KiB
Installed : No
Status : not installed
Source package : fetchmsttfonts-12.0-bp156.3.1.src
Upstream URL : https://corefonts.sourceforge.net/
Summary : Helper package to download Microsoft Core fonts for the Web
Description :
This package contains a helper script that downloads and installs
a number of TrueType fonts collectively known as corefonts, or the
Core fonts for the Web. Originally made available my Micosoft under
a non-free End-user licence agreement (EULA), they continue to be
distributed subject to the same licence terms. The user is shown
a copy of the licence text upon execution.
The Core fonts for the Web include: Arial, Arial Black, Andale Mono,
Monotype, Courier New, Comic Sans MS, Georgia, Impact, Times New
Roman, Trebuchet MS, Verdana, Webdings.
When dealing with Fonts which are commercially licensed by a company registered on a Stock Exchange, there is a list of Metric-Compatible Open Source fonts – <Metric-compatible fonts>
For your case of a Localisation needed for Indic languages, there’s also this list: <Localization/Indic>
For the case of openSUSE, there’s at least these packages plus, whatever else is available – use either “zypper search“ or “Myrlyn” to search for the complete list of available packages in the openSUSE repositories:
> LANG=C zypper info indic-fonts
Loading repository data...
Reading installed packages...
Information for package indic-fonts:
------------------------------------
Repository : repo-oss (16.0)
Name : indic-fonts
Version : 20160512-bp160.1.1
Arch : noarch
Vendor : openSUSE
Installed Size : 6.2 MiB
Installed : No
Status : not installed
Source package : indic-fonts-20160512-bp160.1.1.src
Upstream URL : https://fedorahosted.org/lohit/
Summary : Professional Indian Language TrueType Fonts
Description :
This package contains many professional Indian language TrueType fonts
contributed by the community and some also donated by organizations to
open source. All fonts are available under GPL-2.0+ or OFL-1.1.
>
> LANG=C zypper info google-noto-sans-indicsiyaqnumbers-fonts
Loading repository data...
Reading installed packages...
Information for package google-noto-sans-indicsiyaqnumbers-fonts:
-----------------------------------------------------------------
Repository : repo-oss (16.0)
Name : google-noto-sans-indicsiyaqnumbers-fonts
Version : 20240901-160000.2.2
Arch : noarch
Vendor : SUSE LLC <https://www.suse.com/>
Installed Size : 35.8 KiB
Installed : No
Status : not installed
Source package : google-noto-fonts-20240901-160000.2.2.src
Upstream URL : https://notofonts.github.io/
Summary : Noto Indic Siyaq Numbers Sans Serif Font
Description :
Noto's design goal is to achieve visual harmonization (e.g., compatible
heights and stroke thicknesses) across languages. This package contains
IndicSiyaqNumbers Sans Serif font, hinted.
>
> LANG=C zypper info tiro-kannada-fonts
Loading repository data...
Reading installed packages...
Information for package tiro-kannada-fonts:
-------------------------------------------
Repository : repo-oss (16.0)
Name : tiro-kannada-fonts
Version : 1.52-bp160.1.9
Arch : noarch
Vendor : openSUSE
Installed Size : 472.6 KiB
Installed : No
Status : not installed
Source package : tiro-indigo-fonts-1.52-bp160.1.9.src
Upstream URL : https://github.com/TiroTypeworks/Indigo
Summary : Tiro Kannada Fonts
Description :
Tiro Kannada has its origins in a typeface designed for the
Murty Classical Library of India book series, so is especially suited to
traditional literary publishing but also made with the needs of today’s
multiple print and screen media in mind.
>
What command are you running, and what’s the exact output? Please use the ‘preformatted text’ option (that’s the button that looks like </> in the editor toolbar).
Also show us the execution of the command zypper lr -d.
You might not have a font package installed. I checked, but I couldn’t find much with “hindi” or “sanskrit” in the name; but you might know better which package names sound promising.
Use Myrlyn (sudo zypper in myrlyn if you don’t already have it), “View” → “Languages”, and in the list on the left, select “hi” (Hindi) to see the packages related to it.
Or switch to the “Search” tab and search for *font* to see all font packages; it might be bundled with other fonts for other languages or scripts from the same region.
Notice that there are several types of font packages: TrueType fonts for general use, X11 fonts only for the X Window System, TeX fonts for the TeX typesetting system, and more. For a web application running in the Internet browser, you will proably want TrueType fonts.
My bad - I installed Leap in distrobox, and ‘latest’ is 15.6, not 16.0. I made a bad assumption about the test environment, and now I need to submit a bug for that.
I think the advice from hcvv and shundhammer is probably what you’re looking for.
What I’ve found in my little more digging is that the fonts retrieved using the fetchmsttfonts package are actually not the current versions of the fonts; I’m guessing (but don’t know for sure) that that’s why the package was removed. Someone did build it and published it in the graphics repo (there was another forum thread about that), and basically it’s a script you can download and run if you really want the older fonts. But in Leap 16, I see there’s a bunch of Google-provided fonts that seem to cover the standard fonts (like times new roman and arial).