Skip to content

Segfault when doing --symbols on WSLg #206

@stgiga

Description

@stgiga

I'm using WSLg in Windows 11's Terminal with the WSL being Ubuntu 24.04, and I do chafa -f symbols 0..10ffff --glyph-file UnifontExMono.ttf and then the image file here oh and you can get the TrueType I used here but what I'm trying to get chafa to do is render an image in ALL characters in the font. The font doesn't have Symbols For Legacy Computing in it, because it's based on Unifont-JP 15.0.06 + Unifont 11.0.01 Upper. It has 65417 glyphs, and they are all assigned. It's a better fallback font than Unifont itself. I used JP because it has more characters, and thus more possible brightness values when used in this fashion. In fact, almost 16 bits of brightness. I just want to be able to use ALL the characters in it to make terminal art that is more-realistic. Please fix this. Also Ubuntu is stuck on 1.14.0 of chafa.

Chafa will segfault if I use --symbols with anything after it.

--symbols ascii will work, and --symbols 3400..9FFF will work too. It seems that ranges which have any unassigned characters in them will cause an instant segfault.

Also, UnifontEX, unlike regular Unifont, has been specially customized to work in a terminal (among other environments), and be the best terminal font for this type of thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions