Unfortunately, $FREETYPE_PROPERTIES is censored by sudo and chrome
sandbox (and the bug is WONTFIX in both freetype and chrome)

On 4/19/17, Vladimír Čunát <vcu...@gmail.com> wrote:
> Just my two cents.
>
> On 04/19/2017 01:25 PM, Volth wrote:
>> There is upstream-recommended way to "globally" set old interpreted
>> version via environment variable FREETYPE_PROPERTIES, which is not a
>> solution obviously: many processes do not inherit parent environment
>> (sudo, browser renderers run in sandbox, ...) .
>
>
>> Oh, LD_LIBRARY_PATH advice is very helpful.
>
> I can't see how setting $LD_LIBRARY_PATH is easier than setting
> $FREETYPE_PROPERTIES.  I believe the latter is safer, as it should only
> affect freetype.
>
> If you want details on (some) potential dangers of $LD_LIBRARY_PATH on
> nontrivial libs, you can study
> https://github.com/NixOS/nixpkgs/issues/16779
>
> --Vladimir
>
>
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to