On Mon, Nov 02, 2020 at 09:55:45PM -0300, DieSpinne wrote: > If I try to set GNU Unifont as my Gvim's font I get errors. Attempt: > > :set gfn=-*-unifont-*-*-*-*-*-*-*-*-c-*-*-* > > Errors raised: > > E236: Font "-*-unifont-*-*-*-*-*-*-*-*-c-*-*-*" is not fixed-width > E596: Invalid font(s): gfn=-*-unifont-*-*-*-*-*-*-*-*-c-*-*-* > > Note that GNU Unifont is a fixed width font, as indicated by the "c" in the > spacing element. > There is no error with "-*-terminus-*-*-*-*-*-*-*-*-c-*-*-*", on the other > hand.
This error comes directly from comparing the XFontStruct's min_bounds.width and max_bounds.width values. If they differ, then the error is emitted. [XFontStruct]: https://manpages.debian.org/buster/libx11-doc/XFontStruct.3.en.html This implies there is a but in the font, such that it isn't truly the same width for all characters. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB