MS Sans Serif font in X11 under macOS

Christoph Kukulies kuku at kukulies.org
Sat Aug 22 10:39:51 UTC 2020



Funnily, when I run the same application (bsvc) locally on macOS against the same server (XQuartz 1.20.8 xorg server 1.20.8)
the font problem doesn’t show up.


It must be some other problem with the X11forwarding perhaps?


> Am 22.08.2020 um 11:23 schrieb Peter West <lists at pbw.id.au>:
> 
> On my Mojave installation, there’s am MS Reference Sans Serif.
> 
> 
>> On 22 Aug 2020, at 6:32 pm, Andrew Udvare <audvare at gmail.com <mailto:audvare at gmail.com>> wrote:
>> 
>> 
>> 
>> On Sat, Aug 22, 2020, 02:37 Christoph Kukulies <kuku at kukulies.org <mailto: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/cec8beb6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3363 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200822/cec8beb6/attachment.bin>


More information about the macports-users mailing list