[NTG-context] No full Unicode-Support in ConTeXt?

Hans Hagen pragma at wxs.nl
Sun Nov 24 19:00:07 CET 2013


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
-----------------------------------------------------------------


More information about the ntg-context mailing list