fontconfig-config breaks monospace and diacritics

Bug #559548 reported by Denis Moyogo Jacquerye
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fontconfig (Ubuntu)
Expired
Low
Unassigned

Bug Description

Besides being redundant (see https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/387848)
45-latin.conf and 60-latin.conf have contradictory aliases settings. The superseding one, 45-latin.conf is breaking the 'monospace' alias font when combining diacritics are being used by prioritizing Bitstream Vera Sans Mono over DejaVu Sans Mono.
DejaVu Sans Mono has characters and OpenType features Bitsteam Vera Sans Mono doesn't have. It doesn't make sense to prioritize Vera. This breaks things like "e" + U+0301, where 'e' comes from Vera and U+0301 comes from DejaVu.

see https://bugzilla.mozilla.org/show_bug.cgi?id=556715 or https://bug556715.bugzilla.mozilla.org/attachment.cgi?id=436657 for example.

45-latin.conf has
        <alias>
                <family>Bitstream Vera Sans Mono</family>
                <family>DejaVu Sans Mono</family>
                <family>Liberation Mono</family>
                <family>Inconsolata</family>
                <family>Courier New</family>
                <family>Courier</family>
                <family>Andale Mono</family>
                <family>Luxi Mono</family>
                <family>Cumberland AMT</family>
                <family>Cumberland</family>
                <family>Nimbus Mono L</family>
                <default><family>monospace</family></default>
        </alias>

60-latin.conf has
        <alias>
                <family>monospace</family>
                <prefer>
                        <family>DejaVu Sans Mono</family>
                        <family>Bitstream Vera Sans Mono</family>
                        <family>Inconsolata</family>
                        <family>Andale Mono</family>
                        <family>Courier New</family>
                        <family>Cumberland AMT</family>
                        <family>Luxi Mono</family>
                        <family>Nimbus Mono L</family>
                        <family>Courier</family>
                </prefer>
        </alias>

affects: ubuntu → fontconfig (Ubuntu)
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in fontconfig (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
madbiologist (me-again) wrote :

On Ubuntu 18.04.5, the output of fc-match Monospace is

DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"

Can you confirm this bug no longer occurs?

Changed in fontconfig (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for fontconfig (Ubuntu) because there has been no activity for 60 days.]

Changed in fontconfig (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.