groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using emoji with PDF device


From: G. Branden Robinson
Subject: Re: Using emoji with PDF device
Date: Fri, 15 Jul 2022 22:18:28 -0500

At 2022-07-14T19:23:55+0200, Andrea D'Amore wrote:
> On Thu, 14 Jul 2022 at 01:28, Deri <deri@chuzzlewit.myzen.co.uk> wrote:
> > As regards what fonts are available as standard for gropdf they are
> > listed on page 2 of the pdf version of the man page, you can see a
> > version here:- http://chuzzlewit.co.uk/WebManPDF.pl/man:/1/gropdf
> 
> I see, and none of those have emoji extension, right?

That's correct, but if you know their Unicode code points, you can
define your own groff special characters to ease access to them.

$ cat EXPERIMENTS/horns-char.groff
.char \[horns] \[u1F608]
Get up to mischief with groff!
\[horns]
.pl \n[nl]u
$ nroff EXPERIMENTS/horns-char.groff
Get up to mischief with groff!  😈

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]