simple question on kerning activation
Hi there, I have the following file to check a feature in FreeSerif: \setuppapersize[A4,landscape] \usemodule[simplefonts][size=30pt] \setmainfont[FreeSerif] \starttext dadedidodufafefifofufrflftlalelilolutatetitotu\par {\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} \stoptext Sorry for the stupid question: isn't it font kerning (not kern OT table, but traditional non-OT kerning) enabled when compiling this source? Many thanks for your help, Pablo -- http://www.ousia.tk
On 11/26/2012 8:01 PM, Pablo Rodríguez wrote:
Hi there,
I have the following file to check a feature in FreeSerif:
\setuppapersize[A4,landscape] \usemodule[simplefonts][size=30pt] \setmainfont[FreeSerif] \starttext
dadedidodufafefifofufrflftlalelilolutatetitotu\par {\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} \stoptext
Sorry for the stupid question: isn't it font kerning (not kern OT table, but traditional non-OT kerning) enabled when compiling this source?
kerning is *always* driven by the font, given that the font has kerns (not all fonts need them) you can see kern sin action with: \starttext \showfontkerns \input ward \stoptext 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 26/11/12 21:39, Hans Hagen wrote:
On 11/26/2012 8:01 PM, Pablo Rodríguez wrote:
Sorry for the stupid question: isn't it font kerning (not kern OT table, but traditional non-OT kerning) enabled when compiling this source?
kerning is *always* driven by the font, given that the font has kerns (not all fonts need them)
Thanks for your reply, Hans. Sorry, my question was inaccurate. I know that kerning information is in the font, but it is ConTeXt that uses this information (or not). As far as I know, there are two kinds of kerningns: an OT kern feature from the GPOS table and an old TrueType 'kern' table. In the following sample OpenType features aren't enabled: \usemodule[simplefonts][size=30pt] \setmainfont[FreeSerif] \starttext dadedidodufafefifofufrflftlalelilolutatetitotu\par {\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} \stoptext I'm using TrueType fonts of FreeSerif. Isn't the TrueType 'kern' enabled by default in ConTeXt? (The glyphs in the example above have no kerning at all, so I wonder whether at least the TrueType 'kern' table should be used by ConTeXt.) Many thanks for your help, Pablo -- http://www.ousia.tk
On 11/26/2012 11:04 PM, Pablo Rodríguez wrote:
On 26/11/12 21:39, Hans Hagen wrote:
On 11/26/2012 8:01 PM, Pablo Rodríguez wrote:
Sorry for the stupid question: isn't it font kerning (not kern OT table, but traditional non-OT kerning) enabled when compiling this source?
kerning is *always* driven by the font, given that the font has kerns (not all fonts need them)
Thanks for your reply, Hans.
Sorry, my question was inaccurate.
I know that kerning information is in the font, but it is ConTeXt that uses this information (or not).
As far as I know, there are two kinds of kerningns: an OT kern feature from the GPOS table and an old TrueType 'kern' table.
In the following sample OpenType features aren't enabled:
\usemodule[simplefonts][size=30pt] \setmainfont[FreeSerif] \starttext dadedidodufafefifofufrflftlalelilolutatetitotu\par {\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} \stoptext
I'm using TrueType fonts of FreeSerif. Isn't the TrueType 'kern' enabled by default in ConTeXt? (The glyphs in the example above have no kerning at all, so I wonder whether at least the TrueType 'kern' table should be used by ConTeXt.)
Sure, kern tables are used and are quite valid in open type as well (open type includes truetype). I see lots of kerns in: \starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext I assume simplefonts uses the default featureset 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 26/11/12 23:46, Hans Hagen wrote:
[...] Sure, kern tables are used and are quite valid in open type as well (open type includes truetype).
I see lots of kerns in:
\starttext \startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext
Well, I don't see any kern. Using ConTeXt - 2012.11.26 13:31 + LuaTeX-0.70.1. What is wrong here? Pablo -- http://www.ousia.tk
Am 26.11.2012 um 23:04 schrieb Pablo Rodríguez
On 26/11/12 21:39, Hans Hagen wrote:
On 11/26/2012 8:01 PM, Pablo Rodríguez wrote:
Sorry for the stupid question: isn't it font kerning (not kern OT table, but traditional non-OT kerning) enabled when compiling this source?
kerning is *always* driven by the font, given that the font has kerns (not all fonts need them)
Thanks for your reply, Hans.
Sorry, my question was inaccurate.
I know that kerning information is in the font, but it is ConTeXt that uses this information (or not).
As far as I know, there are two kinds of kerningns: an OT kern feature from the GPOS table and an old TrueType 'kern' table.
In the following sample OpenType features aren't enabled:
\usemodule[simplefonts][size=30pt] \setmainfont[FreeSerif] \starttext dadedidodufafefifofufrflftlalelilolutatetitotu\par {\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} \stoptext
I'm using TrueType fonts of FreeSerif. Isn't the TrueType 'kern' enabled by default in ConTeXt? (The glyphs in the example above have no kerning at all, so I wonder whether at least the TrueType 'kern' table should be used by ConTeXt.)
Is there a difference between the two lines? \usemodule[simplefonts] \setmainfont[FreeSerif] \starttext \showfontkerns dadedidodufafefifofufrflftlalelilolutatetitotu\par {\definedfont[file:serif*default]dadedidodufafefifofufrflftlalelilolutatetitotu\par} \stoptext Wolfgang
On 27/11/12 00:11, Wolfgang Schuster wrote:
[...] Is there a difference between the two lines?
\usemodule[simplefonts] \setmainfont[FreeSerif] \starttext \showfontkerns dadedidodufafefifofufrflftlalelilolutatetitotu\par {\definedfont[file:serif*default]dadedidodufafefifofufrflftlalelilolutatetitotu\par} \stoptext
No. None has any kerning. Many thanks for your help, Pablo -- http://www.ousia.tk
On Tue, Nov 27, 2012 at 5:59 PM, Pablo Rodríguez
On 27/11/12 00:11, Wolfgang Schuster wrote:
[...] Is there a difference between the two lines?
\usemodule[simplefonts] \setmainfont[FreeSerif] \starttext \showfontkerns dadedidodufafefifofufrflftlalelilolutatetitotu\par {\definedfont[file:serif*default]dadedidodufafefifofufrflftlalelilolutatetitotu\par} \stoptext
No. None has any kerning.
I see this and I believe that there are kerning -- or not ? -- luigi
On 11/27/2012 6:11 PM, luigi scarso wrote:
I see this and I believe that there are kerning -- or not ?
yes, lots of them ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Am 28.11.2012 um 10:01 schrieb Hans Hagen
On 11/27/2012 6:11 PM, luigi scarso wrote:
I see this and I believe that there are kerning -- or not ?
yes, lots of them
I tried your example with a few other fonts and none of them kerned so much and all of them had a good spacing for the text. Wolfgang
participants (4)
-
Hans Hagen
-
luigi scarso
-
Pablo Rodríguez
-
Wolfgang Schuster