11 lines
397 B
Nix
11 lines
397 B
Nix
{ afdko }:
|
|
afdko.overridePythonAttrs (old: {
|
|
# FMA changes overlap-removal coordinates by 0.01 units on x86-64-v3.
|
|
# Separate multiply/add rounding reproduces the reference Type 1 font exactly.
|
|
env = (old.env or { }) // {
|
|
NIX_CFLAGS_COMPILE = (old.env.NIX_CFLAGS_COMPILE or "") + " -ffp-contract=off";
|
|
};
|
|
|
|
patches = (old.patches or [ ]) ++ [ ./check-overlap-font-content.patch ];
|
|
})
|