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


[bug #63354] Refine fallbacks.tmac

2024-03-03 Thread Dave
Follow-up Comment #33, bug #63354 (group groff):

Bjarni's proposed \[u2012] definition in comment #26 has two problems.
* It relies on a register (lfiguredash) that calculates the width of a zero
and a hair space based on the font size at the time the register is defined. 
This value will thus be incorrect at any other font size used later in the
document.
* It emits an extraneous apostrophe.  This input:

.nr lfiguredash \w'0'u-(2*\w'\^'u)
.char \[u2012] \^\v'-0.3m'\D'l \n[lfiguredash]u 0m'\v'0.3m\^'
.rm lfiguredash
.
1\[u2012]2\[u2012]3

produces the attached typeset output.

(file #55773)

___

Additional Item Attachment:

File name: figuredash.png Size:0 KB



AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-04b18e1179b14c0ef710c8e9c8e59d1e4bcd7bd0.tar.gz


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63332] [PATCH] recent fallbacks.tmac change degrades ASCII output

2024-03-03 Thread Dave
Follow-up Comment #17, bug #63332 (group groff):

[comment #3 comment #3:]
> However maybe we need a new ".if g" conditional operator that _really_
> does check to see if a glyph is available in the current font.

This (and some related proposed conditionals) is the subject of bug #64004.


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




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: 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 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].



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