Re: [NTG-context] wrong interlinespace or wrong font?

2013-06-25 Thread Sietse Brouwer
 I cannot compile your code either on my system or on
 http://live.contextgarden.net/. I don't know what the error might be,
 but I'm not able to compile it.

Yeah, that one's all my fault. I copy-pasted my working code to the
e-mail, then decided to add one little change (the extra \blackrule),
and promptly introduced an error. Forgot to close the \smash{ braces.
_ Correct code below.

Cheers,
Sietse

\setupinterlinespace[line=3.2ex]
\usemodule[simplefonts]
\setmainfont[UnifrakturMaguntia]
\starttext

xAAgfas\smash{\blackrule[height=1ex]}\smash{\blackrule[height=2mm]} \\
xAAgfas\smash{\blackrule[height=2ex]}  \\
xAAgfas\smash{\blackrule[height=3ex, color=red]}   \\
xAAgfas\smash{\blackrule[height=3.2ex, color=blue]}\\

\stoptext
___
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
___


Re: [NTG-context] wrong interlinespace or wrong font?

2013-06-24 Thread Sietse Brouwer
Hi Pablo,

I think this is a problem with the Unifraktur Maguntia font. I just
downloaded it [1], and measured it using \blackrule -- and the
x-height is indeed ridiculously low.

[1] from here: http://unifraktur.sourceforge.net/maguntia.html

\setupinterlinespace[line=3.2ex]
\usemodule[simplefonts]
\setmainfont[UnifrakturMaguntia]
\starttext

xAAgfas\smash{\blackrule[height=1ex]}\smash{\blackrule[height=2mm]\\
xAAgfas\smash{\blackrule[height=2ex]}\\
xAAgfas\smash{\blackrule[height=3ex, color=red]}\\
xAAgfas\smash{\blackrule[height=3.2ex, color=blue]}\\

\stoptext

Probably best to take this up with the font designer? I have no idea
how a font is supposed to declare its x-height. (I get the impression
that `font-con.lua` queries some parameter called 'xheight' or
'x_height', but you should take these impressions of mine with a grain
of salt.)

Cheers,
Sietse
___
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
___


Re: [NTG-context] wrong interlinespace or wrong font?

2013-06-24 Thread Pablo Rodríguez
On 24/06/13 10:26, Sietse Brouwer wrote:
 Hi Pablo,
 
 I think this is a problem with the Unifraktur Maguntia font. I just
 downloaded it [1], and measured it using \blackrule -- and the
 x-height is indeed ridiculously low.
 
 [1] from here: http://unifraktur.sourceforge.net/maguntia.html
 
 \setupinterlinespace[line=3.2ex]
 \usemodule[simplefonts]
 \setmainfont[UnifrakturMaguntia]
 \starttext
 
 xAAgfas\smash{\blackrule[height=1ex]}\smash{\blackrule[height=2mm]\\
 xAAgfas\smash{\blackrule[height=2ex]}\\
 xAAgfas\smash{\blackrule[height=3ex, color=red]}\\
 xAAgfas\smash{\blackrule[height=3.2ex, color=blue]}\\
 
 \stoptext
 
 Probably best to take this up with the font designer?

Many thanks for your reply, Sietse.

I'll report the proper bug to the font designer.

I cannot compile your code either on my system or on
http://live.contextgarden.net/. I don't know what the error might be,
but I'm not able to compile it.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] wrong interlinespace or wrong font?

2013-06-22 Thread Pablo Rodríguez
Dear list,

with the following sample:

\setupinterlinespace[line=3.2ex]
\usemodule[simplefonts]
\setmainfont[UnifrakturMaguntia]
\starttext
xAAbfas\\xAAbfas\\xAAbfas\\
\stoptext

I have the impression that the interline space is too small.

Has the font wrong defined metrics or is there something I'm missing?

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___