You are not logged in.

#1 2023-09-07 11:49:14

muddy79
Member
Registered: 2023-09-07
Posts: 1

Embedded bitmap font for Cambria used by chromium-based browsers

Hello,

I have a strange issue with displaying specific font by chromium-based browsers (confirmed on chromium 117.0.5938.48-1, google-chrome 116.0.5845.140-1, brave-bin 1.57.57-1 and microsoft-edge-stable-bin 116.0.1938.62-1, but it was the in a lot of previous versions before): Microsoft's Cambria font is displayed using embedded bitmap, so it looks crappy:
https://postimg.cc/QVJQDN3X

All other fonts containing embedded bitmaps (also all other MS fonts, like Calibri) are displayed correctly in these applications.

The same font is properly rendered by Mozilla Firefox:
https://postimg.cc/mtd7cdkJ

or by LibreOffice:
https://postimg.cc/bsYQwXy1

or any other GTK application, besides chromium-based browsers.

Obviously, I've disabled embeddedbitmap in font config: /etc/fonts/conf.d/20-disable-bitmaps.conf looks like:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <match target="font" >
        <edit name="embeddedbitmap" mode="assign">
            <bool>false</bool>
        </edit>
    </match>
</fontconfig>

It used to be quite common issue and the solution was always to disable embedded bitmaps, but in my case it does not work. Also, in my case, only ONE specific font is affected, in one family of applications, so I'm unable to find any hint how to solve it.

Have anyone experienced similar issue? Could you please give me any hint, how to proceed, besides removing Cambria completely / replacing it with some other similar font (like Candela)?

Offline

Board footer

Powered by FluxBB