NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.4k stars 12.9k forks source link

julia-mono 0.055 breaks Xft-based programs #320702

Open rnhmjoj opened 1 week ago

rnhmjoj commented 1 week ago

Describe the bug

A clear and concise description of what the bug is.

Steps To Reproduce

Steps to reproduce the behavior:

  1. add julia-mono to fonts.packages
  2. run xterm -fn 'xft:JuliaMono'
  3. witness the Xlib error:
    X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
    Major opcode of failed request:  139 (RENDER)
    Minor opcode of failed request:  20 (RenderAddGlyphs)
    Serial number of failed request:  83
    Current serial number in output stream:  892

Additional context

Reverting to 0.054 fixes the issue.

Notify maintainers

@suhr

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

Add a :+1: reaction to issues you find important.

rnhmjoj commented 1 week ago

Upstream changelog: https://github.com/cormullion/juliamono/compare/v0.054...v0.055

suhr commented 1 week ago

See also: https://github.com/googlefonts/noto-emoji/issues/183. The xft bug is probably triggered by https://github.com/cormullion/juliamono/issues/201.

suhr commented 1 week ago

The future version of julia-mono should fix this issue, so keep it open for now.