Re: Cougar DTD extra character entities

esr@snark.thyrsus.com
Thu, 11 Jul 1996 13:02:38 -0400 (EDT)


From: esr@snark.thyrsus.com
Message-Id: <199607111702.NAA09882@snark.thyrsus.com>
Subject: Re: Cougar DTD extra character entities
To: imy@wcl-rs.bham.ac.uk (Ian Young)
Date: Thu, 11 Jul 1996 13:02:38 -0400 (EDT)
Cc: www-html@w3.org
In-Reply-To: <9607111509.AA14791@wcl-rs.bham.ac.uk> from "Ian Young" at Jul 11, 96 04:09:37 pm

> <!ENTITY boxul  SDATA "[boxul ]"--upper left quadrant-->
> <!ENTITY boxdl  SDATA "[boxdl ]"--lower left quadrant-->
> <!ENTITY boxdr  SDATA "[boxdr ]"--lower right quadrant-->
> <!ENTITY boxur  SDATA "[boxur ]"--upper right quadrant-->
> <!ENTITY boxvr  SDATA "[boxvr ]"--upper and lower right quadrants-->
> <!ENTITY boxvl SDATA "[boxvl ]"-- upper and lower left quadrants-- >
> <!ENTITY boxhu  SDATA "[boxhu ]"--upper left and right quadrants-->
> <!ENTITY boxhd  SDATA "[boxhd ]"--lower left and right quadrants-->
> <!ENTITY boxh   SDATA "[boxh  ]"--horizontal line -->
> <!ENTITY boxv   SDATA "[boxv  ]"--vertical line-->
> <!ENTITY boxvh  SDATA "[boxvh ]"--all four quadrants-->

Are these existing entities or proposals?
 
> > scan line 1             ACS_S1
> > scan line 9             ACS_S9
> 
> What are these?

Top line and bottom line of the character cell.  They're not very important.
 
> > diamond                 ACS_DIAMOND
> 
> Plenty of these in Unicode :-) You have a choice of:
> 
> 22C4;DIAMOND OPERATOR;Sm;0;ON;;;;;N;;;;;
> 2311;SQUARE LOZENGE;So;0;ON;;;;;N;;;;;
> 233A;APL FUNCTIONAL SYMBOL QUAD DIAMOND;So;0;L;;;;;N;;;;;
> 25C6;BLACK DIAMOND;So;0;ON;;;;;N;;;;;
> 25C7;WHITE DIAMOND;So;0;ON;;;;;N;;;;;
> 25C8;WHITE DIAMOND CONTAINING BLACK SMALL DIAMOND;So;0;ON;;;;;N;;;;;
> 25CA;LOZENGE;So;0;ON;;;;;N;;;;;
> 2662;WHITE DIAMOND SUIT;So;0;ON;;;;;N;;;;;
> 2666;BLACK DIAMOND SUIT;So;0;ON;;;;;N;;;;;
> 2756;BLACK DIAMOND MINUS WHITE X;So;0;ON;;;;;N;;;;;

25CA should do fine.
 
> And in 8879:
> 
> <!ENTITY diam   SDATA "[diam  ]"--/diamond B: open diamond-->
> <!ENTITY diams  SDATA "[diams ]"--/diamondsuit =diamond suit symbol-->
> <!ENTITY loz    SDATA "[loz   ]"--/lozenge - lozenge or total mark-->
> <!ENTITY lozf   SDATA "[lozf  ]"--/blacklozenge - lozenge, filled-->

I guess loz corresponds to 25CA?
 
> > checker board (stipple) ACS_CKBOARD
> 
> Oddly, all the chess pieces are in Unicode, but I can't find a board...

Hm.  Too bad.
 
> > degree symbol           ACS_DEGREE
> > plus/minus              ACS_PLMINUS
> 
> Both in HTML already:
>   &deg;
>   &plusmn;
> 
> > bullet                  ACS_BULLET
> 
> 2022;BULLET;Po;0;ON;;;;;N;;;;;
> 
> <!ENTITY bull   SDATA "[bull  ]"--/bullet B: =round bullet, filled-->

Good!
 
> > arrow pointing left     ACS_LARROW
> > arrow pointing right    ACS_RARROW
> > arrow pointing down     ACS_DARROW
> > arrow pointing up       ACS_UARROW
> 
> 2190;LEFTWARDS ARROW;So;0;ON;;;;;N;LEFT ARROW;;;;
> 2192;RIGHTWARDS ARROW;So;0;ON;;;;;N;RIGHT ARROW;;;;
> 2193;DOWNWARDS ARROW;So;0;ON;;;;;N;DOWN ARROW;;;;
> 2191;UPWARDS ARROW;So;0;ON;;;;;N;UP ARROW;;;;
> 
> <!ENTITY larr   SDATA "[larr  ]"--/leftarrow /gets A: =leftward arrow-->
> <!ENTITY rarr   SDATA "[rarr  ]"--/rightarrow /to A: =rightward arrow-->
> <!ENTITY uarr   SDATA "[uarr  ]"--/uparrow A: =upward arrow-->
> <!ENTITY darr   SDATA "[darr  ]"--/downarrow A: =downward arrow-->

Even better!
 
> > board of squares        ACS_BOARD
> 
> Unicode has this; any good?
> 
> 25A6;SQUARE WITH ORTHOGONAL CROSSHATCH FILL;So;0;ON;;;;;N;;;;;

That will do fine.
 
> > lantern symbol          ACS_LANTERN
> 
> What's this?

It normally looks like two small triangles placed vertically tips together.
The shape is like this:

 XXXXXXXXXXXXXX
  XXXXXXXXXXXX
   XXXXXXXXXX
    XXXXXXXX
     XXXXXX
      XXXX
     XXXXXX
    XXXXXXXX
   XXXXXXXXXX
  XXXXXXXXXXXX

It's not very important.
 
> > solid square block      ACS_BLOCK
> 
> 25A0;BLACK SQUARE;So;0;ON;;;;;N;;;;;
> 
> <!ENTITY squf   SDATA "[squf  ]"--/blacksquare =sq bullet, filled-->

That ought to work nicely.
-- 
	<a href="http://www.ccil.org/~esr/home.html">Eric S. Raymond</a>