From: Hans Hagen <j.hagen@xs4all.nl>
To: news3@nililand.de, mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: font-ocl.lua:76: attempt to call a nil value (field 'register')
Date: Thu, 22 Nov 2018 13:50:08 +0100 [thread overview]
Message-ID: <7f9619e3-f510-56e4-96aa-30e79d8e6758@xs4all.nl> (raw)
In-Reply-To: <hq1aouj4jwqh$.dlg@nililand.de>
On 11/21/2018 9:04 PM, Ulrike Fischer wrote:
> Am Wed, 21 Nov 2018 20:37:29 +0100 schrieb luigi scarso:
>
>
>> \definefontfeature[quran][mode=node,language=dflt,script=arab,
>> init=yes,medi=yes,fina=yes,isol=yes,
>> ccmp=yes,locl=yes,calt=yes,
>> liga=yes,clig=yes,dlig=yes,rlig=yes,
>> mark=yes,mkmk=yes,kern=yes,curs=yes,
>> colr=yes]
>> \definefont[quran][AmiriQuranColored*quran @ 18pt]
>>
>> I have just copied-and- pasted an example around, but
>> at least the "black-and-white" typography match.
>
> When I use this definitions I still get partly blue glyphs with this
> preamble. Don't you get them?
well, i don't know what to expect ... anyway:
\definefontfeature[quran][arabic][script=arab,colr=yes]
helps to get better arabic, also use \righttoleft instead of the dir
commands; the ^^ can be avoided with \Uchar"FDFD
in font-ocl you can change this
local default = false -- colorvalues[#colorvalues] --
or 1 or ... maybe make it an option
so, no default (i used the default as in emoji it was better that way
and those were the only fonts i had) .. when i have time i'll make it an
option
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2018-11-22 12:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-21 12:01 Ulrike Fischer
2018-11-21 12:37 ` Ulrike Fischer
2018-11-21 17:46 ` Hans Hagen
2018-11-21 18:04 ` Ulrike Fischer
2018-11-21 19:37 ` luigi scarso
2018-11-21 20:04 ` Ulrike Fischer
2018-11-22 12:50 ` Hans Hagen [this message]
2018-11-22 13:12 ` Ulrike Fischer
2018-11-22 13:46 ` luigi scarso
2018-11-22 15:14 ` Ulrike Fischer
2018-11-22 15:34 ` luigi scarso
2018-11-22 17:19 ` luigi scarso
2018-11-22 14:09 ` Hans Hagen
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=7f9619e3-f510-56e4-96aa-30e79d8e6758@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=news3@nililand.de \
--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).