Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
F
fontconfig
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 153
    • Issues 153
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 19
    • Merge Requests 19
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • fontconfig
  • fontconfig
  • Issues
  • #271

Closed
Open
Opened Dec 22, 2020 by Apteryks@Apteryks

feature request: Add support for XDG_DATA_DIRS

Hello,

The XDG base directory specification (https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) defines the XDG_DATA_DIRS as "a set of preference ordered base directories relative to which data files should be searched".

fontconfig currently only supports the XDG_DATA_HOME XDG environment variable, which is user-specific and can only include a single location.

Honoring XDG_DATA_DIRS would allow for fonts discovery on system where following the File Hierarchy Standard (FHS) is not practical (such as GNU Guix, NixOS, etc.)

Thank you for your consideration!

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: fontconfig/fontconfig#271