ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: No full Unicode-Support in ConTeXt?
Date: Sun, 24 Nov 2013 19:00:07 +0100	[thread overview]
Message-ID: <52923EA7.2090302@wxs.nl> (raw)
In-Reply-To: <20131124175004.GA4956@khaled-laptop>

On 11/24/2013 6:50 PM, Khaled Hosny wrote:
> On Sun, Nov 24, 2013 at 06:48:05PM +0100, Hans Hagen wrote:
>> On 11/24/2013 6:38 PM, Khaled Hosny wrote:
>>> On Sun, Nov 24, 2013 at 06:31:27PM +0100, Hans Hagen wrote:
>>>> On 11/24/2013 6:09 PM, Hans Hagen wrote:
>>>>
>>>>> shows me a "little sign" above the word
>>>>
>>>> the only issue i see is that this otf font has 2048 units and gets scaled
>>>> wrong (in luatex's backend probably)
>>>
>>> It is actually a TTF font but the extension confuses ConTeXt (we
>>> discussed this very issue before).
>>
>> afaik it passes the right unit value so the backend gets confused ... okay,
>> we could probably specify a font to be truetype when units ~= 1000 but still
>> ... i have no problem with forcing
>>
>> if units ~= 1000 and format ~= "truetype" then
>>      properties.format = "truetype"
>> end
>>
>> if we can assume all opentype fonts to be 1000
>
> No we can't. What we really need is a way for the fontloader to expose
> the format in the font table, because it already knows it.

ok, so we need a "format" key in the raw font table ("truetype" or 
"opentype")

Hans

-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2013-11-24 18:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-24 15:41 "H. Özoguz"
2013-11-24 17:09 ` Hans Hagen
2013-11-24 17:31   ` Hans Hagen
2013-11-24 17:38     ` Khaled Hosny
2013-11-24 17:48       ` Hans Hagen
2013-11-24 17:50         ` Khaled Hosny
2013-11-24 18:00           ` Hans Hagen [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=52923EA7.2090302@wxs.nl \
    --to=pragma@wxs.nl \
    --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).