ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Symbola font glyph size
Date: Sun, 13 Feb 2011 17:53:10 +0100	[thread overview]
Message-ID: <AANLkTi=waROn4OMTW5yq26rM3UYnhmZVCbU_oSGmKQmA@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=_T=vxJ9H8vtt3AB0y2EzE-FMu2m3c-UtFWAaY@mail.gmail.com>

2011/2/13 Vianney le Clément <vleclement@gmail.com>:
> On Sun, Feb 13, 2011 at 09:56, luigi scarso <luigi.scarso@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
___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2011-02-13 16:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-12 19:48 Vianney le Clément
2011-02-12 20:09 ` Taco Hoekwater
2011-02-12 21:04   ` Vianney le Clément
2011-02-13  7:03   ` luigi scarso
2011-02-13  8:18     ` Vianney le Clément
2011-02-13  8:26       ` Taco Hoekwater
2011-02-13 16:21         ` Vianney le Clément
2011-02-13  8:56       ` luigi scarso
2011-02-13 16:24         ` Vianney le Clément
2011-02-13 16:53           ` luigi scarso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=waROn4OMTW5yq26rM3UYnhmZVCbU_oSGmKQmA@mail.gmail.com' \
    --to=luigi.scarso@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).