[Fontconfig-bugs] [Bug 95496] New: Relative paths in dir element are handled relative to cwd

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 19 17:55:50 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95496

            Bug ID: 95496
           Summary: Relative paths in dir element are handled relative to
                    cwd
           Product: fontconfig
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: library
          Assignee: fontconfig-bugs at lists.freedesktop.org
          Reporter: freedesktop at behdad.org
        QA Contact: freedesktop at behdad.org

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...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20160519/2275fb84/attachment.html>


More information about the Fontconfig-bugs mailing list