emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Unicode (double-byte?) goofs up text table layout
@ 2014-08-01 13:46 John Lusk
  2014-08-01 16:11 ` Grant Rettke
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: John Lusk @ 2014-08-01 13:46 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1.1: Type: text/plain, Size: 607 bytes --]

Hey, org-mode crew.  Awesome app; I love it.  It's pretty much the only
thing that keeps me in emacs these days (apart from writing Python code :)
).

You probably already know about this problem, but here's a thousand words:

​
(I hope that comes through.)

I'm sorry I only have time to whine and not fix, but, hey: day job and all.

GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN
Org-mode version 8.2.5h (8.2.5h-dist @
c:/usr/local/share/emacs/site-lisp/org/)

(Re-attaching pic at full size, since I don't know what gmail is going to
do to that insertion.)

John.

[-- Attachment #1.1.2: Type: text/html, Size: 1009 bytes --]

[-- Attachment #1.2: org-mode-table-with-unicode.PNG --]
[-- Type: image/png, Size: 9836 bytes --]

[-- Attachment #2: org-mode-table-with-unicode.PNG --]
[-- Type: image/png, Size: 9836 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unicode (double-byte?) goofs up text table layout
  2014-08-01 13:46 Unicode (double-byte?) goofs up text table layout John Lusk
@ 2014-08-01 16:11 ` Grant Rettke
  2014-08-01 17:10   ` John Lusk
  2014-08-01 16:32 ` Eric Abrahamsen
  2014-08-01 17:51 ` Achim Gratz
  2 siblings, 1 reply; 6+ messages in thread
From: Grant Rettke @ 2014-08-01 16:11 UTC (permalink / raw)
  To: John Lusk; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1179 bytes --]

Layout works for ASCII width characters

https://lists.gnu.org/archive/html/emacs-orgmode/2009-02/msg00323.html

The maintainers surely may tell you more, though.

Grant Rettke | ACM, ASA, FSF, IEEE, SIAM
gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson


On Fri, Aug 1, 2014 at 8:46 AM, John Lusk <johnlusk4@gmail.com> wrote:

> Hey, org-mode crew.  Awesome app; I love it.  It's pretty much the only
> thing that keeps me in emacs these days (apart from writing Python code :)
> ).
>
> You probably already know about this problem, but here's a thousand words:
>
> ​
> (I hope that comes through.)
>
> I'm sorry I only have time to whine and not fix, but, hey: day job and all.
>
> GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN
> Org-mode version 8.2.5h (8.2.5h-dist @
> c:/usr/local/share/emacs/site-lisp/org/)
>
> (Re-attaching pic at full size, since I don't know what gmail is going to
> do to that insertion.)
>
> John.
>
>

[-- Attachment #2: Type: text/html, Size: 2152 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unicode (double-byte?) goofs up text table layout
  2014-08-01 13:46 Unicode (double-byte?) goofs up text table layout John Lusk
  2014-08-01 16:11 ` Grant Rettke
@ 2014-08-01 16:32 ` Eric Abrahamsen
  2014-08-09 10:26   ` Axel Kielhorn
  2014-08-01 17:51 ` Achim Gratz
  2 siblings, 1 reply; 6+ messages in thread
From: Eric Abrahamsen @ 2014-08-01 16:32 UTC (permalink / raw)
  To: emacs-orgmode

John Lusk <johnlusk4@gmail.com> writes:

> Hey, org-mode crew.  Awesome app; I love it.  It's pretty much the
> only thing that keeps me in emacs these days (apart from writing
> Python code :) ).
>
> You probably already know about this problem, but here's a thousand
> words:
>
>
>     [cid]                                                                         
>
> ​
> (I hope that comes through.)

A bit of work has gone into keeping double-byte characters from messing
up Org tables, but my guess is what you've got there is just an odd-out
glyph. It looks like the, erm, carrots (I'm not a mathematician) are
getting borrowed from a different font and substituted into your
fixed-width font where they don't quite belong.

[five minutes later]

I just went and did my homework and LOGICAL OR and LOGICAL AND are
in fact single-byte characters. If they look funny, it's just because
few fixed-width fonts come with all the necessaries. I don't think
there's much way around that...

> I'm sorry I only have time to whine and not fix, but, hey: day job
> and all.
>
> GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN
> Org-mode version 8.2.5h (8.2.5h-dist @ c:/usr/local/share/emacs/
> site-lisp/org/)
>
> (Re-attaching pic at full size, since I don't know what gmail is
> going to do to that insertion.)
>
> John.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unicode (double-byte?) goofs up text table layout
  2014-08-01 16:11 ` Grant Rettke
