GNU bug report logs - #24175
artist mode rectangle shows ugly in Emacs

Previous Next

Package: emacs;

Reported by: Dean Chen <dean.chen <at> graphsql.com>

Date: Sun, 7 Aug 2016 06:08:02 UTC

Severity: minor

Tags: fixed

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24175 in the body.
You can then email your comments to 24175 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#24175; Package emacs. (Sun, 07 Aug 2016 06:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dean Chen <dean.chen <at> graphsql.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 07 Aug 2016 06:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dean Chen <dean.chen <at> graphsql.com>
To: bug-gnu-emacs <at> gnu.org
Subject: artist mode rectangle shows ugly in Emacs
Date: Sun, 7 Aug 2016 13:22:12 +0800
[Message part 1 (text/plain, inline)]
Hi,
  I am trying draw rectangle today in Emacs with artist mode. It looks
weird, see following screenshot.
[image: Inline image 1]

  But if I open this text file with chromium browser instead of emacs, it
looks normally. I guess the way that Emacs render this rectangle has a bug.


+---------------------------------------------+
                                       |
              |
                                       |
              |
                                       |
              |
                                       |
              |
                                       |
              |
                                       |
              |
                                       |
              |

+---------------------------------------------+


My OS is archlinux, Emacs version is 24.5.1. My laptop is Dell XPS 13 and
display resolution is 1920 * 1080.


-- 
Best Regards!
Dean Chen

+86 18652581062
GraphSQL Inc.
[Message part 2 (text/html, inline)]
[image.png (image/png, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24175; Package emacs. (Sun, 07 Aug 2016 10:07:02 GMT) Full text and rfc822 format available.

Message #8 received at 24175 <at> debbugs.gnu.org (full text, mbox):

From: Dean Chen <dean.chen <at> graphsql.com>
To: 24175 <at> debbugs.gnu.org
Subject: Re: bug#24175: artist mode rectangle shows ugly in Emacs
Date: Sun, 7 Aug 2016 18:06:52 +0800
[Message part 1 (text/plain, inline)]
for 1 question,

I use M-x describe-font, press Enter after mini buffer shows: Font
name(default current choice for ASCII chars).
Get the following info:

name (opened by):
-DAMA-Ubuntu-normal-normal-normal-*-17-*-*-*-*-0-iso10646-1
       full name:
Ubuntu:pixelsize=17:foundry=DAMA:weight=normal:slant=normal:width=normal:scalable=true
            size: 17
          height: 19
 baseline-offset:  0
relative-compose:  0

Also try to evaluate the expression in eshell, get the same result.

~ $ (face-attribute 'default :font)
#<font-object "-DAMA-Ubuntu-normal-normal-normal-*-17-*-*-*-*-0-iso10646-1">


for 2 question, please see the following screenshot, after C-u C-x RET,
mini buffer shows C-u C-x RET-
[image: Inline image 1]


-- 
Best Regards!
Dean Chen

+86 18652581062
GraphSQL Inc.
[Message part 2 (text/html, inline)]
[image.png (image/png, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24175; Package emacs. (Sun, 07 Aug 2016 14:02:02 GMT) Full text and rfc822 format available.

Message #11 received at 24175 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dean Chen <dean.chen <at> graphsql.com>
Cc: 24175 <at> debbugs.gnu.org
Subject: Re: bug#24175: artist mode rectangle shows ugly in Emacs
Date: Sun, 07 Aug 2016 17:00:55 +0300
> From: Dean Chen <dean.chen <at> graphsql.com>
> Date: Sun, 7 Aug 2016 13:22:12 +0800
> 
> I am trying draw rectangle today in Emacs with artist mode. It looks weird, see following screenshot.
> Inline image 1
> 
> But if I open this text file with chromium browser instead of emacs, it looks normally. I guess the way that
> Emacs render this rectangle has a bug.

I think the problem is that your default font is a proportional one.
You should use a fixed-pitch font when you work with artist mode.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24175; Package emacs. (Sun, 15 Apr 2018 23:16:02 GMT) Full text and rfc822 format available.

Message #14 received at 24175 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Dean Chen <dean.chen <at> graphsql.com>, 24175 <at> debbugs.gnu.org
Subject: Re: bug#24175: artist mode rectangle shows ugly in Emacs
Date: Mon, 16 Apr 2018 01:15:15 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Dean Chen <dean.chen <at> graphsql.com>
>> Date: Sun, 7 Aug 2016 13:22:12 +0800
>> 
>> I am trying draw rectangle today in Emacs with artist mode. It looks weird, see following screenshot.
>> Inline image 1
>> 
>> But if I open this text file with chromium browser instead of emacs, it looks normally. I guess the way that
>> Emacs render this rectangle has a bug.
>
> I think the problem is that your default font is a proportional one.
> You should use a fixed-pitch font when you work with artist mode.

Should artist-mode perhaps error out if the default font is a
proportional font?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24175; Package emacs. (Mon, 16 Apr 2018 18:19:01 GMT) Full text and rfc822 format available.

Message #17 received at 24175 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: dean.chen <at> graphsql.com, 24175 <at> debbugs.gnu.org
Subject: Re: bug#24175: artist mode rectangle shows ugly in Emacs
Date: Mon, 16 Apr 2018 21:18:37 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: Dean Chen <dean.chen <at> graphsql.com>,  24175 <at> debbugs.gnu.org
> Date: Mon, 16 Apr 2018 01:15:15 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: Dean Chen <dean.chen <at> graphsql.com>
> >> Date: Sun, 7 Aug 2016 13:22:12 +0800
> >> 
> >> I am trying draw rectangle today in Emacs with artist mode. It looks weird, see following screenshot.
> >> Inline image 1
> >> 
> >> But if I open this text file with chromium browser instead of emacs, it looks normally. I guess the way that
> >> Emacs render this rectangle has a bug.
> >
> > I think the problem is that your default font is a proportional one.
> > You should use a fixed-pitch font when you work with artist mode.
> 
> Should artist-mode perhaps error out if the default font is a
> proportional font?

Not sure about erroring out, but a warning might be a good idea.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24175; Package emacs. (Mon, 16 Apr 2018 19:21:02 GMT) Full text and rfc822 format available.

Message #20 received at 24175 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: dean.chen <at> graphsql.com, 24175 <at> debbugs.gnu.org
Subject: Re: bug#24175: artist mode rectangle shows ugly in Emacs
Date: Mon, 16 Apr 2018 21:20:17 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> Not sure about erroring out, but a warning might be a good idea.

I've now done so.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 16 Apr 2018 19:21:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 24175 <at> debbugs.gnu.org and Dean Chen <dean.chen <at> graphsql.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 16 Apr 2018 19:21:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 15 May 2018 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.