- Package:
- fontconfig
- Source:
- fontconfig
- Description:
- generic font configuration library - support binaries
- Submitter:
- Denis Danilov
- Date:
- 2026-07-21 07:35:01 UTC
- Severity:
- normal
Dear Maintainer, if the liberation fonts are the only ttf fonts intalled on a system, then "Liberation Mono" will match any font by default, e.g. in docker docker run -it debian:testing-slim /bin/bash # apt-get update # apt-get install --no-install-recommends fonts-liberation # apt-get install --no-install-recommends fontconfig # fc-match sans LiberationMono-Regular.ttf: "Liberation Mono" "Regular" # fc-match serif LiberationMono-Regular.ttf: "Liberation Mono" "Regular" * What outcome did you expect instead? an expected behavior will be that "sans" resolves to "Liberation Sans" and "serif" resolves to "Liberation Serif" by default. Best regards, Denis
control: reassign -1 fontconfig Hi there, Am Montag, den 24.07.2017, 20:02 +0200 schrieb Denis Danilov: this is pretty sure a bug in fontconfig itself, then, since the fonts- liberation package does not modify fontconfig's configuration in any way. BTW, what does "fc-match -a sans" print? - Fabian
Hi Fabian, the output of "fc-match -a sans" is LiberationMono-Regular.ttf: "Liberation Mono" "Regular" LiberationSans-Regular.ttf: "Liberation Sans" "Regular" LiberationSerif-Regular.ttf: "Liberation Serif" "Regular" LiberationSansNarrow-Regular.ttf: "Liberation Sans Narrow" "Regular" LiberationMono-Bold.ttf: "Liberation Mono" "Bold" LiberationSans-Bold.ttf: "Liberation Sans" "Bold" LiberationSerif-Bold.ttf: "Liberation Serif" "Bold" LiberationSansNarrow-Bold.ttf: "Liberation Sans Narrow" "Bold" LiberationMono-Italic.ttf: "Liberation Mono" "Italic" LiberationSans-Italic.ttf: "Liberation Sans" "Italic" LiberationSerif-Italic.ttf: "Liberation Serif" "Italic" LiberationSansNarrow-Italic.ttf: "Liberation Sans Narrow" "Italic" LiberationMono-BoldItalic.ttf: "Liberation Mono" "Bold Italic" LiberationSans-BoldItalic.ttf: "Liberation Sans" "Bold Italic" LiberationSerif-BoldItalic.ttf: "Liberation Serif" "Bold Italic" LiberationSansNarrow-BoldItalic.ttf: "Liberation Sans Narrow" "Bold Italic" and it is the same for any fc-match -a ... command, like fc-match -a serif fc-match -a qwery ... Best, Denis
Am Montag, den 24.07.2017, 22:51 +0200 schrieb Denis Danilov: I see, what happens for "fc-match Arial" or "fc-match Helvetica"? - Fabian
Michelle - мое имя, пожалуйста, надеюсь, что вы получили мое предложение. Мне нужен ваш срочный ответ. Мишель благодаря
Dear maintainer, This bug is quite possibly fixed in the latest version of fontconfig. Please consider upgrading. https://gitlab.freedesktop.org/fontconfig/fontconfig/-/work_items/457