* bug#20793: 25.0.50; Some Unicode glyphs aren't monospaced
@ 2015-06-12 12:54 Oleh Krehel
2015-06-12 13:43 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Oleh Krehel @ 2015-06-12 12:54 UTC (permalink / raw)
To: 20793
My preferred font is "DejaVu Sans Mono". When using the Unicode
character "✜", its width is more than the standard char width. This
causes alignment problems for me.
This issue doesn't occur in Emacs 24.5.2. There, the char has the same
width as all others.
Details on the char in Emacs 25:
position: 227 of 348 (65%), column: 35
character: ✜ (displayed as ✜) (codepoint 10012, #o23434, #x271c)
preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0x271C
script: symbol
syntax: w which means: word
category: .:Base
to input: type "C-x 8 RET 271c" or "C-x 8 RET HEAVY OPEN CENTRE CROSS"
buffer code: #xE2 #x9C #x9C
file code: #xE2 #x9C #x9C (encoded by coding system utf-8-emacs-unix)
display: by this font (glyph code)
xft:-unknown-Symbola-normal-normal-semicondensed-*-15-*-*-*-*-0-iso10646-1 (#x9F9)
Character code properties: customize what to show
name: HEAVY OPEN CENTRE CROSS
old-name: HEAVY OPEN CENTER CROSS
general-category: So (Symbol, Other)
decomposition: (10012) ('✜')
There are text properties here:
fontified t
Details on the char in Emacs 24.5.2:
position: 1819 of 2174 (84%), column: 5
character: ✜ (displayed as ✜) (codepoint 10012, #o23434, #x271c)
preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0x271C
script: symbol
syntax: w which means: word
category: .:Base
to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME"
buffer code: #xE2 #x9C #x9C
file code: #xE2 #x9C #x9C (encoded by coding system utf-8-unix)
display: by this font (glyph code)
xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1 (#xAD1)
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#20793: 25.0.50; Some Unicode glyphs aren't monospaced
2015-06-12 12:54 bug#20793: 25.0.50; Some Unicode glyphs aren't monospaced Oleh Krehel
@ 2015-06-12 13:43 ` Eli Zaretskii
2015-06-12 13:51 ` Oleh Krehel
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2015-06-12 13:43 UTC (permalink / raw)
To: Oleh Krehel; +Cc: 20793
> From: Oleh Krehel <ohwoeowho@gmail.com>
> Date: Fri, 12 Jun 2015 14:54:51 +0200
>
> My preferred font is "DejaVu Sans Mono". When using the Unicode
> character "✜", its width is more than the standard char width. This
> causes alignment problems for me.
Which alignment problems? Can you describe them?
In general, Emacs cannot ensure all characters it displays will be of
the same pixel width, this is simply impossible, especially when some
characters require the use of non-default fonts.
> This issue doesn't occur in Emacs 24.5.2. There, the char has the same
> width as all others.
>
> Details on the char in Emacs 25:
>
> position: 227 of 348 (65%), column: 35
> character: ✜ (displayed as ✜) (codepoint 10012, #o23434, #x271c)
> preferred charset: unicode (Unicode (ISO10646))
> code point in charset: 0x271C
> script: symbol
> syntax: w which means: word
> category: .:Base
> to input: type "C-x 8 RET 271c" or "C-x 8 RET HEAVY OPEN CENTRE CROSS"
> buffer code: #xE2 #x9C #x9C
> file code: #xE2 #x9C #x9C (encoded by coding system utf-8-emacs-unix)
> display: by this font (glyph code)
> xft:-unknown-Symbola-normal-normal-semicondensed-*-15-*-*-*-*-0-iso10646-1 (#x9F9)
>
> Character code properties: customize what to show
> name: HEAVY OPEN CENTRE CROSS
> old-name: HEAVY OPEN CENTER CROSS
> general-category: So (Symbol, Other)
> decomposition: (10012) ('✜')
>
> There are text properties here:
> fontified t
>
> Details on the char in Emacs 24.5.2:
>
> position: 1819 of 2174 (84%), column: 5
> character: ✜ (displayed as ✜) (codepoint 10012, #o23434, #x271c)
> preferred charset: unicode (Unicode (ISO10646))
> code point in charset: 0x271C
> script: symbol
> syntax: w which means: word
> category: .:Base
> to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME"
> buffer code: #xE2 #x9C #x9C
> file code: #xE2 #x9C #x9C (encoded by coding system utf-8-unix)
> display: by this font (glyph code)
> xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1 (#xAD1)
As you see, Emacs 25.0.50 used a different font for this character.
Why did you expect it to use DejaVu Sans Mono? What is your frame's
default font? Do you have any font-related customizations, and if so,
could you please show them?
Also, when was your Emacs 25 built? There were changes lately in this
area, so it's important to know whether your binary is recent or not.
(The output of "M-x report-emacs-bug RET" will be appreciated.)
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#20793: 25.0.50; Some Unicode glyphs aren't monospaced
2015-06-12 13:43 ` Eli Zaretskii
@ 2015-06-12 13:51 ` Oleh Krehel
2015-06-12 14:22 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Oleh Krehel @ 2015-06-12 13:51 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 20793
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Oleh Krehel <ohwoeowho@gmail.com>
>> Date: Fri, 12 Jun 2015 14:54:51 +0200
>>
>> My preferred font is "DejaVu Sans Mono". When using the Unicode
>> character "✜", its width is more than the standard char width. This
>> causes alignment problems for me.
>
> Which alignment problems? Can you describe them?
If all chars aren't the same width, it's impossible to align plain text
into a matrix, with each char exactly below the previous one.
> As you see, Emacs 25.0.50 used a different font for this character.
> Why did you expect it to use DejaVu Sans Mono? What is your frame's
> default font? Do you have any font-related customizations, and if so,
> could you please show them?
I just have `custom-theme-set-faces' with default :family "DejaVu Sans Mono".
So I would expect that to be used if possible.
> Also, when was your Emacs 25 built? There were changes lately in this
> area, so it's important to know whether your binary is recent or not.
I think I built it a week ago. I've just rebuilt 00119c6, and the bug is
gone. So I guess it's fine to close this bug. Just to add, in the old
build the curved quotes in Info weren't fixed width as well.
Thanks for reminding me to rebuild, I'll try to remember this for the
next bug report.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#20793: 25.0.50; Some Unicode glyphs aren't monospaced
2015-06-12 13:51 ` Oleh Krehel
@ 2015-06-12 14:22 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2015-06-12 14:22 UTC (permalink / raw)
To: Oleh Krehel; +Cc: 20793-done
> From: Oleh Krehel <ohwoeowho@gmail.com>
> Cc: 20793@debbugs.gnu.org
> Date: Fri, 12 Jun 2015 15:51:59 +0200
>
> >> My preferred font is "DejaVu Sans Mono". When using the Unicode
> >> character "✜", its width is more than the standard char width. This
> >> causes alignment problems for me.
> >
> > Which alignment problems? Can you describe them?
>
> If all chars aren't the same width, it's impossible to align plain text
> into a matrix, with each char exactly below the previous one.
I understand, but I hope you are aware that Emacs cannot possibly
promise not to disrupt this alignment. If you must align text, you
need to use the ':align-to' display property (assuming you are talking
about some specialized mode).
> > As you see, Emacs 25.0.50 used a different font for this character.
> > Why did you expect it to use DejaVu Sans Mono? What is your frame's
> > default font? Do you have any font-related customizations, and if so,
> > could you please show them?
>
> I just have `custom-theme-set-faces' with default :family "DejaVu Sans Mono".
> So I would expect that to be used if possible.
>
> > Also, when was your Emacs 25 built? There were changes lately in this
> > area, so it's important to know whether your binary is recent or not.
>
> I think I built it a week ago. I've just rebuilt 00119c6, and the bug is
> gone. So I guess it's fine to close this bug.
Done.
> Just to add, in the old build the curved quotes in Info weren't
> fixed width as well.
I guess you've updated your tree after I made a change that prefers
the Symbola font for symbols, but before I followed that up with a
change that caused Emacs to use the default font if it supports a
character, even though Symbola was preferred for them.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-06-12 14:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-12 12:54 bug#20793: 25.0.50; Some Unicode glyphs aren't monospaced Oleh Krehel
2015-06-12 13:43 ` Eli Zaretskii
2015-06-12 13:51 ` Oleh Krehel
2015-06-12 14:22 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).