[Fontconfig-bugs] [Bug 74559] Pathnames mangled under windows

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 17 07:58:07 CET 2014


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

--- Comment #12 from Dirk <tomsies at mighty.co.za> ---
Yeah, I get your point also (with respect to stuff in fonts config other than
the fonts and cache directory) Note that the patch does achieve a cache
directory.

The (unpatched) code aleady makes effort to get the executable directory in the
event that dllMain is not invoked and then use that as a basis for fonts.conf
aquisition. Problem is that this executable will whatever the "run" directory
is at invokation i.e. equivalent to pwd.

In the event of a static link, I dont know of a way to get back to the
directory of the statically linked library from the executable? For example if
the library sits in /usr/local/lib, and my statically linked executable sits in
/opt/somestuff/bin, the closest I can come to finding a runtime directory will
be /opt/somestuff/bin with (to my limited knowledege) no way of getting back to
/usr/local/lib.

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


More information about the Fontconfig-bugs mailing list