Font Palatino

2024-03-03 Thread Mikkel Meinike Nielsen
Hey fellow gruff users

Actually writing this makes me wonder how many we are around the world that
actually uses groff/troff on a regular basis.

What do you think a hundred?

Well I do use groff on a regular basis and have done that since I guess
2008. I've been playing with fonts every now and again but that's a long
time ago. I remember that Peter Scheffer had made a script that you could
quite easily add a true type font that you found somewhere and I did that
but that was many years ago.

I didn't use any non-basic fonts for a long time.

Now I am in a situation where I want to use the font called Palatino which
is in the ghost script package fonts. What would be the easiest step for me
to get Palatino working in my groff ms document?

/Mikkel from Denmark


Re: Font Palatino

2024-03-03 Thread Bjarni Ingi Gislason
  The manual pages for gropdf and grops should gave you enough
information.

  Looking at "fonts_x.ps" and "fonts_n.ps" shows you how the
glyphs look like

in the groff package hdtbl,
residing in the build directory ".../contrib/hdtbl/examples" in
the git repository and

in Debian
"/usr/share/doc/groff-base/examples/hdtbl".

  The Palatino fonts are on pages [26,29].



Re: Font Palatino

2024-03-03 Thread Peter Schaffter
On Sun, Mar 03, 2024, Mikkel Meinike Nielsen wrote:
> Now I am in a situation where I want to use the font called
> Palatino which is in the ghost script package fonts.  What would
> be the easiest step for me to get Palatino working in my groff ms
> document?

groff already ships with Palatino (URW-Palladio) in roman, italic,
bold, and bold-italic.  Nothing special is required to access the
fonts.  The single-letter identifier is P, thus
  .ft PR = Palatino roman
  .ft PI = Palatino italic
etc.

-- 
Peter Schaffter
https://www.schaffter.ca



Re: Font Palatino

2024-03-03 Thread Mikkel Meinike Nielsen
Thank you very much and nice to see that you are still active. :-)

søn. 3. mar. 2024 19.35 skrev Peter Schaffter :

> On Sun, Mar 03, 2024, Mikkel Meinike Nielsen wrote:
> > Now I am in a situation where I want to use the font called
> > Palatino which is in the ghost script package fonts.  What would
> > be the easiest step for me to get Palatino working in my groff ms
> > document?
>
> groff already ships with Palatino (URW-Palladio) in roman, italic,
> bold, and bold-italic.  Nothing special is required to access the
> fonts.  The single-letter identifier is P, thus
>   .ft PR = Palatino roman
>   .ft PI = Palatino italic
> etc.
>
> --
> Peter Schaffter
> https://www.schaffter.ca
>
>


Re: PDF hyperlinks working in Evice and xpdf but not Okular

2024-03-03 Thread G. Branden Robinson
[self-follow-up]

At 2024-01-30T20:06:51-0600, G. Branden Robinson wrote:
> I find that while the link text gets appropriately colored when
> viewing gropdf(1)-generated PDFs in both Evince and Okular (which I
> have handy), only in Evince do the links _work_.

I figured out the trouble here--PEBKAC.

You have to have Okular in "Browse" mode in the toolbar, as opposed to
"Text Selection" or some other thing.  This setting is persistent across
application launches on a per-document basis, which I did not expect.

So PDF hyperlinks in man(7) are working beautifully in Okular too.

Regards,
Branden


signature.asc
Description: PGP signature