Bug#973670: vim-athena: Vim Athena - E236: Font Unifont is not fixed width

2020-12-13 Thread James McCoy
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



Bug#973670: vim-athena: Vim Athena - E236: Font Unifont is not fixed width

2020-11-02 Thread DieSpinne
Package: vim-athena
Version: 2:8.1.0875-5
Severity: normal

Dear Maintainer,

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.


-- Package-specific info:

--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.athena
/usr/bin/vim is /usr/bin/vim.athena
/usr/bin/gvim is /usr/bin/vim.athena

-- System Information:
Debian Release: 10.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-12-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vim-athena depends on:
ii  libacl1 2.2.53-4
ii  libc6   2.28-10
ii  libgpm2 1.20.7-5
ii  libice6 2:1.0.9-2
ii  liblua5.2-0 5.2.4-1.1+b2
ii  libperl5.28 5.28.1-6+deb10u1
ii  libpython3.73.7.3-2+deb10u2
ii  libruby2.5  2.5.5-3+deb10u2
ii  libselinux1 2.8-1+b1
ii  libsm6  2:1.2.3-1
ii  libtcl8.6   8.6.9+dfsg-2
ii  libtinfo6   6.1+20181013-2+deb10u2
ii  libx11-62:1.6.7-1+deb10u1
ii  libxaw7 2:1.0.13-1+b2
ii  libxmu6 2:1.1.2-2+b3
ii  libxpm4 1:3.5.12-1
ii  libxt6  1:1.1.5-1+b3
ii  vim-common  2:8.1.0875-5
ii  vim-gui-common  2:8.1.0875-5
ii  vim-runtime 2:8.1.0875-5

vim-athena recommends no packages.

Versions of packages vim-athena suggests:
pn  cscope   
pn  vim-doc  

-- no debconf information