ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Misaligned Marks
@ 2011-06-19  5:11 Marc Trius
  2011-06-19  5:40 ` Marc Trius
  2011-06-19  5:52 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Marc Trius @ 2011-06-19  5:11 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 1968 bytes --]

Hi All,
I am trying to set some text in Hebrew with diacritical marks, and whenever there is a diacritical that's supposed to come in the middle of a letter, all the marks are coming off misaligned, right after the glyph rather than in the middle of it (or wherever they're supposed to be).

I've attached a ConTeXt and Gimp output using the same font, Ezra SIL.

Here is the code:

  \definefontfeature
    [hebrew] [
      mode=node,
      expansion=quality,
      protrusion=quality,
      language=dflt,
      script=hebr,
      liga=yes,
      rlig=yes,
      dlig=yes,
      clig=yes,
      mark=yes,
      mkmk=yes,
      kern=yes
      ]

  \starttypescript [serif] [ezrasil]
    \definefontsynonym	[Ezra-SIL-Regular]	[name:ezrasil]	[features=hebrew]
    \definefontsynonym	[Ezra-SIL-Bold]		[name:ezrasil]	[features=hebrew]
    \definefontsynonym	[Ezra-SIL-Italic]	[name:ezrasil]	[features=hebrew]
    \definefontsynonym	[Ezra-SIL-Bold-Italic]	[name:ezrasil]	[features=hebrew]
  \stoptypescript

  \starttypescript [serif] [ezrasil] [name]
    \definefontsynonym	[Serif]           	[Ezra-SIL-Regular]	[features=hebrew]
    \definefontsynonym	[SerifItalic]     	[Ezra-SIL-Italic]	[features=hebrew]
    \definefontsynonym	[SerifBold]       	[Ezra-SIL-Bold]	[features=hebrew]
    \definefontsynonym	[SerifBoldItalic] 	[Ezra-SIL-Bold-Italic][features=hebrew]
  \stoptypescript

      \definetypeface	[Hebrew]	[rm][serif][ezrasil]	[default] [features=hebrew]

\textdir TRT\pardir TRT\bodydir TRT\pagedir TRT

  \usetypescript   [Hebrew]
  \setupbodyfont   [Hebrew, 12pt]
  
\starttext
בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ
\stoptext

Thanks for your help.
-- 
Marc Trius <derpayatz@riseup.net>

"The enemy is the gramophone mind, whether or not one agrees with the record that is being played at the moment." --- George Orwell

[-- Attachment #2: hebrew-context.png --]
[-- Type: image/png, Size: 42495 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2011-06-19 20:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-19  5:11 Misaligned Marks Marc Trius
2011-06-19  5:40 ` Marc Trius
2011-06-19  5:52 ` Wolfgang Schuster
2011-06-19 18:39   ` Marc Trius
2011-06-19 20:58     ` Wolfgang Schuster

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