ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Syriac (Estrangelo Edessa) query
@ 2021-05-03 18:07 Alan Bowen
  2021-05-04  7:48 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Bowen @ 2021-05-03 18:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1198 bytes --]

I am trying to set text in the Syriac font Estrangelo Edessa.

Right now, I have the following (taken for the wiki):

\definefontfeature[semitic-complete]
  [mode=node,analyze=yes,language=dflt,ccmp=yes,
autoscript=position,autolanguage=position,
init=yes,medi=yes,fina=yes,isol=yes,
mark=yes,mkmk=yes,kern=yes,curs=yes,
liga=yes,dlig=yes,rlig=yes,clig=yes,calt=yes]
\definefontfeature[arabic]
  [semitic-complete]
[script=arab]
\definefontfeature[syriac]
  [arabic]
  [fin2=yes, fin3=yes, med2=yes]
\definefallbackfamily[mainface][rm][estrangeloedessa]
[range={syriac},
features=syriac]

\definefontfamily[mainface][rm][STIX Two Text]
[protrusion=quality,
expansion=quality,
mode=node,
force=yes,
features={default, f:oldstyle}]

\setupbodyfont[mainface, 20pt]
\starttext

Hello world!

{
\setupalign[r2l]
ܐܝܟ  ܟܝܢܐ  ܕܐܐܪܣ  ܡܲܥܕܢܘܬܗܘܢ  ܘܡܲܥܒܿܕܝܢ  ܩܪܒ̈ܐ  ܘܚܣܡܐ  ܠܗܠܝܢ
}
\stoptext

Though the file compiles, the Syriac text does not look the same as the
 source text (Estrangelo Edessa unicode). See attachment.

Any guidance in fixing this will be gladly received.

Alan

Disclaimer: I do not know Syriac.

[-- Attachment #1.2: Type: text/html, Size: 5913 bytes --]

[-- Attachment #2: FontTest.pdf --]
[-- Type: application/pdf, Size: 8902 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Syriac (Estrangelo Edessa) query
  2021-05-03 18:07 Syriac (Estrangelo Edessa) query Alan Bowen
@ 2021-05-04  7:48 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2021-05-04  7:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Alan Bowen

On 5/3/2021 8:07 PM, Alan Bowen wrote:
> I am trying to set text in the Syriac font Estrangelo Edessa.
> 
> Right now, I have the following (taken for the wiki):
> 
> \definefontfeature[semitic-complete]
> [mode=node,analyze=yes,language=dflt,ccmp=yes,
> autoscript=position,autolanguage=position,
> init=yes,medi=yes,fina=yes,isol=yes,
> mark=yes,mkmk=yes,kern=yes,curs=yes,
> liga=yes,dlig=yes,rlig=yes,clig=yes,calt=yes]
> \definefontfeature[arabic]
> [semitic-complete]
> [script=arab]
> \definefontfeature[syriac]
> [arabic]
> [fin2=yes, fin3=yes, med2=yes]
> \definefallbackfamily[mainface][rm][estrangeloedessa]
> [range={syriac},
> features=syriac]
> 
> \definefontfamily[mainface][rm][STIX Two Text]
> [protrusion=quality,
> expansion=quality,
> mode=node,
> force=yes,
> features={default, f:oldstyle}]
> 
> \setupbodyfont[mainface, 20pt]
> \starttext
> 
> Hello world!
> 
> {
> \setupalign[r2l]
> ܐܝܟ  ܟܝܢܐ  ܕܐܐܪܣ  ܡܲܥܕܢܘܬܗܘܢ  ܘܡܲܥܒܿܕܝܢ  ܩܪܒ̈ܐ  ܘܚܣܡܐ  ܠܗܠܝܢ
> }
> \stoptext
> 
> Though the file compiles, the Syriac text does not look the same as the 
>   source text (Estrangelo Edessa unicode). See attachment.
> 
> Any guidance in fixing this will be gladly received.
> 
> Alan
> 
> Disclaimer: I do not know Syriac.
me neither

\definefontfeature
   [syriac]
   [syriac]
   [language=dflt,script=syrc]

\starttext

{\definedfont[file:estre.ttf*syriac]\righttoleft ܐܝܟ  ܟܝܢܐ  ܕܐܐܪܣ 
ܡܲܥܕܢܘܬܗܘܢ  ܘܡܲܥܒܿܕܝܢ  ܩܪܒ̈ܐ  ܘܚܣܡܐ  ܠܗܠܝܢ}

\stoptext

we need to add a script key ... probably also in font-pre.*

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-04  7:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-03 18:07 Syriac (Estrangelo Edessa) query Alan Bowen
2021-05-04  7:48 ` Hans Hagen

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