ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: Gerben Wierda via ntg-context <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Subject: Re: [NTG-context] Using the open source Cabin font
Date: Fri, 16 Jun 2023 15:25:39 +0200	[thread overview]
Message-ID: <92d83e77-dcde-f437-c787-bfb6008aa592@gmail.com> (raw)
In-Reply-To: <73A16FAE-284E-458B-8213-51AD5584227B@rna.nl>


[-- Attachment #1.1: Type: text/plain, Size: 5108 bytes --]

Hi Gerben,

can you try the static version of the fonts. When I tried the variable 
width version no files are listed but with the static version I had no 
problems to load the font.

\definefontfamily [archimate] [ss] [Cabin]

\setupbodyfont [archimate]

\starttext
{\bf The quick brown fox jumped over the lazy dog}

\input knuth
\stoptext

Wolfgang

Gerben Wierda via ntg-context schrieb am 16.06.2023 um 15:19:
> I was wrong, not just the bold doesn't work, /everything/ is replaced 
> with Latin Modern. Cabin isn't used at all.
>
>> On 16 Jun 2023, at 15:05, Gerben Wierda via ntg-context 
>> <ntg-context@ntg.nl <mailto:ntg-context@ntg.nl>> wrote:
>>
>> I've been trying to use the open source Cabin font 
>> (https://fonts.google.com/specimen/Cabin) like this:
>>
>> \definefontfamily
>>     [archimate]
>>     [ss]
>>     [Cabin]
>>     [tf=style:Regular,
>>      bf=style:Semibold,
>>      it=style:Italic,
>>      bi=style:Semibold Italic]
>> \setupbodyfont[archimate]
>>
>> \setuplanguage[en][patterns={en}]\mainlanguage[en]
>>
>> \starttext
>> \setupindenting[none]
>> \setupindenting[no]
>> {\bf The quick brown fox jumped over the lazy dog}
>>
>> \input knuth
>> \stoptext
>>
>> But when compiling I get no bold text
>>
>> I installed it in LMTX and it has been installed:
>>
>> gerben@hermione% mtxrun --script fonts --list --all --pattern='*abin*'
>> identifier                 familyname   fontname       filename       
>>                                     subfont   instances
>>
>> cabinitalic                 cabin        cabinitalic 
>> /Users/gerben/Library/Fonts/Cabin-Italic-VariableFont_wdth,wght.ttf   
>>     italic mediumitalic semibolditalic bolditalic
>> cabinitalicbolditalic       cabin        cabinitalic 
>> /Users/gerben/Library/Fonts/Cabin-Italic-VariableFont_wdth,wght.ttf   
>>     italic mediumitalic semibolditalic bolditalic
>> cabinitalicitalic           cabin        cabinitalic 
>> /Users/gerben/Library/Fonts/Cabin-Italic-VariableFont_wdth,wght.ttf   
>>     italic mediumitalic semibolditalic bolditalic
>> cabinitalicmediumitalic     cabin        cabinitalic 
>> /Users/gerben/Library/Fonts/Cabin-Italic-VariableFont_wdth,wght.ttf   
>>     italic mediumitalic semibolditalic bolditalic
>> cabinitalicsemibolditalic   cabin        cabinitalic 
>> /Users/gerben/Library/Fonts/Cabin-Italic-VariableFont_wdth,wght.ttf   
>>     italic mediumitalic semibolditalic bolditalic
>> cabinnormal                 cabin        cabinregular 
>> /Users/gerben/Library/Fonts/Cabin-VariableFont_wdth,wght.ttf       
>> regular medium semibold bold
>> cabinregular                cabin cabinregular 
>> /Users/gerben/Library/Fonts/Cabin-VariableFont_wdth,wght.ttf       
>> regular medium semibold bold
>> cabinregularbold            cabin cabinregular 
>> /Users/gerben/Library/Fonts/Cabin-VariableFont_wdth,wght.ttf       
>> regular medium semibold bold
>> cabinregularmedium          cabin cabinregular 
>> /Users/gerben/Library/Fonts/Cabin-VariableFont_wdth,wght.ttf       
>> regular medium semibold bold
>> cabinregularregular         cabin cabinregular 
>> /Users/gerben/Library/Fonts/Cabin-VariableFont_wdth,wght.ttf       
>> regular medium semibold bold
>> cabinregularsemibold        cabin cabinregular 
>> /Users/gerben/Library/Fonts/Cabin-VariableFont_wdth,wght.ttf       
>> regular medium semibold bold
>>
>> What am I missing?
>>
>> Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>, 
>> Mastodon <https://newsie.social/@gctwnl>)
>> R&A IT Strategy <https://ea.rna.nl/> (main site)
>> Book: Chess and the Art of Enterprise Architecture 
>> <https://ea.rna.nl/the-book/>
>> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>
>>
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an 
>> entry to the Wiki!
>>
>> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / 
>> https://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki     : https://contextgarden.net
>> ___________________________________________________________________________________
>
> Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>, 
> Mastodon <https://newsie.social/@gctwnl>)
> R&A IT Strategy <https://ea.rna.nl/> (main site)
> Book: Chess and the Art of Enterprise Architecture 
> <https://ea.rna.nl/the-book/>
> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 16862 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2023-06-16 13:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-16 13:05 Gerben Wierda via ntg-context
2023-06-16 13:19 ` Gerben Wierda via ntg-context
2023-06-16 13:25   ` Wolfgang Schuster via ntg-context [this message]
2023-06-16 13:41     ` Gerben Wierda via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=92d83e77-dcde-f437-c787-bfb6008aa592@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=wolfgang.schuster.lists@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).