unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Chris McMahan <first_initiallastname@one.dot.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs - W3m - Tables
Date: Wed, 16 Jan 2008 10:34:30 -0500	[thread overview]
Message-ID: <uve5teqd5.fsf@one.dot.net> (raw)
In-Reply-To: 5v66icF1kqmqrU1@mid.individual.net


The squares you see are a result of the font you're using. It doesn't
have the characters in the fontset necessary to draw the table.

You have two options that I can think of:

1. Use a different font within emacs that does support the full charset
   Bitstream Sans Mono and DejaVu Sans Mono work well for me. The
   DejaVu is actually a variant of the Bitstream with more characters
   included. You can find the DejaVu font here:
   http://sourceforge.net/projects/dejavu

2. Use ASCII characters only to draw the tables. You then revert to
   +, - and | characters to draw any tables and horizontal rules. They
   don't look as clean, but will be guaranteed to work no matter what
   font you use. You can change to this mode with the following
   setting in your configuration:
   (setq w3m-use-symbol nil)

I hope this helps!

- Chris

Will <schimpanski@gmx.de> writes:

> Hi,
>
> I'd like to view simple html tables within GNU Emacs using W3m.
> This works well for simple text. However, if I want to look at tables
> I get squared boxes instead of proper table borders.
>
> How can I tell Emacs/W3m to display it correctly?
>
> I am using GNU Emacs V22.1 on Windows XP. W3m is running under Cygwin.
>
> Best, Will

-- 
     (.   .)
  =ooO=(_)=Ooo=====================================
  Chris McMahan | first_initiallastname@one.dot.net
  =================================================

  reply	other threads:[~2008-01-16 15:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-16 11:02 Emacs - W3m - Tables Will
2008-01-16 15:34 ` Chris McMahan [this message]
2008-01-16 16:13   ` Will
2008-01-16 16:14   ` Will

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uve5teqd5.fsf@one.dot.net \
    --to=first_initiallastname@one.dot.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).