emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Custom Fonts Fail with Tables
@ 2009-02-01 21:47 Ryan
  2009-02-01 21:57 ` Matthew Lundin
  0 siblings, 1 reply; 3+ messages in thread
From: Ryan @ 2009-02-01 21:47 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 734 bytes --]

Hi,
When I change the default font to a custom font (such as Calibri or Arial),
the tables seem to get messed up.  For instance, if I have a table where I
have forced a column to a width of 40 that has an entry greater than 40
characters, it will correctly clip the entry and display the full item with
a tooltip.  If, however, I then change the font, the table becomes
disfigured, and a re-align does not fix it.  When I change the font back to
Courier and do a re-align, the table then becomes readable again.

Info:
Emacs 23 (latest EmacsW32)
XP Pro
6.16

I'm going to suppose that this is some kind of Windows fonts issue with
fixed-width fonts.  Are there any solutions?  I really prefer a font other
than Courier.

Thanks,
Ryan

[-- Attachment #1.2: Type: text/html, Size: 920 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Custom Fonts Fail with Tables
  2009-02-01 21:47 Custom Fonts Fail with Tables Ryan
@ 2009-02-01 21:57 ` Matthew Lundin
  2009-02-02  6:42   ` Yee Keat Phuah
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Lundin @ 2009-02-01 21:57 UTC (permalink / raw)
  To: Ryan; +Cc: emacs-orgmode


Ryan <rswaggie@gmail.com> writes:

> When I change the default font to a custom font (such as Calibri or Arial),
> the tables seem to get messed up.  

Calibri and Arial are sans-serif (i.e., not monospaced) fonts. Tables in
these fonts will not align, since the space between characters varies.

>
> I'm going to suppose that this is some kind of Windows fonts issue with
> fixed-width fonts.  Are there any solutions?  I really prefer a font other
> than Courier.

This page has a list of fixed-width/monospace fonts:

http://www.lowing.org/fonts/

Best,
Matt

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

* Re: Custom Fonts Fail with Tables
  2009-02-01 21:57 ` Matthew Lundin
@ 2009-02-02  6:42   ` Yee Keat Phuah
  0 siblings, 0 replies; 3+ messages in thread
From: Yee Keat Phuah @ 2009-02-02  6:42 UTC (permalink / raw)
  To: Matthew Lundin; +Cc: emacs-orgmode, Ryan

Hi,

On Mon, Feb 2, 2009 at 5:57 AM, Matthew Lundin <mdl@imapmail.org> wrote:
>
> Ryan <rswaggie@gmail.com> writes:
>
>> When I change the default font to a custom font (such as Calibri or Arial),
>> the tables seem to get messed up.
>
> Calibri and Arial are sans-serif (i.e., not monospaced) fonts. Tables in
> these fonts will not align, since the space between characters varies.

Adding to that, I would like to report that Chinese characters inside
tables will also cause the table to be misaligned. I guess its the
font width calculation issue as well. As far as I can tell visually,
each chinese character occupies 1.5 places of a monospaced font width.

Cheres,
Phuah Yee Keat

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

end of thread, other threads:[~2009-02-02  6:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-01 21:47 Custom Fonts Fail with Tables Ryan
2009-02-01 21:57 ` Matthew Lundin
2009-02-02  6:42   ` Yee Keat Phuah

Code repositories for project(s) associated with this 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).