Bug 95496

Summary: Relative paths in dir element are handled relative to cwd
Product: fontconfig Reporter: Behdad Esfahbod <freedesktop>
Component: libraryAssignee: fontconfig-bugs
Status: RESOLVED MOVED QA Contact: Behdad Esfahbod <freedesktop>
Severity: normal    
Priority: medium CC: dougfelt
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Behdad Esfahbod 2016-05-19 17:55:50 UTC
They should have been done relative to current file, not the processes cwd.

To fix this I suggest:

  - We do a deprecation warning for such cases and propose a fix:
  - Add a prefix="relative" that makes the relative path be relative to current file,
  - Add a prefix="cwd" for relative to cwd.  Might be useful for <dir prefix="cwd">fonts.conf</dir> for some usecases...
Comment 1 GitLab Migration User 2018-08-20 21:44:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/15.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.