9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Ligatures
@ 2004-04-19 14:45 j.krug
  2004-04-21 22:53 ` rog
  0 siblings, 1 reply; 16+ messages in thread
From: j.krug @ 2004-04-19 14:45 UTC (permalink / raw)
  To: 9fans

Hi,

Can anyone explain how troff handles ligatures on plan9? 

With this input 

.TS
center allbox;
l l l l l.
\(Fi	ffi	ffi	fb03	64259
\(fi	fi	fi	fb01	64257
\(ff	ff	ff	fb00	64256
\(Ae	AE	Æ	00c6	198
\(ae	ae	æ	00e6	230
\(fl	fl	fl	fb02	64258
\(Fl	ffl	ffl	fb04	64260
-	ft	ſt	fb05	64261
.TE

piped through tbl | troff -ms | lp -d stdout generates a postscript
file that will only display the ae ligatures (whether viewed with page
or printed).

The third column is from Compose X hex-code.

Or is this a font problem (which I am still unsure how to solve)?

The last page of /sys/doc/troff.ps (the tables of special characters
include the ligatures) seems to have the same behaviour.

I got the unicode values from 
	http://en.wikipedia.org/wiki/Ligature_(typography) 

Cheers,
John



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

end of thread, other threads:[~2004-04-22  8:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-19 14:45 [9fans] Ligatures j.krug
2004-04-21 22:53 ` rog
2004-04-21 23:00   ` boyd, rounin
2004-04-21 23:12     ` George Michaelson
2004-04-21 23:16       ` boyd, rounin
2004-04-21 23:41         ` George Michaelson
2004-04-21 23:58           ` boyd, rounin
2004-04-22  0:09             ` George Michaelson
2004-04-22  0:33               ` boyd, rounin
2004-04-22  0:47                 ` George Michaelson
2004-04-22  1:07                   ` boyd, rounin
2004-04-22  1:11                   ` Geoff Collyer
2004-04-22  1:13                     ` boyd, rounin
2004-04-22  1:21                     ` George Michaelson
2004-04-22  1:36                       ` boyd, rounin
2004-04-22  8:56       ` Dave Lukes

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 NNTP newsgroup(s).