ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [OT] − RobotoSlab Italics… or not
@ 2013-11-23 17:51 Renaud Aubin
  2013-11-23 18:08 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Renaud Aubin @ 2013-11-23 17:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

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!"?

Best Regards,

Renaud

[-- Attachment #2: roboto_slab_italics-font-manager.png --]
[-- Type: image/png, Size: 41836 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re:  [OT] − RobotoSlab Italics… or not
  2013-11-23 17:51 [OT] − RobotoSlab Italics… or not Renaud Aubin
@ 2013-11-23 18:08 ` Wolfgang Schuster
  2013-11-23 19:25   ` Renaud Aubin
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2013-11-23 18:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re:  [OT] − RobotoSlab Italics… or not
  2013-11-23 18:08 ` Wolfgang Schuster
@ 2013-11-23 19:25   ` Renaud Aubin
  2013-11-24 11:53     ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Renaud Aubin @ 2013-11-23 19:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Le 23/11/2013 19:08, Wolfgang Schuster a écrit :
> 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
> ___________________________________________________________________________________

Thank you Wolfgang,

I've made a repo: https://github.com/nibua-r/roboto-context
Reviews are always welcome!

Any chance that this typescript could find a way to the main ConTeXt distro?

Renaud

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re:  [OT] − RobotoSlab Italics… or not
  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
  0 siblings, 2 replies; 6+ messages in thread
From: Hans Hagen @ 2013-11-24 11:53 UTC (permalink / raw)
  To: ntg-context

On 11/23/2013 8:25 PM, Renaud Aubin wrote:
> Le 23/11/2013 19:08, Wolfgang Schuster a écrit :
>> 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
>> ___________________________________________________________________________________
>
> Thank you Wolfgang,
>
> I've made a repo: https://github.com/nibua-r/roboto-context
> Reviews are always welcome!
>
> Any chance that this typescript could find a way to the main ConTeXt distro?

normally typescripts like that end up in tex/context/third (maybe at 
some point we can collect extra typescripts in one package)

a few suggestions:

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

best define "roboto-slanted" as you don't want to overload other 
definitions of slanted and this is rather font specific .. and are you 
sure you want base mode here?

\definefontfeature[roboto-slanted][slant=.25]

\definefontsynonym [\s!SerifItalic] [\s!Serif] 
[\s!features={default,roboto-slanted}]

should also work and delays default

also, name type typescript type-imp-roboto.tex (or .mkiv)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re:  [OT] − RobotoSlab Italics… or not
  2013-11-24 11:53     ` Hans Hagen
@ 2013-11-24 14:51       ` Renaud Aubin
  2013-11-24 14:53       ` Wolfgang Schuster
  1 sibling, 0 replies; 6+ messages in thread
From: Renaud Aubin @ 2013-11-24 14:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

Thank you for the review and your suggestions!

Le 24/11/2013 12:53, Hans Hagen a écrit :
>
> normally typescripts like that end up in tex/context/third (maybe at
> some point we can collect extra typescripts in one package)

https://github.com/nibua-r/roboto-context/issues/1

Extra typescripts collection is a good idea. I have at least some
typescripts here for Minion, Meta, frutiger, …
Any other contributed typescripts are welcome!

>
> a few suggestions:
>
> \definefontfeature[slanted][default][mode=base,slant=.25]
>
> best define "roboto-slanted" as you don't want to overload other
> definitions of slanted and this is rather font specific .. and are you
> sure you want base mode here?

https://github.com/nibua-r/roboto-context/issues/2

>
> \definefontfeature[roboto-slanted][slant=.25]
>
> \definefontsynonym [\s!SerifItalic] [\s!Serif]
> [\s!features={default,roboto-slanted}]
>
> should also work and delays default

RobotoSlab doesn't get slanted without mode=base and/or
features={default,roboto-slanted}. I can't explain why but maybe
Wolfgang could explain since he is the one who provided the solution in
the first place.

https://github.com/nibua-r/roboto-context/issues/3
https://github.com/nibua-r/roboto-context/issues/4

>
> also, name type typescript type-imp-roboto.tex (or .mkiv)

https://github.com/nibua-r/roboto-context/issues/1

>
> Hans
>

Best Regards,

Renaud

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re:  [OT] − RobotoSlab Italics… or not
  2013-11-24 11:53     ` Hans Hagen
  2013-11-24 14:51       ` Renaud Aubin
@ 2013-11-24 14:53       ` Wolfgang Schuster
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2013-11-24 14:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 24.11.2013 um 12:53 schrieb Hans Hagen <pragma@wxs.nl>:

>> Any chance that this typescript could find a way to the main ConTeXt distro?
> 
> normally typescripts like that end up in tex/context/third (maybe at some point we can collect extra typescripts in one package)

I can add it to my typescript collection.

> a few suggestions:
> 
> \definefontfeature[slanted][default][mode=base,slant=.25]
> 
> best define "roboto-slanted" as you don't want to overload other definitions of slanted and this is rather font specific .. and are you sure you want base mode here?

Yes it is necessary because it doesn’t work when you use node mode.

> \definefontfeature[roboto-slanted][slant=.25]
> 
> \definefontsynonym [\s!SerifItalic] [\s!Serif] [\s!features={default,roboto-slanted}]
> 
> should also work and delays default

This older doesn’t work, only with “robot-slanted,default” the font gets slanted.

> also, name type typescript type-imp-roboto.tex (or .mkiv)

Why *imp* for third party typescripts?

Wolfgang

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

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

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-11-24 14:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-23 17:51 [OT] − RobotoSlab Italics… or not Renaud Aubin
2013-11-23 18:08 ` Wolfgang Schuster
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

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).