Re: [NTG-context] simple question on kerning activation
On 27/11/12 18:04, Hans Hagen wrote:
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.
attached
Mine attached to (excluding source)
Using ConTeXt - 2012.11.26 13:31 + LuaTeX-0.70.1.
What is wrong here?
maybe the logs reveal something
BTW, on my computer fontconfig isn't able to find many system fonts. But I guess this isn't the cause, since ConTeXt deals directly with the fonts. Many thanks for your help, Pablo -- http://www.ousia.tk
On 27/11/12 18:42, luigi scarso wrote:
\starttext
\startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext
On Tue, Nov 27, 2012 at 6:36 PM, Pablo Rodríguez
wrote: this is mine
Something must be wrong with my configuration, since i don't even get all kerns using the OT kern feature. Any ideas of what could be wrong? Many thanks for your help, Pablo -- http://www.ousia.tk
On Tue, Nov 27, 2012 at 6:46 PM, Pablo Rodríguez
On 27/11/12 18:42, luigi scarso wrote:
\starttext
\startTEXpage[offset=10pt] \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward \stopTEXpage \stoptext
On Tue, Nov 27, 2012 at 6:36 PM, Pablo Rodríguez
wrote: this is mine Something must be wrong with my configuration, since i don't even get all kerns using the OT kern feature.
Any ideas of what could be wrong?
hm, no. In this situation I usually reinstall context on a new folder, or rerun first-setup -- luigi
On 11/27/2012 6:36 PM, Pablo Rodríguez wrote:
On 27/11/12 18:04, Hans Hagen wrote:
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.
attached
Mine attached to (excluding source)
Using ConTeXt - 2012.11.26 13:31 + LuaTeX-0.70.1.
What is wrong here?
maybe the logs reveal something
BTW, on my computer fontconfig isn't able to find many system fonts. But I guess this isn't the cause, since ConTeXt deals directly with the fonts.
the font gets included .. so maybe someone else should also test it
Many thanks for your help,
are you sure that the font is okay? mine is 1.687.516 bytes btw, the font has kerns (gpos feature using classes) mtxrun --script font --save freeserif.ttf shows the internals (in a lua file) mtxrun --script font --list --info --file freeserif.ttf shows all features 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 27/11/12 18:56, Hans Hagen wrote:
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. [...]
On 11/27/2012 6:36 PM, Pablo Rodríguez wrote: the font gets included .. so maybe someone else should also test it
are you sure that the font is okay? mine is 1.687.516 bytes
Probably my font is newer (from http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip). I think there is no file clash, since ConTeXt standalone doesn't provide the font
btw, the font has kerns (gpos feature using classes)
mtxrun --script font --save freeserif.ttf
shows the internals (in a lua file)
mtxrun --script font --list --info --file freeserif.ttf
shows all features
Well, I know that the font has kern as OpenType feature, but I need it to have the TrueType kern table (not the OpenType feature). At least on my ConTeXt installation, OpenType features aren't enabled by default. I used ConTeXt to check the font wrong kerns that my ereader (Sony PRS-T1) showed with this font. Many thanks for your help, Pablo -- http://www.ousia.tk
Am 27.11.2012 um 20:34 schrieb Pablo Rodríguez
On 27/11/12 18:56, Hans Hagen wrote:
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. [...]
On 11/27/2012 6:36 PM, Pablo Rodríguez wrote: the font gets included .. so maybe someone else should also test it
are you sure that the font is okay? mine is 1.687.516 bytes
Probably my font is newer (from http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip).
I think there is no file clash, since ConTeXt standalone doesn't provide the font
The font files from the gnu page have no kerning but the files from http://de.fonts2u.com/free-serif.schriftart have kerning information. Wolfgang
On 27/11/12 22:34, Wolfgang Schuster wrote:
Am 27.11.2012 um 20:34 schrieb Pablo Rodríguez
: [...] Probably my font is newer (from http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip).
I think there is no file clash, since ConTeXt standalone doesn't provide the font
The font files from the gnu page have no kerning but the files from http://de.fonts2u.com/free-serif.schriftart have kerning information.
Many thanks for your reply, Wolfgang. I'd like to report this to the font developer (he has assured me that the fonts have kerning). How have you discovered that the Savannah FreeSerif fonts have no kerning info? Many thanks for your help, Pablo -- http://www.ousia.tk
Am 27.11.2012 um 22:43 schrieb Pablo Rodríguez
On 27/11/12 22:34, Wolfgang Schuster wrote:
Am 27.11.2012 um 20:34 schrieb Pablo Rodríguez
: [...] Probably my font is newer (from http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip).
I think there is no file clash, since ConTeXt standalone doesn't provide the font
The font files from the gnu page have no kerning but the files from http://de.fonts2u.com/free-serif.schriftart have kerning information.
Many thanks for your reply, Wolfgang.
I'd like to report this to the font developer (he has assured me that the fonts have kerning).
How have you discovered that the Savannah FreeSerif fonts have no kerning info?
That’s not what I wanted to write. I had the same thought as Hans with the missing for the “default” script (AFAIR this was also a problem with other fonts in the past) but I wanted to test it first but he was faster than me. Wolfgang
On 11/27/2012 10:58 PM, Wolfgang Schuster wrote:
Am 27.11.2012 um 22:43 schrieb Pablo Rodríguez
: On 27/11/12 22:34, Wolfgang Schuster wrote:
Am 27.11.2012 um 20:34 schrieb Pablo Rodríguez
: [...] Probably my font is newer (from http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip).
I think there is no file clash, since ConTeXt standalone doesn't provide the font
The font files from the gnu page have no kerning but the files from http://de.fonts2u.com/free-serif.schriftart have kerning information.
Many thanks for your reply, Wolfgang.
I'd like to report this to the font developer (he has assured me that the fonts have kerning).
How have you discovered that the Savannah FreeSerif fonts have no kerning info?
That’s not what I wanted to write. I had the same thought as Hans with the missing for the “default” script (AFAIR this was also a problem with other fonts in the past) but I wanted to test it first but he was faster than me.
Normally context will automatically fall back on latn but does so by looking at the feature list. These fonts support so many scripts that it's not possible. You (pablo) can report to the font designer that for features like kerning a dflt,dflt pair makes sense. ----------------------------------------------------------------- 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 27/11/12 23:10, Hans Hagen wrote:
Normally context will automatically fall back on latn but does so by looking at the feature list. These fonts support so many scripts that it's not possible.
You (pablo) can report to the font designer that for features like kerning a dflt,dflt pair makes sense.
Thank you very much, Hans, Wolfgang and Luigi for your help. Sorry for the messages, but I used ConTeXt to check whether old traditional kerning was enabled on FreeSerif fonts (not as OpenType features). This is actually for an ereader. As far as I know, I have to enable the Latin script in ConTeXt in all the fonts I use with include OT features. That's fine for me. What I couldn't understand before was that I was getting less kerns even with the OpenType feature enabled. I took me a while to understand that those kerns that weren't showing off in my file (my guess) were removed in the latest version of FreeSerif. BTW, I need to enable the Latin script even for features that belong to other scripts, such as in Theano Didot (those contextual alternatives and stylistic set 11 belong to the Greek script): \usemodule[simplefonts] \definefontfeature[default][default][script=latn,calt=yes,ss11=yes] \setmainfont[Theano Didot] \starttext \startTEXpage[offset=10pt] βάρβαροι θαυμασθεὶς \stopTEXpage \stoptext Many thanks again for your help, Pablo -- http://www.ousia.tk
On 11/27/2012 8:34 PM, Pablo Rodríguez wrote:
Probably my font is newer (from http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip).
i got it from: http://www.fonts2u.com/
At least on my ConTeXt installation, OpenType features aren't enabled by default.
hard to believe 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 11/27/2012 8:34 PM, Pablo Rodríguez wrote:
On 27/11/12 18:56, Hans Hagen wrote:
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. [...]
On 11/27/2012 6:36 PM, Pablo Rodríguez wrote: the font gets included .. so maybe someone else should also test it
are you sure that the font is okay? mine is 1.687.516 bytes
Probably my font is newer (from http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip).
that version misses a dflt,dflt -> kern definition so you need to add: \definefontfeature[default][default][script=latn] at the top of your document ----------------------------------------------------------------- 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 (4)
-
Hans Hagen
-
luigi scarso
-
Pablo Rodríguez
-
Wolfgang Schuster