Missing fonts on whatsapp web

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.
1 Like

@amoghvarsha:

First, welcome to the openSUSE Forums.


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.

 > 
1 Like

I can confirm that installing indic-fonts always gave me scripts like Devanagri, Bengali and a lot more.

1 Like

when trying to install , I am getting

‘fetchmsttfonts’ not found in package names. Trying capabilities.
No provider of ‘fetchmsttfonts’ found.

how to install it

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.

You can also use

zypper search "*font*" | grep -i "hindi"

   | tiro-devahindi-fonts  | Tiro Devanagari Hindi Fonts   | package

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.

HTH

1 Like
admin@localhost:~> zypper lr -d
# | Alias                       | Name                      | Enabled | GPG Check | Refresh | Keep | Priority | Type   | URI                                                                                                                                                                                           | Service
--+-----------------------------+---------------------------+---------+-----------+---------+------+----------+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------
1 | Leap                        | Leap 16.0                 | No      | ----      | ----    | -    |   99     | rpm-md | hd:/install?device=/dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_040197edc8093597a9e9f55f6f11ca58066a40a3482684e3f883c683c94444a1cde500000000000000000000c00c132b008c011891558107462e7cb6-0:0-part2 | 
2 | Packman                     | Packman                   | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | https://ftp.fau.de/packman/suse/openSUSE_Leap_16.0                                                                                                                                            | 
3 | brave-browser               | Brave Browser             | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | https://brave-browser-rpm-release.s3.brave.com/x86_64                                                                                                                                         | 
4 | openSUSE:repo-non-oss       | repo-non-oss (16.0)       | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/distribution/leap/16.0/repo/non-oss/x86_64                                                                                                                            | openSUSE
5 | openSUSE:repo-non-oss-debug | repo-non-oss-debug (16.0) | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/debug/distribution/leap/16.0/repo/non-oss/x86_64                                                                                                                      | openSUSE
6 | openSUSE:repo-openh264      | repo-openh264 (16.0)      | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Leap_16                                                                                                                                          | openSUSE
7 | openSUSE:repo-oss           | repo-oss (16.0)           | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64                                                                                                                                | openSUSE
8 | openSUSE:repo-oss-debug     | repo-oss-debug (16.0)     | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/debug/distribution/leap/16.0/repo/oss/x86_64                                                                                                                          | openSUSE
9 | openSUSE:repo-oss-source    | repo-oss-source (16.0)    | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/source/distribution/leap/16.0/repo/oss                                                                                                                                | openSUSE


admin@localhost:~> sudo zypper install fetchmsttfonts
[sudo] password for admin: 
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
'fetchmsttfonts' not found in package names. Trying capabilities.
No provider of 'fetchmsttfonts' found.
Resolving package dependencies...
Nothing to do.

नमस्ते

I have the package indic-fonts installed for ages and can read the above just fine.

My bad - I installed Leap in distrobox, and ‘latest’ is 15.6, not 16.0. :person_facepalming: 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.

My main issue is resolved with indic-fonts installation
Thank You @dcurtisfra

@hendersj I would still love your reply on mstt fonts, I might learn a thing or two and also others might benefit from it, awaiting on it.

Thank You Stefan for so detail on it, I will definitely try on myrlyn
Yes, Henk, thank you I can read that now too.

Frankly forum was my last try on opensuse. Thank You for all your help and quick reply. Looking forward on the forum.

1 Like

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).

I suggest using the Flatpak. it comes with everything itself

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.