ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* embolden a font
@ 2017-10-22 15:58 Ulrike Fischer
  2017-10-22 16:50 ` Pablo Rodriguez
  0 siblings, 1 reply; 6+ messages in thread
From: Ulrike Fischer @ 2017-10-22 15:58 UTC (permalink / raw)
  To: ntg-context

Is there anywhere an option to get an embolden effect as with the
following pdf literal? I found the extend option but it doesn't give
the intended look

\starttext
\font\test={Arial:mode=node;script=latn;language=DFLT;+tlig;}
\test

abc

\pdfextension literal direct {2 Tr 0.15 w}%
     abc
\pdfextension literal direct {0 Tr 0 w}%

\font\test={Arial:mode=node;script=latn;language=DFLT;+tlig;extend=1.1}
\test
abc
\stoptext



-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: embolden a font
  2017-10-22 15:58 embolden a font Ulrike Fischer
@ 2017-10-22 16:50 ` Pablo Rodriguez
  2017-10-22 17:31   ` Ulrike Fischer
  0 siblings, 1 reply; 6+ messages in thread
From: Pablo Rodriguez @ 2017-10-22 16:50 UTC (permalink / raw)
  To: ntg-context

On 10/22/2017 05:58 PM, Ulrike Fischer wrote:
> Is there anywhere an option to get an embolden effect as with the
> following pdf literal? I found the extend option but it doesn't give
> the intended look

Hi Ulrike,

I guess this gives a similar effect:

   \starteffect[both]abc\stopeffect

You can play with the options (search for "\setupeffect " in
http://www.pragma-ade.com/general/qrcs/setup-en.pdf).

I hope it helps,

Pablo


> \starttext
> \font\test={Arial:mode=node;script=latn;language=DFLT;+tlig;}
> \test
> 
> abc
> 
> \pdfextension literal direct {2 Tr 0.15 w}%
>      abc
> \pdfextension literal direct {0 Tr 0 w}%
> 
> \font\test={Arial:mode=node;script=latn;language=DFLT;+tlig;extend=1.1}
> \test
> abc
> \stoptext
> 
> 
> 


-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: embolden a font
  2017-10-22 16:50 ` Pablo Rodriguez
@ 2017-10-22 17:31   ` Ulrike Fischer
  2017-10-22 18:52     ` Pablo Rodriguez
  2018-05-12 17:47     ` Pablo Rodriguez
  0 siblings, 2 replies; 6+ messages in thread
From: Ulrike Fischer @ 2017-10-22 17:31 UTC (permalink / raw)
  To: ntg-context

Am Sun, 22 Oct 2017 18:50:39 +0200 schrieb Pablo Rodriguez:

>> Is there anywhere an option to get an embolden effect as with the
>> following pdf literal? I found the extend option but it doesn't give
>> the intended look

> I guess this gives a similar effect:
>    \starteffect[both]abc\stopeffect

Sorry I wasn't completly clear:  starteffect seems to work with
attributes on nodes but I'm looking for an *font* option (so that I
can create a faked bold font).

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: embolden a font
  2017-10-22 17:31   ` Ulrike Fischer
@ 2017-10-22 18:52     ` Pablo Rodriguez
  2018-05-12 17:47     ` Pablo Rodriguez
  1 sibling, 0 replies; 6+ messages in thread
From: Pablo Rodriguez @ 2017-10-22 18:52 UTC (permalink / raw)
  To: ntg-context

On 10/22/2017 07:31 PM, Ulrike Fischer wrote:
> Am Sun, 22 Oct 2017 18:50:39 +0200 schrieb Pablo Rodriguez:
>> I guess this gives a similar effect:
>>    \starteffect[both]abc\stopeffect
> 
> Sorry I wasn't completly clear:  starteffect seems to work with
> attributes on nodes but I'm looking for an *font* option (so that I
> can create a faked bold font).

As far as I know, thie isn’t implemented as a font feature (such as
slant).  As you say, stretch is something different.

I wonder whether Hans would be interested in implementing an embold font
feature.

Sorry for not being helpful,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: embolden a font
  2017-10-22 17:31   ` Ulrike Fischer
  2017-10-22 18:52     ` Pablo Rodriguez
@ 2018-05-12 17:47     ` Pablo Rodriguez
  2018-05-12 18:13       ` Hans Hagen
  1 sibling, 1 reply; 6+ messages in thread
From: Pablo Rodriguez @ 2018-05-12 17:47 UTC (permalink / raw)
  To: ntg-context

On 10/22/2017 07:31 PM, Ulrike Fischer wrote:
> Am Sun, 22 Oct 2017 18:50:39 +0200 schrieb Pablo Rodriguez:
> 
>>> Is there anywhere an option to get an embolden effect as with the
>>> following pdf literal? I found the extend option but it doesn't give
>>> the intended look
> 
>> I guess this gives a similar effect:
>>    \starteffect[both]abc\stopeffect
> 
> Sorry I wasn't completly clear:  starteffect seems to work with
> attributes on nodes but I'm looking for an *font* option (so that I
> can create a faked bold font).

Ulrike,

Hans has implemented it as font feature in latest beta (2018.05.12 00:07).

The feature itself is documented in:

    http://www.pragma-ade.com/general/manuals/onandon.pdf#page=83

Just in case it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: embolden a font
  2018-05-12 17:47     ` Pablo Rodriguez
@ 2018-05-12 18:13       ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2018-05-12 18:13 UTC (permalink / raw)
  To: ntg-context

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

On 5/12/2018 7:47 PM, Pablo Rodriguez wrote:
> On 10/22/2017 07:31 PM, Ulrike Fischer wrote:
>> Am Sun, 22 Oct 2017 18:50:39 +0200 schrieb Pablo Rodriguez:
>>
>>>> Is there anywhere an option to get an embolden effect as with the
>>>> following pdf literal? I found the extend option but it doesn't give
>>>> the intended look
>>
>>> I guess this gives a similar effect:
>>>     \starteffect[both]abc\stopeffect
>>
>> Sorry I wasn't completly clear:  starteffect seems to work with
>> attributes on nodes but I'm looking for an *font* option (so that I
>> can create a faked bold font).
> 
> Ulrike,
> 
> Hans has implemented it as font feature in latest beta (2018.05.12 00:07).
> 
> The feature itself is documented in:
> 
>      http://www.pragma-ade.com/general/manuals/onandon.pdf#page=83
> 
> Just in case it helps,
attached some more info ... the presentation itself is in

\setupbodyfont[modernlatin]

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

[-- Attachment #2: bachotex-2018-fonteffects.pdf --]
[-- Type: application/pdf, Size: 269685 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2018-05-12 18:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-22 15:58 embolden a font Ulrike Fischer
2017-10-22 16:50 ` Pablo Rodriguez
2017-10-22 17:31   ` Ulrike Fischer
2017-10-22 18:52     ` Pablo Rodriguez
2018-05-12 17:47     ` Pablo Rodriguez
2018-05-12 18:13       ` Hans Hagen

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