Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

FcConfigGetFilename (3)

Name

FcConfigGetFilename - Find a config file

Synopsis

#include <fontconfig/fontconfig.h>

FcChar8 * FcConfigGetFilename (FcConfig *config, const FcChar8 *name);

Description

FcConfigGetFilename(3)                                  FcConfigGetFilename(3)



NAME
       FcConfigGetFilename - Find a config file

SYNOPSIS
       #include <fontconfig/fontconfig.h>

       FcChar8 * FcConfigGetFilename (FcConfig *config, const FcChar8 *name);

DESCRIPTION
       Given  the  specified external entity name, return the associated file-
       name.  This provides applications a way to convert  various  configura-
       tion file references into filename form.

       A  null  or  empty  name  indicates that the default configuration file
       should be used; which file this references can be overridden  with  the
       FONTCONFIG_FILE  environment variable. Next, if the name starts with ~,
       it refers to a file in the current users home directory.  Otherwise  if
       the  name  doesn't  start  with '/', it refers to a file in the default
       configuration directory; the built-in default directory can be overrid-
       den with the FONTCONFIG_PATH environment variable.

       The result of this function is affected by the FONTCONFIG_SYSROOT envi-
       ronment variable or equivalent functionality.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE       |
       +---------------+---------------------------+
       |Availability   | system/library/fontconfig |
       +---------------+---------------------------+
       |Stability      | Volatile                  |
       +---------------+---------------------------+

NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source  was  downloaded  from   https://fontconfig.org/release/fontcon-
       fig-2.14.0.tar.xz.

       Further information about this software can be found on the open source
       community website at https://fontconfig.org/.



Fontconfig 2.14.0                  31 3 2022            FcConfigGetFilename(3)