[NTG-context] issue mixing font features (LMTX & MkIV)

2024-03-03 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfeature[wider][extend=2] \definefontfamily[mainface][rm][TeX Gyre Pagella] [features={default, quality, wider}, it={style: regular, features:{default, slanted, quality}}, bf={style: regular, features:{default, boldened-30}},

Re: [NTG-context] issue with font

2023-01-01 Thread Pablo Rodriguez via ntg-context
On 1/1/23 12:38, Hans Hagen via ntg-context wrote: > On 1/1/2023 11:55 AM, Pablo Rodriguez via ntg-context wrote: >> [...] >> I don’t know what is wrong in the font, but it would be great to be able >> to use it with ConTeXt. > Hm, i will catch it but am not going to look into the reason (like

Re: [NTG-context] issue with font

2023-01-01 Thread Hans Hagen via ntg-context
On 1/1/2023 11:55 AM, Pablo Rodriguez via ntg-context wrote: Hans, I have the following sample. \starttext \definedfont[TruetypewriterPolyglott-mELa.ttf] \input zapf \stoptext I get a fatal error in the font file (both LMTX and MkIV). Font is

[NTG-context] issue with font

2023-01-01 Thread Pablo Rodriguez via ntg-context
Hans, I have the following sample. \starttext \definedfont[TruetypewriterPolyglott-mELa.ttf] \input zapf \stoptext I get a fatal error in the font file (both LMTX and MkIV). Font is https://www.fontspace.com/truetypewriter-polyglott-font-f14955 (direct donwnload from

Re: [NTG-context] issue with font features

2018-07-24 Thread Pablo Rodriguez
On 07/24/2018 09:52 PM, Hans Hagen wrote: > On 7/24/2018 9:24 PM, Pablo Rodriguez wrote: >> [...] >> The new font instance is what I was missing in many of the issues I had >> with features. > > hm, only with those that affect the glyph shapes in some way, not with > normal otf kind of features i

Re: [NTG-context] issue with font features

2018-07-24 Thread Hans Hagen
On 7/24/2018 9:24 PM, Pablo Rodriguez wrote: On 07/24/2018 07:02 PM, Hans Hagen wrote: On 7/24/2018 6:20 PM, Pablo Rodriguez wrote: [...] \starttext {\feature[+][effect]1234567890} 1234567890 {\feature[+][oldle]1234567890} \stoptext I wonder why the first font feature

Re: [NTG-context] issue with font features

2018-07-24 Thread Pablo Rodriguez
On 07/24/2018 07:02 PM, Hans Hagen wrote: > On 7/24/2018 6:20 PM, Pablo Rodriguez wrote: >> [...] >> \starttext >> {\feature[+][effect]1234567890} >> 1234567890 {\feature[+][oldle]1234567890} >> \stoptext >> >> I wonder why the first font feature ("effect") doesn’t work. What

Re: [NTG-context] issue with font features

2018-07-24 Thread Hans Hagen
On 7/24/2018 6:20 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \definefontfeature[effect]%[effect=.2] [effect={width=.3,delta=0.4,factor=0.3}] \definefontfeature[oldle][onum=yes] \setupbodyfont[palatino] \starttext

[NTG-context] issue with font features

2018-07-24 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfeature[effect]%[effect=.2] [effect={width=.3,delta=0.4,factor=0.3}] \definefontfeature[oldle][onum=yes] \setupbodyfont[palatino] \starttext {\feature[+][effect]1234567890} 1234567890

Re: [NTG-context] issue with font loading

2016-03-03 Thread Wolfgang Schuster
Pablo Rodriguez 2. März 2016 um 16:56 Even if the font is on the same directory as the ConTeXt source file? I invoke it by its file name. Sorry, this was outside the ConTeXt tree. And I didn’t know that it has to be indexed by ConTeXt. Loading font by filename whoch are

Re: [NTG-context] issue with font loading

2016-03-02 Thread Pablo Rodriguez
On 03/02/2016 07:12 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 2. März 2016 um 17:17 >> [...] >> If another "key=value" pair is specified, "tf=file:newg8-regular" >> doesn’t seem to work. >> >> What am I doing wrong? > > Don’t write just some garbage as third argument for the >

Re: [NTG-context] issue with font loading

2016-03-02 Thread Thomas A. Schmitz
On 03/02/2016 07:12 PM, Wolfgang Schuster wrote: Don’t write just some garbage as third argument for the \definefontfamily or \definefallbackfamily commands. In the attached picture you can see the fonforge information for the font names, needed for the \definefontfamily command is the "family

Re: [NTG-context] issue with font loading

2016-03-02 Thread Wolfgang Schuster
Pablo Rodriguez 2. März 2016 um 17:17 Wolfgang, I’m afraid that even with that, I’m afraid it doesn’t work well: \definefallbackfamily[mainface][rm][Latin Modern Math] [tf=file:newg8-regular, scale=0.88, range=0x22C0] \definefallbackfamily[mainface][rm][Latin Greek Math]

Re: [NTG-context] issue with font loading

2016-03-02 Thread Pablo Rodriguez
On 03/02/2016 04:56 PM, Pablo Rodriguez wrote: > On 03/02/2016 03:59 PM, Wolfgang Schuster wrote: >> >> The \definefontfamily can only use font which are indexed by context >> (mtxrun --script font --reload) which doesn’t seem to be the case here. Wolfgang, I’m afraid that even with that, I’m

Re: [NTG-context] issue with font loading

2016-03-02 Thread Pablo Rodriguez
On 03/02/2016 03:59 PM, Wolfgang Schuster wrote: > > The \definefontfamily can only use font which are indexed by context > (mtxrun --script font --reload) which doesn’t seem to be the case here. Even if the font is on the same directory as the ConTeXt source file? I invoke it by its file name.

Re: [NTG-context] issue with font loading

2016-03-02 Thread Wolfgang Schuster
Pablo Rodriguez 2. März 2016 um 15:43 Wolfgang, I’m afraid it doesn’t work. Just in case it helps, directly generated from http://github.com/rbrito/urw-garamond/, you have the font itsef at http://ousia.tk/newg8-regular.otf. Many thanks for your help, Pablo Wolfgang

Re: [NTG-context] issue with font loading

2016-03-02 Thread Pablo Rodriguez
On 03/02/2016 02:54 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 2. März 2016 um 12:11 >> [...] >> \definefontfamily[mainface][rm][Latin Modern Roman] >> \definefontfamily[mainface][ss][GaraMath][file={newg8-regular.otf}] > > Does this work? > >

Re: [NTG-context] issue with font loading

2016-03-02 Thread Wolfgang Schuster
Pablo Rodriguez 2. März 2016 um 12:11 Dear list, I have the following sample: \definefontfamily[mainface][rm][Latin Modern Roman] \definefontfamily[mainface][ss][GaraMath][file={newg8-regular.otf}] Does this work?

Re: [NTG-context] issue with font loading

2016-03-02 Thread Hans Hagen
On 3/2/2016 1:07 PM, Pablo Rodriguez wrote: On 03/02/2016 12:28 PM, Hans Hagen wrote: On 3/2/2016 12:11 PM, Pablo Rodriguez wrote: [...] I don’t get a sans typeface different from Latin Modern Roman. If the font is on the same directory as the ConTeXt source file, what is wrong in my code?

Re: [NTG-context] issue with font loading

2016-03-02 Thread Pablo Rodriguez
On 03/02/2016 12:28 PM, Hans Hagen wrote: > On 3/2/2016 12:11 PM, Pablo Rodriguez wrote: >> [...] >> I don’t get a sans typeface different from Latin Modern Roman. >> >> If the font is on the same directory as the ConTeXt source file, what is >> wrong in my code? > > doesn't the log tell you

Re: [NTG-context] issue with font loading

2016-03-02 Thread Hans Hagen
On 3/2/2016 12:11 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \definefontfamily[mainface][rm][Latin Modern Roman] \definefontfamily[mainface][ss][GaraMath][file={newg8-regular.otf}] \setupbodyfont[mainface] \starttext a{\ss a}b{\ss b}c{\ss

[NTG-context] issue with font loading

2016-03-02 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfamily[mainface][rm][Latin Modern Roman] \definefontfamily[mainface][ss][GaraMath][file={newg8-regular.otf}] \setupbodyfont[mainface] \starttext a{\ss a}b{\ss b}c{\ss c}g{\ss g} \stoptext I don’t get a sans typeface

Re: [NTG-context] issue with font and lua code

2015-07-24 Thread Hans Hagen
On 7/20/2015 6:49 PM, Pablo Rodriguez wrote: Hans, I have the following sample (it includes Lua code for underscore hyphenation): \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte(_) local char =

Re: [NTG-context] issue with font and lua code

2015-07-24 Thread Pablo Rodriguez
On 07/24/2015 10:26 AM, Hans Hagen wrote: On 7/20/2015 6:49 PM, Pablo Rodriguez wrote: [...] For some reason, the font gives the following error with the Lua code (font can be downloaded from http://dl.dafont.com/dl/?f=sv_basic_manual): lua errorlua error on line 33 in file svb.tex:

[NTG-context] issue with font and lua code

2015-07-20 Thread Pablo Rodriguez
Hans, I have the following sample (it includes Lua code for underscore hyphenation): \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte(_) local char = tfmdata.characters[underscore] if not char then return

[NTG-context] issue with font sizes

2015-06-21 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfamily [anothersans] [ss] [DejaVu Sans] \starttext \tfxx smaller text with \anothersans\ss second sans. \stoptext I need to add an alternative ss and tt font. The problem is that when changing the

[NTG-context] issue with font in typing environment

2014-02-02 Thread Pablo Rodriguez
Dear list, I converted the monospace fonts of txfonts (http://www.ctan.org/tex-archive/fonts/txfonts/pfb) from pbf to otf using FontForge. They work fine (http://www.ousia.tk/ryfonts.zip). But the issue is shown in the following sample (beta from 2014.02.01 14:22):

Re: [NTG-context] issue with font in typing environment

2014-02-02 Thread Wolfgang Schuster
Am 02.02.2014 um 09:33 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I converted the monospace fonts of txfonts (http://www.ctan.org/tex-archive/fonts/txfonts/pfb) from pbf to otf using FontForge. They work fine (http://www.ousia.tk/ryfonts.zip). But the issue is shown in the

Re: [NTG-context] issue with font in typing environment

2014-02-02 Thread Pablo Rodriguez
On 02/02/2014 10:53 AM, Wolfgang Schuster wrote: Am 02.02.2014 um 09:33 schrieb Pablo Rodriguez oi...@gmx.es: I converted the monospace fonts of txfonts (http://www.ctan.org/tex-archive/fonts/txfonts/pfb) from pbf to otf using FontForge. They work fine (http://www.ousia.tk/ryfonts.zip).

Re: [NTG-context] issue with font in typing environment

2014-02-02 Thread Wolfgang Schuster
Am 02.02.2014 um 12:34 schrieb Pablo Rodriguez oi...@gmx.es: On 02/02/2014 10:53 AM, Wolfgang Schuster wrote: Am 02.02.2014 um 09:33 schrieb Pablo Rodriguez oi...@gmx.es: I converted the monospace fonts of txfonts (http://www.ctan.org/tex-archive/fonts/txfonts/pfb) from pbf to otf using

Re: [NTG-context] issue with font in typing environment

2014-02-02 Thread Pablo Rodriguez
On 02/02/2014 02:14 PM, Wolfgang Schuster wrote: Am 02.02.2014 um 12:34 schrieb Pablo Rodriguez oi...@gmx.es: [...] Is there no way to tell what is wrong in the font, so it could be fixed? I think the missing space in the font is the problem because after I replaced the visible space with a