Discussion:
[9fans] ligatures in troff
(too old to reply)
Rudolf Sykora
2012-02-09 12:07:39 UTC
Permalink
Hello,

when I try to use any ligature in troff (on p9p, but if I remember
correctly also on p9) , such as \(fi, I don't get it. Instead I see:

tr2post: <stdin>:6735 :WARNING: cannot find glyph, rune=0x66
stoken=<fi> troff font R

Is there any (preferrably simple) way to use the ligatures (they are,
I believe appropriate in the Times Roman font).
Do you also experience such behaviour?

Thank you!
Ruda
Rudolf Sykora
2012-02-20 10:20:46 UTC
Permalink
Hello,
Post by Rudolf Sykora
Hello,
when I try to use any ligature in troff (on p9p, but if I remember
tr2post: <stdin>:6735 :WARNING: cannot find glyph, rune=0x66
stoken=<fi> troff font R
As I have tried, the behaviour is the same on plan9 proper for me.
So nobody remembers what happened that we cannot use ligatures?

Thanks,
Ruda
erik quanstrom
2012-02-21 13:15:50 UTC
Permalink
Post by Rudolf Sykora
Hello,
Post by Rudolf Sykora
Hello,
when I try to use any ligature in troff (on p9p, but if I remember
tr2post: <stdin>:6735 :WARNING: cannot find glyph, rune=0x66
stoken=<fi> troff font R
As I have tried, the behaviour is the same on plan9 proper for me.
So nobody remembers what happened that we cannot use ligatures?
i think you simply need a font with ligatures. if you send troff
any rune that doesn't have a mapping in its font, then you get the same
output. try sending ♔ for example.

- erik

Loading...