Подробности
[В начало]
Проблема в реализации № S0598
Краткое описание
FcConfigGetCache возвращает нулевой указатель
Подробное описание
В описании функции FcConfigGetCache сказано: "Returns the name of the file used to store per-user font information". Но она возвращает нулевой указатель, тогда как по документации функция должна возвращать имя кэш-файла.
Раздел стандарта
Fontconfig Developers Reference, Version 2.4.2
Пример
FcConfig *fc;
FcChar8 *s;
if (!(fc = FcConfigGetCurrent ()))
{
printf ("Could not get current config\n");
}
s = FcConfigGetCache (fc);
printf ( "FcConfigGetCache returned %s\n", s );
/*
* Returns the name of the file used to store per-user font information
*
* The function returned the null value instead of the file name
*/
Компонент
fontconfig 2.4.1 or later
Принято
freedesktop.org Bugzilla 12991
[В начало]
»