MS Sans Serif font in X11 under macOS
Andrew Udvare
audvare at gmail.com
Sat Aug 22 08:32:57 UTC 2020
On Sat, Aug 22, 2020, 02:37 Christoph Kukulies <kuku at kukulies.org> wrote:
> I’m running a tk/tcl app on my FreeBSD box that has the font „MS Sans
> Serif“ wired in.
> This leads to an X11-error when starting the application (bsvc) with my
> macOS (catalina 15.5.6) as the server:
>
> $ bsvc
> X Error of failed request: BadName (named color or font does not exist)
> Major opcode of failed request: 45 (X_OpenFont)
> Serial number of failed request: 42
> Current serial number in output stream: 59
>
>
> Is there a way to install the missing font using a macport? Or what is the
> closest standard X11 font that can be used instead of the MS font?
>
That font should be included with macOS as it has been since Leopard. It's
possibly named slightly differently.
The closest font is probably Helvetica but your app has the MS font hard
coded.
>
> —
> Christoph
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200822/46e44483/attachment.htm>
More information about the macports-users
mailing list