@ 2014-08-01 17:10   ` John Lusk
  0 siblings, 0 replies; 6+ messages in thread
From: John Lusk @ 2014-08-01 17:10 UTC (permalink / raw)
  To: Grant Rettke; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]

Yeah, constant-width font.  I tried switching to utf-16, but that didn't
help.


On Fri, Aug 1, 2014 at 12:11 PM, Grant Rettke <gcr@wisdomandwonder.com>
wrote:

> Layout works for ASCII width characters
>
> https://lists.gnu.org/archive/html/emacs-orgmode/2009-02/msg00323.html
>
> The maintainers surely may tell you more, though.
>
> Grant Rettke | ACM, ASA, FSF, IEEE, SIAM
> gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
> “Wisdom begins in wonder.” --Socrates
> ((λ (x) (x x)) (λ (x) (x x)))
> “Life has become immeasurably better since I have been forced to stop
> taking it seriously.” --Thompson
>
>
> On Fri, Aug 1, 2014 at 8:46 AM, John Lusk <johnlusk4@gmail.com> wrote:
>
>> Hey, org-mode crew.  Awesome app; I love it.  It's pretty much the only
>> thing that keeps me in emacs these days (apart from writing Python code :)
>> ).
>>
>> You probably already know about this problem, but here's a thousand words:
>>
>> ​
>> (I hope that comes through.)
>>
>> I'm sorry I only have time to whine and not fix, but, hey: day job and
>> all.
>>
>> GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN
>> Org-mode version 8.2.5h (8.2.5h-dist @
>> c:/usr/local/share/emacs/site-lisp/org/)
>>
>> (Re-attaching pic at full size, since I don't know what gmail is going to
>> do to that insertion.)
>>
>> John.
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 2734 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unicode (double-byte?) goofs up text table layout
  2014-08-01 13:46 Unicode (double-byte?) goofs up text table layout John Lusk
  2014-08-01 16:11 ` Grant Rettke
  2014-08-01 16:32 ` Eric Abrahamsen
@ 2014-08-01 17:51 ` Achim Gratz
  2 siblings, 0 replies; 6+ messages in thread
From: Achim Gratz @ 2014-08-01 17:51 UTC (permalink / raw)
  To: emacs-orgmode

John Lusk writes:
> You probably already know about this problem, but here's a thousand
> words:

That has nothing to do with Org.  Your font (or any of the fallback
fonts that are tried instead) doesn't provide a single-width glyph for
the unicode codepoint you're using.  Emacs usually gets this right if
you have at least a fallback font for these glyphs that has the same
width _and_ single-width glyphs, so wither such a font is missing
completely on your system or the fontconfig is slightly messed up.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unicode (double-byte?) goofs up text table layout
  2014-08-01 16:32 ` Eric Abrahamsen
@ 2014-08-09 10:26   ` Axel Kielhorn
  0 siblings, 0 replies; 6+ messages in thread
From: Axel Kielhorn @ 2014-08-09 10:26 UTC (permalink / raw)
  To: Org-Mode Mailing List


Am 01.08.2014 um 18:32 schrieb Eric Abrahamsen <eric@ericabrahamsen.net>:

> John Lusk <johnlusk4@gmail.com> writes:
> 
>> Hey, org-mode crew.  Awesome app; I love it.  It's pretty much the
>> only thing that keeps me in emacs these days (apart from writing
>> Python code :) ).
>> 
> 
> A bit of work has gone into keeping double-byte characters from messing
> up Org tables, but my guess is what you've got there is just an odd-out
> glyph. It looks like the, erm, carrots (I'm not a mathematician) are
> getting borrowed from a different font and substituted into your
> fixed-width font where they don't quite belong.
> 
> [five minutes later]
> 
> I just went and did my homework and LOGICAL OR and LOGICAL AND are
> in fact single-byte characters. If they look funny, it's just because
> few fixed-width fonts come with all the necessaries. I don't think
> there's much way around that...

Both characters are in
DejaVu Sans Mono
Free Monospaced
Menlo

Try one of these fonts.

Axel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-09 10:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-01 13:46 Unicode (double-byte?) goofs up text table layout John Lusk
2014-08-01 16:11 ` Grant Rettke
2014-08-01 17:10   ` John Lusk
2014-08-01 16:32 ` Eric Abrahamsen
2014-08-09 10:26   ` Axel Kielhorn
2014-08-01 17:51 ` Achim Gratz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).