ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re:  [OT] − RobotoSlab Italics… or not
Date: Sat, 23 Nov 2013 19:08:32 +0100	[thread overview]
Message-ID: <A96BD865-8107-4A40-B99B-3583ED4DF9DB@gmail.com> (raw)
In-Reply-To: <5290EB0B.4030900@renaud.io>


Am 23.11.2013 um 18:51 schrieb Renaud Aubin <root@renaud.io>:

> Hi folks,
> 
> I'm working on a Roboto typescript and starting from the work done by
> Zen Lima back in last July, I would like to push things further.
> Since I work on some Android projects and use Google Keep mostly on a
> daily basis, I was surprised to not find italics for the RobotoSlab
> (either on the web or by extracting the assets of the Keep package).
> 
> Why am I surprised: Keep do have serif title placeholders for the new
> note EditText and I see it everyday!
> 
> $ mtxrun --script font --list --all --pattern=robotoslab
> 
> robotoslab          robotoslabbold      RobotoSlab-Bold.ttf
> robotoslabbold      robotoslabbold      RobotoSlab-Bold.ttf
> robotoslablight     robotoslablight     RobotoSlab-Light.ttf
> robotoslabregular   robotoslabregular   RobotoSlab-Regular.ttf
> robotoslabthin      robotoslabthin      RobotoSlab-Thin.ttf
> 
> OK, RobotoSlab fonts are accessible and I have a working typescript to
> use RobotoSlab with ConTeXt MkIV (I'll made the git repo public soon).
> At first, my thoughts are: nevermind the Slab italics but now, I'm
> curious since Inkscape, LibreOffice, … propose the italic and bolditalic
> features of the RobotoSlab (check out the attached font-manager screenshot).
> I've worked with different kind of fonts'family (more or less complete)
> and used and modified many typescripts in my ConTeXter's life but there
> I should be missing something obvious. Where are the RobotoSlab
> Italics??? My experience is that italic and bolditalic should correspond
> to files… First guess: no files so the RobotoSlab Italic and BoldItalic
> features are just faked ones composed by my GNU/Linux Debian system. No,
> I must be wrong here too…
> 
> Any thoughts on "The Quest of the Hidden Italics of the RobotoSlab fonts!“?


The font has no italic but inkscape slants the regular and bold styles to get them,
you can do the same in context with the slant key from \definefontfeature.

\definefontfeature[slanted][default][mode=base,slant=.25]

\definefontfamily[roboto][rm][Roboto Slab][it=features:slanted,bi=features:slanted]

\setupbodyfont[roboto]

\starttext
Regular {\it Italic} {\bf Bold} {\bi BoldItalic}
\stoptext

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-11-23 18:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-23 17:51 Renaud Aubin
2013-11-23 18:08 ` Wolfgang Schuster [this message]
2013-11-23 19:25   ` Renaud Aubin
2013-11-24 11:53     ` Hans Hagen
2013-11-24 14:51       ` Renaud Aubin
2013-11-24 14:53       ` Wolfgang Schuster

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=A96BD865-8107-4A40-B99B-3583ED4DF9DB@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).