Bug 1910930 - Customizations in fonts.conf not respected.
Summary: Customizations in fonts.conf not respected.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fontconfig
Version: 33
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-26 00:48 UTC by Luis Ortega
Modified: 2021-01-20 06:57 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-20 06:57:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
fonts.conf file (376 bytes, application/xml)
2020-12-26 00:48 UTC, Luis Ortega
no flags Details
Photo showing gucharmap showing the issue. (101.28 KB, image/jpeg)
2020-12-26 00:50 UTC, Luis Ortega
no flags Details

Description Luis Ortega 2020-12-26 00:48:40 UTC
Created attachment 1741977 [details]
fonts.conf file

Description of problem: I use a fonts.conf file to make the system use Cantarell's characters over DejaVu Sans and some of the asian Noto Sans variants when a font doesn't have them, however, I've noticed that in Fedora, this doesn't apply, and DejaVu Sans is still used instead of Cantarell.


Version-Release number of selected component (if applicable): 33


How reproducible: Always.


Steps to Reproduce:
1. Use my fonts.conf file
2. Open gucharmap and search for the U+2236 (ratio) character under "common".
3. Right click on it. 

Actual results: It shows DejaVu Sans instead of Cantarell.


Expected results: It should show Cantarell instead of DejaVu Sans.


Additional info:

Comment 1 Luis Ortega 2020-12-26 00:50:35 UTC
Created attachment 1741978 [details]
Photo showing gucharmap showing the issue.

Comment 2 Akira TAGOH 2021-01-19 02:29:41 UTC
Please attach the log for FC_DEBUG=7 fc-match sans-serif

Comment 4 Akira TAGOH 2021-01-20 06:57:04 UTC
That looks good to me and working as expected though?

and I didn't look at the screenshot though, it is because you chose IBM Plex Sans for rendering on gucharmap but it doesn't have a glyph for that, then just fallback to DejaVu Sans. that's normal. because your rule in fonts.conf is to use Cantarell as a fallback of "sans-serif" but not "IBM Plex Sans" or whatever.


Note You need to log in before you can comment on or make changes to this bug.