Re: xcalc missing fonts

From: Gary Aitken <freebsd_at_dreamchaser.org>
Date: Wed, 25 Jun 2025 04:25:11 UTC
On 6/24/25 16:13, Ralf Mardorf wrote:
> On Tue, 2025-06-24 at 13:44 -0800, Gary Aitken wrote:
>> It's my understanding all that's needed is xorg-fonts-100dpi or -75dpi
>> and way back when I'm pretty sure that was the case.
>>
>> Hints?
> 
> Probably the same issue as I experienced on Arch Linux.
> 
> I installed xorg-fonts-100dpi and -75dpi. After that I needed to run
> 
> $ xset fp+ /path_to_fonts_100dpi/,/path_to_fonts_75dpi/
> $ xset fp rehash
> 
> https://bugs.archlinux.org/task/42196

Thanks.
Interesting:

$ pkg info -l xorg-fonts-100dpi
xorg-fonts-100dpi-7.7:
         /usr/local/share/licenses/xorg-fonts-100dpi-7.7/LICENSE
         /usr/local/share/licenses/xorg-fonts-100dpi-7.7/NA
         /usr/local/share/licenses/xorg-fonts-100dpi-7.7/catalog.mk

That does not look promising; it's the same for all xorg-fonts* packages.
Where is the actual font data?

in /usr/ports/x11-fonts/xorg-fonts-100dpi:
# make fetch
===>  License NA accepted by the user
===>   xorg-fonts-100dpi-7.7 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by xorg-fonts-100dpi-7.7 for building
# make extract
===>  License NA accepted by the user
===>   xorg-fonts-100dpi-7.7 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by xorg-fonts-100dpi-7.7 for building
===>  Extracting for xorg-fonts-100dpi-7.7
# ls
Makefile        pkg-descr       work
# cd work
# ls -al
total 20
drwxr-xr-x  2 root  wheel  512 Jun 24 22:18 .
drwxr-xr-x  3 root  wheel  512 Jun 24 22:03 ..
-rw-r--r--  1 root  wheel    0 Jun 24 22:18 .build_done.xorg-fonts-100dpi._usr_local
-rw-r--r--  1 root  wheel    0 Jun 24 22:18 .configure_done.xorg-fonts-100dpi._usr_local
-rw-r--r--  1 root  wheel    0 Jun 24 22:03 .extract_done.xorg-fonts-100dpi._usr_local
-rw-r--r--  1 root  wheel  147 Jun 24 22:18 .license-catalog.mk
-rw-r--r--  1 root  wheel   56 Jun 24 22:18 .license-report
-rw-r--r--  1 root  wheel    0 Jun 24 22:18 .license_done.xorg-fonts-100dpi._usr_local
-rw-r--r--  1 root  wheel    0 Jun 24 22:18 .patch_done.xorg-fonts-100dpi._usr_local
-rw-r--r--  1 root  wheel   40 Jun 24 22:18 NA

Is that all correct?
Or is my ports tree (which hasn't been used since upgrading to 13.5) trashed?
   (but ports should be irrelevant here because everything was installed with pkgs)
I did a portsnap fetch ; portsnap update right after upgrading,
then a pkg delete -a
follwed by a bunch of pkg install(s)

pkg install -f xorg-fonts-100dpi
   doesn't change anything.

Thanks for any suggestions,
Gary