ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* embolden font in LMTX
@ 2020-07-15 15:03 Pablo Rodriguez
  2020-07-16  8:36 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2020-07-15 15:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have the following sample:

    \definefontfamily
        [mainface]
        [rm]
        [TeX Gyre Pagella]
        [it={style:regular, features:{default, slanted}},
         bi={style:regular, features:{default, boldened, slanted}},
         bf={style:regular, features:{default, boldened}}]

    \setupbodyfont[mainface]

    \starttext
    \input{zapf}\\
    {\it \input{zapf}}\\
    {\bf \input{zapf}}\\
    {\bi \input{zapf}}\\
    \stoptext

I’m afraid that LMTX (current latest 2020.07.13 23:53) cannot deal with
the boldened feature. MkIV (from 2020.01.30 14:13) works just fine.

Am I missing something or have I hit a bug?

Many thanks for your help,

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] 3+ messages in thread

* Re: embolden font in LMTX
  2020-07-15 15:03 embolden font in LMTX Pablo Rodriguez
@ 2020-07-16  8:36 ` Hans Hagen
  2020-07-17 15:48   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2020-07-16  8:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 7/15/2020 5:03 PM, Pablo Rodriguez wrote:
> Dear list,
> 
> I have the following sample:
> 
>      \definefontfamily
>          [mainface]
>          [rm]
>          [TeX Gyre Pagella]
>          [it={style:regular, features:{default, slanted}},
>           bi={style:regular, features:{default, boldened, slanted}},
>           bf={style:regular, features:{default, boldened}}]
> 
>      \setupbodyfont[mainface]
> 
>      \starttext
>      \input{zapf}\\
>      {\it \input{zapf}}\\
>      {\bf \input{zapf}}\\
>      {\bi \input{zapf}}\\
>      \stoptext
> 
> I’m afraid that LMTX (current latest 2020.07.13 23:53) cannot deal with
> the boldened feature. MkIV (from 2020.01.30 14:13) works just fine.
> 
> Am I missing something or have I hit a bug?
I have a fix. This kind of trickery is complicated by the fact that mkiv 
and lmtx follow a bit different route and that there is still mkiv code 
around that does the lmtx backend stuff (mkiv also had a lua pdf backend 
but it was dropped at some point because it made no sense to keep it).

Features like these effects often are the result of playing around (as i 
always want something weirdly new to present at e.g. a BT or CTX meeting 
or just because it rains outside and I have a stack of new cd's to 
listen to). For sure they can be made better if there is demand.

The same is true for variables fonts, emoji etc ... all these were 
supported as soon as the fonts showed up providing them, but it's hard 
to predict if any of that is actually used or useful.

Anyway, you seem to use most trickery so ... fix in next upload (but I 
really do need to strip away old code some day).

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
-----------------------------------------------------------------
___________________________________________________________________________________
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] 3+ messages in thread

* Re: embolden font in LMTX
  2020-07-16  8:36 ` Hans Hagen
@ 2020-07-17 15:48   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2020-07-17 15:48 UTC (permalink / raw)
  To: ntg-context

On 7/16/20 10:36 AM, Hans Hagen wrote:
>> [...]
> I have a fix. This kind of trickery is complicated by the fact that mkiv
> and lmtx follow a bit different route and that there is still mkiv code
> around that does the lmtx backend stuff (mkiv also had a lua pdf backend
> but it was dropped at some point because it made no sense to keep it).
>
> Features like these effects often are the result of playing around (as i
> always want something weirdly new to present at e.g. a BT or CTX meeting
> or just because it rains outside and I have a stack of new cd's to
> listen to). For sure they can be made better if there is demand.
>
> The same is true for variables fonts, emoji etc ... all these were
> supported as soon as the fonts showed up providing them, but it's hard
> to predict if any of that is actually used or useful.
>
> Anyway, you seem to use most trickery so ... fix in next upload (but I
> really do need to strip away old code some day).

Many thanks for your reply, Hans.

I was checking the digitization of »Heraklit« (originally by Hermann
Zapf) and I noticed that embolden didn’t work properly in LMTX.

Just in case anyone is interested, the links for a discussion about the
project and download are https://typedrawers.com/discussion/3569/ and
https://www.greekfontsociety-gfs.gr/typefaces/20th_21st_century#GFS_Heraklit.

Many thanksf or your help,

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] 3+ messages in thread

end of thread, other threads:[~2020-07-17 15:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 15:03 embolden font in LMTX Pablo Rodriguez
2020-07-16  8:36 ` Hans Hagen
2020-07-17 15:48   ` Pablo Rodriguez

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