Bug 16732

Summary: fc-list: warn about unknown languages
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: fontconfigAssignee: Sergey V Turchin <zerg>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P2 CC: shrek, zerg
Version: unstable   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2008-08-18 19:28:26 MSD
$ rpm -qf "$(which fc-list)"

If a I pass some language as the pattern to fc-list:

$ fc-list :lang=udm; echo $?

and the result is empty, then two situations are indistinguishable: 

1) there are no fonts available for the Udmurt orthography;
2) the Udmurt orthography is not known to fc-list.

I suggest that

$ fc-list :lang=qwerty

should issue a warning that language "qwerty" is not known to it.
Comment 1 Sergey V Turchin 2022-07-25 10:14:29 MSK
А смысл отслеживать именно тут все существующие, мёртвые и искусственные языки? Нет -- значит нет.