Bug 16732 - fc-list: warn about unknown languages
Summary: fc-list: warn about unknown languages
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: fontconfig (show other bugs)
Version: unstable
Hardware: all Linux
: P2 enhancement
Assignee: Sergey V Turchin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-18 19:28 MSD by Ivan Zakharyaschev
Modified: 2022-07-25 10:14 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2008-08-18 19:28:26 MSD
$ rpm -qf "$(which fc-list)"
fontconfig-2.6.0-alt1

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

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

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
А смысл отслеживать именно тут все существующие, мёртвые и искусственные языки? Нет -- значит нет.