Dear list, a question concerning combining characters: I try to make a letter out of a small elevated „e“ (unicode 0364, combining latin small letter e) with „a“, „o“ and „u“ using Junicode with Wolfgang Schuster’s typescript. In Fontforge the mark positioning lookup looks good to me, but ConTeXt somehow seems to ignore the anchors in the font. The „mark“-feature is enabled in the typescript. Maybe someone can give me a hint how to get this working? Thanks in advance! Daniel
On Tue, Jun 14, 2011 at 21:11, Daniel Schopper wrote:
Dear list, a question concerning combining characters: I try to make a letter out of a small elevated „e“ (unicode 0364, combining latin small letter e) with „a“, „o“ and „u“ using Junicode with Wolfgang Schuster’s typescript. In Fontforge the mark positioning lookup looks good to me, but ConTeXt somehow seems to ignore the anchors in the font. The „mark“-feature is enabled in the typescript. Maybe someone can give me a hint how to get this working? Thanks in advance!
You need at least mode=node,mark=yes features enabled. Mojca
Hi Mojca, thanks for the answer! By now I’ve enabled: \definefontfeature[default][% script=latn, mode=node, mark=yes, mkmk=yes, liga=yes, ccmp=yes, calt=yes, locl=yes ] but still the combining character doesn’t get attached to the position indicated by the anchor… so I guess that has to be some issue with the font… (By the way, I’m using mkiv beta, 2011.04.13) Thanks anyway! Daniel Am 14.06.11 22:12, schrieb Mojca Miklavec:
On Tue, Jun 14, 2011 at 21:11, Daniel Schopper wrote:
Dear list, a question concerning combining characters: I try to make a letter out of a small elevated „e“ (unicode 0364, combining latin small letter e) with „a“, „o“ and „u“ using Junicode with Wolfgang Schuster’s typescript. In Fontforge the mark positioning lookup looks good to me, but ConTeXt somehow seems to ignore the anchors in the font. The „mark“-feature is enabled in the typescript. Maybe someone can give me a hint how to get this working? Thanks in advance!
You need at least mode=node,mark=yes features enabled.
Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________
On Wed, Jun 15, 2011 at 00:38, Daniel Schopper wrote:
Hi Mojca, indicated by the anchor… so I guess that has to be some issue with the font…
You can try if XeTeX positions the accent properly if you want to test the font (XeTeX is at least a bit more reliable to do it properly and it has the feature enabled by default). \font\a=YourFont.otf \a your-sequence-with-combining-characters
(By the way, I’m using mkiv beta, 2011.04.13)
I suspect that the version you are using might be too old anyway. Back in May the feature conditionally worked for me in ConTeXt MKIV. Whenever there were some kind of boxes included, alignment was destroyed. Mojca
Hi, ok, I checked the font in indesign (well…) and there the positioning worked as expected. I’ll update ConTeXt, hopefully that helps… Thanks for the hints! Am 15.06.11 08:20, schrieb Mojca Miklavec:
On Wed, Jun 15, 2011 at 00:38, Daniel Schopper wrote:
Hi Mojca, indicated by the anchor… so I guess that has to be some issue with the font…
You can try if XeTeX positions the accent properly if you want to test the font (XeTeX is at least a bit more reliable to do it properly and it has the feature enabled by default).
\font\a=YourFont.otf \a your-sequence-with-combining-characters
(By the way, I’m using mkiv beta, 2011.04.13)
I suspect that the version you are using might be too old anyway.
Back in May the feature conditionally worked for me in ConTeXt MKIV. Whenever there were some kind of boxes included, alignment was destroyed.
Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________
On 15-6-2011 8:51, Daniel Schopper wrote:
Hi, ok, I checked the font in indesign (well…) and there the positioning worked as expected. I’ll update ConTeXt, hopefully that helps…
anyway, if it fails, in order to check it we need a complete example + font Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
> anyway, if it fails, in order to check it we need a complete example + font of course, sorry! here it is the minimal example and the typescript (which is based on the one by Wolfgang Schuster). please find the font attached. Thanks! \usetypescript[djajunicode] \setupbodyfont[djajunicode,18pt] \starttext combined characters: aͤoͤuͤ\par precomposed letters: \stoptext % DJA Junicode typescript, based on Wolfgang Schuster’s type-junicode.tex \definefontfeature[default][% script=latn, mode=node, mark=yes, mkmk=yes, liga=yes, % dlig=yes, % hlig=yes, ccmp=yes, calt=yes, locl=yes ] \starttypescript [serif] [djajunicode] \setups[font:fallback:serif] \definefontsynonym [Serif] [DJA-Junicode-Regular] [features=default] \definefontsynonym [SerifItalic] [DJA-Junicode-Italic] [features=default] \definefontsynonym [SerifBold] [DJA-Junicode-Bold] [features=default] \definefontsynonym [SerifBoldItalic] [DJA-Junicode-BoldItalic] [features=default] \stoptypescript \starttypescript [serif] [djajunicode] \definefontsynonym [DJA-Junicode-Regular] [name:djajunicoderegular] [features=default] \definefontsynonym [DJA-Junicode-Italic] [name:djajunicodeitalic] [features=default] \definefontsynonym [DJA-Junicode-Bold] [name:djajunicodebold] [features=default] \definefontsynonym [DJA-Junicode-BoldItalic] [name:djajunicodeBoldItalic] [features=default] \stoptypescript \starttypescript [djajunicode] \definetypeface [djajunicode] [rm] [serif] [djajunicode] [default] \definetypeface [djajunicode] [mm] [math] [xits] [default] \quittypescriptscanning \stoptypescript \endinput Am 15.06.11 09:58, schrieb Hans Hagen: > On 15-6-2011 8:51, Daniel Schopper wrote: >> Hi, >> ok, I checked the font in indesign (well…) and there the positioning >> worked as expected. I’ll update ConTeXt, hopefully that helps… > > anyway, if it fails, in order to check it we need a complete example + font > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- >
On 16-6-2011 10:18, Daniel Schopper wrote:
\usetypescript[djajunicode] \setupbodyfont[djajunicode,18pt]
\starttext combined characters: aͤoͤuͤ\par precomposed letters: \stoptext
% DJA Junicode typescript, based on Wolfgang Schuster’s type-junicode.tex \definefontfeature[default][% script=latn, mode=node, mark=yes, mkmk=yes, liga=yes, % dlig=yes, % hlig=yes, ccmp=yes, calt=yes, locl=yes ] \starttypescript [serif] [djajunicode] \setups[font:fallback:serif] \definefontsynonym [Serif] [DJA-Junicode-Regular] [features=default] \definefontsynonym [SerifItalic] [DJA-Junicode-Italic] [features=default] \definefontsynonym [SerifBold] [DJA-Junicode-Bold] [features=default] \definefontsynonym [SerifBoldItalic] [DJA-Junicode-BoldItalic] [features=default] \stoptypescript
\starttypescript [serif] [djajunicode] \definefontsynonym [DJA-Junicode-Regular] [name:djajunicoderegular] [features=default] \definefontsynonym [DJA-Junicode-Italic] [name:djajunicodeitalic] [features=default] \definefontsynonym [DJA-Junicode-Bold] [name:djajunicodebold] [features=default] \definefontsynonym [DJA-Junicode-BoldItalic] [name:djajunicodeBoldItalic] [features=default] \stoptypescript
\starttypescript [djajunicode] \definetypeface [djajunicode] [rm] [serif] [djajunicode] [default] \definetypeface [djajunicode] [mm] [math] [xits] [default] \quittypescriptscanning \stoptypescript
\endinput
with the junicode downloaded from ctan, and using: \definefontfeature [default] [script=latn, mode=node, mark=yes, mkmk=yes, liga=yes, % dlig=yes, % hlig=yes, ccmp=yes, calt=yes, locl=yes] \starttypescript [serif] [djajunicode] \setups[font:fallback:serif] \definefontsynonym [Serif] [Junicode-Regular] [features=default] \definefontsynonym [SerifItalic] [Junicode-Italic] [features=default] \definefontsynonym [SerifBold] [Junicode-Bold] [features=default] \definefontsynonym [SerifBoldItalic] [Junicode-BoldItalic] [features=default] \stoptypescript \starttypescript [serif] [djajunicode] \definefontsynonym [Junicode-Regular] [file:junicoderegular] [features=default] \definefontsynonym [Junicode-Italic] [file:junicodeitalic] [features=default] \definefontsynonym [Junicode-Bold] [file:junicodebold] [features=default] \definefontsynonym [Junicode-BoldItalic] [file:junicodeBoldItalic] [features=default] \stoptypescript \starttypescript [djajunicode] \definetypeface [djajunicode] [rm] [serif] [djajunicode] [default] \definetypeface [djajunicode] [mm] [math] [xits] [default] \quittypescriptscanning \stoptypescript \setupbodyfont[djajunicode,18pt] \starttext combined characters: aͤoͤuͤ\par precomposed letters: \stoptext I get two times aou with e's on top. I also get a message about an unsupported coverage contextsub which I will look into. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Ok, I updated again and this works now beautifully in the current beta 2011.06.16. 00:34. Thanks a lot! Daniel Am 16.06.11 10:35, schrieb Hans Hagen:
On 16-6-2011 10:18, Daniel Schopper wrote:
\usetypescript[djajunicode] \setupbodyfont[djajunicode,18pt]
\starttext combined characters: aͤoͤuͤ\par precomposed letters: \stoptext
% DJA Junicode typescript, based on Wolfgang Schuster’s type-junicode.tex \definefontfeature[default][% script=latn, mode=node, mark=yes, mkmk=yes, liga=yes, % dlig=yes, % hlig=yes, ccmp=yes, calt=yes, locl=yes ] \starttypescript [serif] [djajunicode] \setups[font:fallback:serif] \definefontsynonym [Serif] [DJA-Junicode-Regular] [features=default] \definefontsynonym [SerifItalic] [DJA-Junicode-Italic] [features=default] \definefontsynonym [SerifBold] [DJA-Junicode-Bold] [features=default] \definefontsynonym [SerifBoldItalic] [DJA-Junicode-BoldItalic] [features=default] \stoptypescript
\starttypescript [serif] [djajunicode] \definefontsynonym [DJA-Junicode-Regular] [name:djajunicoderegular] [features=default] \definefontsynonym [DJA-Junicode-Italic] [name:djajunicodeitalic] [features=default] \definefontsynonym [DJA-Junicode-Bold] [name:djajunicodebold] [features=default] \definefontsynonym [DJA-Junicode-BoldItalic] [name:djajunicodeBoldItalic] [features=default] \stoptypescript
\starttypescript [djajunicode] \definetypeface [djajunicode] [rm] [serif] [djajunicode] [default] \definetypeface [djajunicode] [mm] [math] [xits] [default] \quittypescriptscanning \stoptypescript
\endinput
with the junicode downloaded from ctan, and using:
\definefontfeature [default] [script=latn, mode=node, mark=yes, mkmk=yes, liga=yes, % dlig=yes, % hlig=yes, ccmp=yes, calt=yes, locl=yes]
\starttypescript [serif] [djajunicode] \setups[font:fallback:serif] \definefontsynonym [Serif] [Junicode-Regular] [features=default] \definefontsynonym [SerifItalic] [Junicode-Italic] [features=default] \definefontsynonym [SerifBold] [Junicode-Bold] [features=default] \definefontsynonym [SerifBoldItalic] [Junicode-BoldItalic] [features=default] \stoptypescript
\starttypescript [serif] [djajunicode] \definefontsynonym [Junicode-Regular] [file:junicoderegular] [features=default] \definefontsynonym [Junicode-Italic] [file:junicodeitalic] [features=default] \definefontsynonym [Junicode-Bold] [file:junicodebold] [features=default] \definefontsynonym [Junicode-BoldItalic] [file:junicodeBoldItalic] [features=default] \stoptypescript
\starttypescript [djajunicode] \definetypeface [djajunicode] [rm] [serif] [djajunicode] [default] \definetypeface [djajunicode] [mm] [math] [xits] [default] \quittypescriptscanning \stoptypescript
\setupbodyfont[djajunicode,18pt]
\starttext combined characters: aͤoͤuͤ\par precomposed letters: \stoptext
I get two times aou with e's on top. I also get a message about an unsupported coverage contextsub which I will look into.
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 16-6-2011 10:18, Daniel Schopper wrote: > > > anyway, if it fails, in order to check it we need a complete example > + font > of course, sorry! here it is the minimal example and the typescript > (which is based on the one by Wolfgang Schuster). please find the font > attached. the next beta will also do f\utfchar{"E0} and jͤ beware: in that font the alternative f (narrower) is internally named falternative while it's better to use f.alternative because in that case proper tounicode entries can be constructed and copy/paste in pdf can be supported (a font buglet) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Daniel Schopper
-
Hans Hagen
-
Mojca Miklavec