Re: editing FcConfig in code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 12 Apr 2023 08:33:08 +0200, Jean Abou Samra wrote:

> FcConfigParseAndLoad(NULL, (FcChar8 *) "your-config-file.conf",
> FcTrue); ```
> 
> or
> 
> ```
> FcConfigParseAndLoadFromMemory(NULL, (FcChar8 *) "<the string of
> Fontconfig XML code that you would put in a file>", FcTrue); ```

Unfortunately, if these calls detect something wrong with the
configuration they read, they only print messages to stderr, without
returning any indication of what went wrong.



[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux