ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: seyal.zavira@gmail.com,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: rendering arabic diacritics
Date: Thu, 9 May 2024 11:31:45 +0200	[thread overview]
Message-ID: <847288ab-c9bb-42be-ad48-c32b36911981@xs4all.nl> (raw)
In-Reply-To: <171524179695.1997.8053893645782323111@cgl.ntg.nl>

On 5/9/2024 10:03 AM, seyal.zavira@gmail.com wrote:
> Hi all,
> 
> when i want to use the linked font for arabic texts it doesn't render diacritics properly
> i doesn't have problem with this font in inkscape or libreoffice
> what featureset should i apply?
> 
> font link:
> https://drive.google.com/file/d/1hCcv6wqWjd-5GEKnaowh8E8YVbTgGqQr/view?usp=sharing
> 
> this is my MWE:
> \definefontfeature [arabis]
>       [mode=node,language=dflt,script=arab,
>     init=yes,medi=yes,fina=yes,isol=yes,
>     liga=yes,dlig=yes,rlig=yes,clig=yes,
>     mark=yes,mkmk=yes,kern=yes,curs=yes]
> \definefont [Ahang] [file:Ahang-Regular.otf*arabis at 18pt]
> \setupalign[r2l]
> \starttext
> {\Ahang تَشْكِيل  كَسْرَة}
> \stoptext

\definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt]

but there is an issue with widths, ill send you a patch to test

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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2024-05-09  9:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-09  8:03 [NTG-context] " seyal.zavira
2024-05-09  9:31 ` Hans Hagen [this message]
2024-05-09 12:17   ` [NTG-context] " Hamid,Idris
2024-05-09 12:29     ` Hans Hagen
2024-05-09 13:04       ` Hamid,Idris
2024-05-09 17:43         ` seyal zavira

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=847288ab-c9bb-42be-ad48-c32b36911981@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    --cc=seyal.zavira@gmail.com \
    /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).