ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pawel Urbanski via ntg-context <ntg-context@ntg.nl>
To: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
Cc: Pawel Urbanski <urbanski.pawel@gmail.com>
Subject: Re: [NTG-context] Non-standard font alternatives
Date: Wed, 19 Apr 2023 23:57:36 +0200	[thread overview]
Message-ID: <11cc35e0-021c-6bac-29e3-c1ad91a73aaa@gmail.com> (raw)
In-Reply-To: <b7801a7e-34e1-4b4e-9ffa-2bd4762b00f8@fiee.net>

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

Dear Hraban,

No, it does not. I am attaching hte type file and the short test document.


Here are the links where one can download the fonts:

https://github.com/googlefonts/roboto/releases

https://fonts.google.com/specimen/Roboto+Slab

  I am wondering if 'hinted' or 'unhinted' release of Roboto found at 
Github matters.


Trust me, that your time ahd help if very much appriciated. I know how 
much time it may take to debug such issue - just for rewriting the files 
with small changes.




[-- Attachment #2: roboto.tex --]
[-- Type: text/plain, Size: 391 bytes --]

\usetypescriptfile[ebgaramond]
\usetypescriptfile[roboto]
\usebodyfont[roboto]
\setupbodyfont[roboto]

\setuphead[chapter]
[style={\switchtobodyfont[roboto,20pt]\ss}]

\starttext

     \startchapter[title=Whatever is the best title]
         \input tufte
     \stopchapter
\startchapter[title={Just a second title}]

Some random text.

\stopchapter

\stoptext

[-- Attachment #3: type-imp-roboto.mkiv --]
[-- Type: text/plain, Size: 5004 bytes --]

\definefontfeature[robotofeatures][
  mode=node,
  ccmp=yes, % character composition
  liga=yes, tlig=yes, % ligatures
  pnum=yes,
  cpsp=yes, % capital spacing
  kern=yes,
  language=dflt,
  protrusion=quality,
  expansion=quality,
]

\definefontfeature[smallcaps][ % use with \addff
  smcp=yes, % smallcaps
  % c2sc=yes, % caps to smallcaps
]

\starttypescript[sans][roboto,robotosans]
  \definefontsynonym[Roboto-Regular][name:robotoregular]
  \definefontsynonym[Roboto-Black][name:robotoblack]
  \definefontsynonym[Roboto-BlackItalic][name:robotoblackitalic]
  \definefontsynonym[Roboto-Bold][name:robotobold]
  \definefontsynonym[Roboto-BoldItalic][name:robotobolditalic]
  \definefontsynonym[Roboto-Italic][name:robotoitalic]
  \definefontsynonym[Roboto-Light][name:robotolight]
  \definefontsynonym[Roboto-LightItalic][name:robotolightitalic]
  \definefontsynonym[Roboto-Medium][name:robotomedium]
  \definefontsynonym[Roboto-MediumItalic][name:robotomediumitalic]
  \definefontsynonym[Roboto-Italic][name:robotoitalic]
%  \definefontsynonym[Roboto-Regular][name:robotoregular]
  \definefontsynonym[Roboto-Thin][name:robotothin]
  \definefontsynonym[Roboto-ThinItalic][name:robotothinitalic]
\stoptypescript

\starttypescript[sans][roboto,robotosans][name]
  \definefontsynonym [SansThin]         [Roboto-Thin]        [features=robotofeatures]
  \definefontsynonym [SansThinItalic]   [Roboto-ThinItalic]  [features=robotofeatures]
  \definefontsynonym [SansThinSlanted]  [Roboto-ThinItalic]  [features=robotofeatures]
  \definefontsynonym [SansLight]        [Roboto-Light]       [features=robotofeatures]
  \definefontsynonym [SansLightItalic]  [Roboto-LightItalic] [features=robotofeatures]
  \definefontsynonym [SansLightSlanted] [Roboto-LightItalic] [features=robotofeatures]
  \definefontsynonym [Sans]             [Roboto-Regular]     [features=robotofeatures]
  \definefontsynonym [SansItalic]       [Roboto-Italic]      [features=robotofeatures]
  \definefontsynonym [SansSlanted]      [Roboto-Italic]      [features=robotofeatures]
  \definefontsynonym [SansCaps]         [Roboto-Regular]     [features={robotofeatures,smallcaps}]
  \definefontsynonym [SansMedium]       [Roboto-Medium]      [features=robotofeatures]
  \definefontsynonym [SansMediumItalic] [Roboto-MediumItalic][features=robotofeatures]
  \definefontsynonym [SansMediumSlanted][Roboto-MediumItalic][features=robotofeatures]
  \definefontsynonym [SansBold]         [Roboto-Bold]        [features=robotofeatures]
  \definefontsynonym [SansBoldItalic]   [Roboto-BoldItalic]  [features=robotofeatures]
  \definefontsynonym [SansBoldSlanted]  [Roboto-BoldItalic]  [features=robotofeatures]
  \definefontsynonym [SansBlack]        [Roboto-Black]       [features=robotofeatures]
  \definefontsynonym [SansBlackItalic]  [Roboto-BlackItalic] [features=robotofeatures]
  \definefontsynonym [SansBlackSlanted] [Roboto-BlackItalic] [features=robotofeatures]
\stoptypescript

\starttypescript[sans][roboto-light][name]
  \definefontsynonym [Sans]             [Roboto-Light]         [features=robotofeatures]
  \definefontsynonym [SansItalic]       [Roboto-LightItalic]   [features=robotofeatures]
  \definefontsynonym [SansSlanted]      [Roboto-LightItalic]   [features=robotofeatures]
  \definefontsynonym [SansCaps]         [Roboto-Light]         [features={robotofeatures,smallcaps}]
  \definefontsynonym [SansBold]         [Roboto-Medium]        [features=robotofeatures]
  \definefontsynonym [SansBoldItalic]   [Roboto-MediumItalic]  [features=robotofeatures]
  \definefontsynonym [SansBoldSlanted]  [Roboto-MediumItalic]  [features=robotofeatures]
\stoptypescript

\starttypescript[sans][roboto-medium][name]
  \definefontsynonym [Sans]             [Roboto-Medium]     [features=robotofeatures]
  \definefontsynonym [SansItalic]       [Roboto-MediumItalic]      [features=robotofeatures]
  \definefontsynonym [SansSlanted]      [Roboto-MediumItalic]      [features=robotofeatures]
  \definefontsynonym [SansCaps]         [Roboto-Medium]     [features={robotofeatures,smallcaps}]
  \definefontsynonym [SansBold]         [Roboto-Black]        [features=robotofeatures]
  \definefontsynonym [SansBoldItalic]   [Roboto-BlackItalic]  [features=robotofeatures]
  \definefontsynonym [SansBoldSlanted]  [Roboto-BlackItalic]  [features=robotofeatures]
\stoptypescript

\starttypescript[roboto]
  \definetypeface [roboto] [ss] [sans]  [roboto] [default]
\stoptypescript

\starttypescript[roboto-light]
  \definetypeface [roboto-light] [ss] [sans]  [roboto-light] [default]
\stoptypescript

\starttypescript[roboto-medium]
  \definetypeface [roboto-medium] [ss] [sans]  [roboto-medium] [default]
\stoptypescript

[-- Attachment #4: 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-04-19 21:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-13  8:15 Matthew McCabe via ntg-context
2022-12-13  8:53 ` Hans Hagen via ntg-context
2022-12-14 10:49   ` Matthew McCabe via ntg-context
2023-01-06  7:55     ` Hans Hagen via ntg-context
2023-04-19 14:53       ` [NTG-context] " Pawel Urbanski via ntg-context
2023-04-19 16:52         ` Henning Hraban Ramm via ntg-context
2023-04-19 18:02           ` Pawel Urbanski via ntg-context
2023-04-19 19:24         ` Henning Hraban Ramm via ntg-context
2023-04-19 21:57           ` Pawel Urbanski via ntg-context [this message]
2023-04-20 21:34           ` Pawel Urbanski via ntg-context
2022-12-14 18:02 ` Wolfgang Schuster 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=11cc35e0-021c-6bac-29e3-c1ad91a73aaa@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=urbanski.pawel@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).