Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX
Am Fri, 25 Feb 2011 14:41:10 +0100 schrieb Ulrike Fischer:
In base mode kerning and and hyphenation happen in the traditional tex way, so there is not much extra trickery taking place.
Well, as you mention "base mode": This reminded me that I had to force base mode to get my reencoding to work in latex. So I tried in context + latex/luaotfload (with german hyphenation patterns):
[...]
And bingo: with mode=base it works in both formats, with mode=node the kern disappears. Without mode declaration the kern disappears in latex.
Ah, yes, the transcript of my first example clearly shows fontspec operating in node mode. Please excuse my naive asking: Is there any way to continue using fontspec's setmainfont command (it is convenient for someone unexperienced like me) and at the same force luaotfload into using base mode? Thanks, - Till
Am Fri, 25 Feb 2011 16:37:26 +0100 schrieb Heilmann, Till A.:
Am Fri, 25 Feb 2011 14:41:10 +0100 schrieb Ulrike Fischer:
In base mode kerning and and hyphenation happen in the traditional tex way, so there is not much extra trickery taking place.
Well, as you mention "base mode": This reminded me that I had to force base mode to get my reencoding to work in latex. So I tried in context + latex/luaotfload (with german hyphenation patterns):
[...]
And bingo: with mode=base it works in both formats, with mode=node the kern disappears. Without mode declaration the kern disappears in latex.
Ah, yes, the transcript of my first example clearly shows fontspec operating in node mode.
Please excuse my naive asking: Is there any way to continue using fontspec's setmainfont command (it is convenient for someone unexperienced like me) and at the same force luaotfload into using base mode?
The following seems to work: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{fontspec} \setmainfont[RawFeature={mode=base},FeatureFile=bonum.fea]{TeX Gyre Bonum} \begin{document} fh aufhalten \end{document} -- Ulrike Fischer
Am Fri, 25 Feb 2011 16:45:31 +0100 schrieb Ulrike Fischer:
Ah, yes, the transcript of my first example clearly shows fontspec operating in node mode.
Yes, but I could also reproduce the problem without fontspec (only with luaotfload).
Please excuse my naive asking: Is there any way to continue using fontspec's setmainfont command (it is convenient for someone unexperienced like me) and at the same force luaotfload into using base mode?
The following seems to work:
\documentclass{article} \usepackage[ngerman]{babel} \usepackage{fontspec} \setmainfont[RawFeature={mode=base},FeatureFile=bonum.fea]{TeX Gyre Bonum} \begin{document} fh aufhalten \end{document}
And after a look in the fontspec code: \setmainfont[Renderer=Basic,FeatureFile=bonum.fea]{TeX Gyre Bonum} -- Ulrike Fischer
On Fri, Feb 25, 2011 at 04:45:31PM +0100, Ulrike Fischer wrote:
Ah, yes, the transcript of my first example clearly shows fontspec operating in node mode.
Please excuse my naive asking: Is there any way to continue using fontspec's setmainfont command (it is convenient for someone unexperienced like me) and at the same force luaotfload into using base mode?
The following seems to work:
\documentclass{article} \usepackage[ngerman]{babel} \usepackage{fontspec} \setmainfont[RawFeature={mode=base},FeatureFile=bonum.fea]{TeX Gyre Bonum}
Better "Renderer=Basic". -- Khaled Hosny Egyptian Arab
participants (3)
-
Heilmann, Till A.
-
Khaled Hosny
-
Ulrike Fischer