Re: [NTG-context] embolden font in LMTX

2020-07-17 Thread Pablo Rodriguez
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
___


Re: [NTG-context] embolden font in LMTX

2020-07-16 Thread Hans Hagen

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
___


[NTG-context] embolden font in LMTX

2020-07-15 Thread Pablo Rodriguez
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
___