Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F fontconfig
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 182
    • Issues 182
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 23
    • Merge requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • fontconfig
  • fontconfig
  • Issues
  • #180
Closed
Open
Issue created Oct 02, 2019 by Ben Wagner@benjaminwagner

"empty font directory name ignored" error for previously-valid config

With Fontconfig 2.13.1, we used a config file with a line like this: <dir prefix="xdg"></dir>

This worked fine -- the fonts were loaded from XDG_DATA_HOME, which was set to an appropriate directory in the environment.

With Fontconfig 2.13.92, this line produces the warning "empty font directory name ignored" and the directory is not added. This change was made in cb1df8cb

For backwards compatibility, I would suggest allowing the old behavior. If this functionality is deprecated, the warning should make that clear.

By the way, the following line seems to be parsed just fine in 2.13.92: <cachedir prefix="xdg"></cachedir> If this is also deprecated, I would suggest adding a warning when parsing cachedir as well.

As a workaround, I have modified the offending line to be: <dir prefix="xdg">.</dir> (with a dot as the dir name).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking