Bug 1770450 - Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
Summary: Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.co...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fontconfig
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-09 11:18 UTC by lhaastdaiz
Modified: 2020-06-23 08:09 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-07 16:36:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description lhaastdaiz 2019-11-09 11:18:47 UTC
When upgrading to fontconfig-2.13.1-9.fc30.x86_64, dnf emits this warning:

Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"

$ cat -n /usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf
     1	<?xml version="1.0"?>
     2	<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
     3	<fontconfig>
     4	  <description>Re-define fonts dirs sample</description>
     5	
     6	  <reset-dirs />
     7	  <dir prefix="xdg">fonts</dir>
     8	
     9	</fontconfig>

Comment 1 Parag Nemade 2020-04-07 16:36:34 UTC
This is no more issue in Fedora. When fontconfig added this element, some applications did not process it while using fontconfig.

Comment 2 Kiren Pillay 2020-04-07 20:32:55 UTC
So what is the workaround for this? Are the applications that use fontconfig meant to change something? 

I am getting this bug when I launch my Android Studio.

Comment 3 Akira TAGOH 2020-04-08 02:47:16 UTC
Please ask to rebuild it against the latest version of fontconfig. this isn't really our issue since this was caused by bundled library in application. otherwise use flatpak.

Comment 4 Akira TAGOH 2020-04-08 02:49:16 UTC
I mean, in you case.

Comment 5 Anatoli Babenia 2020-06-23 08:09:59 UTC
Google sent me here. How to check which version of fontconfig was used and with which version to rebuild? I suspect that F32 ships with the "broken" fontconfig.


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