[NTG-context] Symbola font glyph size

luigi scarso luigi.scarso at gmail.com
Sun Feb 13 17:53:10 CET 2011


2011/2/13 Vianney le Clément <vleclement at gmail.com>:
> On Sun, Feb 13, 2011 at 09:56, luigi scarso <luigi.scarso at gmail.com> wrote:
>> \definedfont[file:Symbola602.otf sa 2]
>> seems ok.
>> Try
>> \setupbodyfont[18pt]
>> \starttext
>> Gg {\definedfont[file:Symbola602.otf sa 2]Gg} Gg
>> M{\definedfont[file:Symbola602.otf sa 2 ]\char"1F3AD}M
>> and change
>> \setupbodyfont
>> to differents sizes.
>> Symbols should look ok.
>> \stoptext
>>
>> --
>> luigi
>
> The problem with "sa 2" is that the lineheight becomes too large and
> there is a lot of space at the right of the symbol. The glyphs look
> alright, but the metrics are twice too big.
> Renaming the file to .ttf as Taco suggests works fine though. Thanks
> both for your help.
It seems something wrong with otf loader, as taco wrote
\setupbodyfont[18pt]
\definefont[Sym][file:Symbola602.otf sa 2]
\starttext
AAAAAAAAAAAA

AAA\ruledhbox{\Sym\char"1F3AD}AAAAAAAAAAA

AAAAAAAAAAA
\stoptext


-- 
luigi


More information about the ntg-context mailing list