pitkali / pos-tip

Show tooltip at point
37 stars 14 forks source link

setq-default line-spacing breaks pos-tip #19

Closed yonta closed 1 year ago

yonta commented 1 year ago

When I am using pos-tip with (setq-default line-spacing 2), the pos-tip show empty box.

Environment

./configure --without-pop --without-mailutils --without-xaw3d \
            --without-gconf --without-selinux --with-x=yes \
            --with-x-toolkit=lucid --with-imagemagick \
            --with-cairo --with-json --with-native-compilation

Minimal code

(require 'pos-tip)
(setq-default line-spacing 2)
(pos-tip-show "TEST MESSAGE")

Screenshots

Expect

image

Actual

image

Workaround

(add-hook 'prog-mode-hook (lambda () (setq line-spacing 2)))