Syriac (Estrangelo Edessa) query
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.
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 -----------------------------------------------------------------
participants (2)
-
Alan Bowen
-
Hans Hagen