Underlining

2023-01-30 Thread Blake McBride
Greetings, I had a problem with producing underlines a few years ago. Werner provided a macro (.Underline) and included it in a file named ul.tmac. That file seems not to be a part of groff anymore. Having an old copy of that file, I tried it, and it worked perfectly. However, I wonder if there

Using arbitrary fonts

2023-01-30 Thread Blake McBride
Greetings, I have been using the default groff fonts for many happy years. However, I need to produce a document with a machine-generated signature. There are plenty of adequate signature fonts out there. However, I do not know how to make groff use them. I downloaded a font. It came with file

Re: Using arbitrary fonts

2023-01-30 Thread G. Branden Robinson
Hi Blake, At 2023-01-30T09:28:50-0600, Blake McBride wrote: > I have been using the default groff fonts for many happy years. > However, I need to produce a document with a machine-generated > signature. There are plenty of adequate signature fonts out there. > However, I do not know how to make

Re: Underlining

2023-01-30 Thread G. Branden Robinson
Hi Blake, At 2023-01-30T08:30:57-0600, Blake McBride wrote: > I had a problem with producing underlines a few years ago. Werner > provided a macro (.Underline) and included it in a file named ul.tmac. > That file seems not to be a part of groff anymore. I don't have any record of any such file e

Re: Using arbitrary fonts

2023-01-30 Thread Blake McBride
Hi Branden, Thanks a lot for the help!!! However, I am having trouble interpreting your docs. Please forgive me. Although I am a software engineer and have been using nroff/troff/groff for nearly 40 years, I never really got into the details behind fonts and their various formats. I basically

Re: Using arbitrary fonts

2023-01-30 Thread T. Kurt Bond
Blake, you may find it easier to use the install-font.sh script that is distributed on the website of the mom macros: https://www.schaffter.ca/mom/mom-05.html#install-font (Brandon, I still intend to posixify that script, but I fell off the edge of the world and it's a long climb back up.) On Mon

Re: Using arbitrary fonts

2023-01-30 Thread Blake McBride
Thanks a lot, Kurt!! That worked perfectly. Here is what I did: # sudo ./install-font.sh -s -c -d 'Qalisha Signature Script.ttf' I accepted all of the defaults and remembered the Then in my doc, I did: \f[QalishaSignatureScript]Blake McBride\f[] It came out just as I hoped. Thanks! Blake M

Re: Using arbitrary fonts

2023-01-30 Thread Dale Snell
Hi Blake, You can convert the .otf or .ttf fonts, using the methods that Branden and Kurt have already mentioned. The .woff and .woff2 fonts can be safely ignored. They are for web browser use. They're specially compressed (for transfer over the 'net) and have some XML bits (for licensing, I thi

Re: Underlining

2023-01-30 Thread Dan Plassche
Copying the list as I replied to Branden only by accident a few minutes ago. This should be the latest version of Werner's underlining macro: https://lists.gnu.org/archive/html/groff/2010-08/msg00017.html IIRC it still has problems when output goes across multiple lines (becomes continuous under