space in \longrightarrow in lucida (mkiv)
Dear Hans, maybe my request comes a bit late, but nevertheless - how difficult is it to fix \longrightarrow in MKIV in Lucida font? (In MKII it works fine.) \setupbodyfont[lucida] \starttext $\longrightarrow$ \stoptext The arrow has white space in the middle. Thanks a lot, Mojca
Am 30.11.2010 17:54, schrieb Mojca Miklavec:
\setupbodyfont[lucida]
\starttext $\longrightarrow$ \stoptext
The arrow has white space in the middle.
in mkii \joinrel is \mkern-4mu in mkiv only \mkern-3mu \setupbodyfont[lucida] \def\longrightarrow{\relbar\mkern-4mu\rightarrow} \starttext $\longrightarrow$ \stoptext Herbert
On 30-11-2010 6:23, Herbert Voss wrote:
Am 30.11.2010 17:54, schrieb Mojca Miklavec:
\setupbodyfont[lucida]
\starttext $\longrightarrow$ \stoptext
The arrow has white space in the middle.
in mkii \joinrel is \mkern-4mu in mkiv only \mkern-3mu
\setupbodyfont[lucida] \def\longrightarrow{\relbar\mkern-4mu\rightarrow}
\starttext $\longrightarrow$ \stoptext
ok, will be fixed ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On Tue, Nov 30, 2010 at 19:16, Hans Hagen wrote:
On 30-11-2010 6:23, Herbert Voss wrote:
in mkii \joinrel is \mkern-4mu in mkiv only \mkern-3mu
\setupbodyfont[lucida] \def\longrightarrow{\relbar\mkern-4mu\rightarrow}
\starttext $\longrightarrow$ \stoptext
ok, will be fixed
Hans, this issues is not fixed. I assume that jointwo(...) function is used to create the longrightarrow and maybe that one doesn't get the spacing right. Thanks, Mojca
On Fri, Dec 3, 2010 at 11:42, Mojca Miklavec wrote:
Hans,
this issues is not fixed. I assume that jointwo(...) function is used to create the longrightarrow and maybe that one doesn't get the spacing right.
This fixes the problem indeed: jointwo (main,characters,id,size,0x27F6,0x0002D,4,0x02192) (line 332 in math-vfu.lua). It seems that joinrel is hardcoded to the value 3 in many places apart from this particular one. Maybe you need to introduce a new lua variable somewhere inside function vfmath.alas(main,id,size)? Thanks, Mojca
participants (3)
-
Hans Hagen
-
Herbert Voss
-
Mojca Miklavec