Re: [NTG-context] (No subject header)

2021-12-27 Thread Hans Hagen via ntg-context

On 12/27/2021 9:27 PM, Thomas Savary via ntg-context wrote:

Thanks, Hans, for your advice.

 > a probably more reliable solution is to 'remove bad stuff' from the
 > loaded font by running over the features and removing bad matches
 > (which is less sensitive for order)

I could edit the font features, indeed, but I run a GNU/Linux OS, and 
Fontforge cannot edit nor generate variable fonts. There seems to be a 
solution (https://www.youtube.com/watch?v=xoQuWARCUWI 
 ), but so far beyond my 
technical capabilities that I cannot consider it.


 > is that really a google font? afaik it doesn't originate there (unless
 > it among those things that google grabs - and at some point possible
 > discards)

Yes, it is, but not from the beginning. A great Garamond, the original 
font was designed by Georg Duffner. A few years ago, Google decided to 
make it a more complete font family : Octavio Pardo has done an 
excellent job with the bolder versions of EB Garamond and its conversion 
to a variable font. However, for whatever reasons, he did quite a rush 
job with the OpenType features ! Many essential features are lacking 
(despite the needed glyphs still being there), and most present features 
are poorly implemented, with a lot of typographic nonsense (concerning 
long s and long Q or the mentioned italic ligatures, for instance).


Strange, so basically only the shapes were taken an not the (in this 
case closely related features)?
https://fonts.google.com/specimen/EB+Garamond 



I will contact Google Fonts shortly to report on the dozens of problems 
I have encountered that make the unfixed new version of EB Garamond 
unusable for anything but the most basic uses.


Fortunately, my significantly more demanding needs for a client were met 
with the invaluable help from LuaTeX, but that won't be enough for my 
own projects, much more complex (facsimile of ancient editions), until 
Google improves this font.
So actually the old pre-google fonts from GD are better? Hopefully they 
then stay available someplace.


Hans



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-27 Thread Thomas Savary via ntg-context
Thanks, Hans, for your advice.

> a probably more reliable solution is to 'remove bad stuff' from the
> loaded font by running over the features and removing bad matches
> (which is less sensitive for order)

I could edit the font features, indeed, but I run a GNU/Linux OS, and Fontforge 
cannot edit nor 
generate variable fonts. There seems to be a solution 
(https://www.youtube.com/watch?
v=xoQuWARCUWI[1] ), but so far beyond my technical capabilities that I cannot 
consider it.

> is that really a google font? afaik it doesn't originate there (unless
> it among those things that google grabs - and at some point possible
> discards)

Yes, it is, but not from the beginning. A great Garamond, the original font was 
designed by Georg 
Duffner. A few years ago, Google decided to make it a more complete font family 
: Octavio Pardo has 
done an excellent job with the bolder versions of EB Garamond and its 
conversion to a variable 
font. However, for whatever reasons, he did quite a rush job with the OpenType 
features ! Many 
essential features are lacking (despite the needed glyphs still being there), 
and most present 
features are poorly implemented, with a lot of typographic nonsense (concerning 
long s and long Q 
or the mentioned italic ligatures, for instance).
https://fonts.google.com/specimen/EB+Garamond[2]

I will contact Google Fonts shortly to report on the dozens of problems I have 
encountered that 
make the unfixed new version of EB Garamond unusable for anything but the most 
basic uses.
Fortunately, my significantly more demanding needs for a client were met with 
the invaluable help 
from LuaTeX, but that won't be enough for my own projects, much more complex 
(facsimile of 
ancient editions), until Google improves this font.

Thomas Savary
1 le Grand-Plessis
F-85340 L’Île-d’Olonne
Tél. 06 22 82 61 34
https://compo85.fr/





[1] https://www.youtube.com/watch?v=xoQuWARCUWI
[2] https://fonts.google.com/specimen/EB+Garamond
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Using a system font

2021-12-27 Thread jdh via ntg-context

That did it.  Thanks for help.
I appreciate it.

jay

Marco Patzer via ntg-context  wrote:

> export OSFONTDIR=/usr/share/fonts
> mtxrun --script fonts --reload
> 
> \definefontfamily [mainface] [serif] [Mathjax_Fraktur]
> \setupbodyfont [mainface]
> 
> \starttext
>   \samplefile{knuth}
> \stoptext
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] startlines with long lines that break and indent

2021-12-27 Thread juh via ntg-context
Rik, Wolfgang – thanks a lot. So simple. I wikified it.
juh

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Using a system font

2021-12-27 Thread Marco Patzer via ntg-context
On Sun, 26 Dec 2021 21:21:10 +4000
jdh via ntg-context  wrote:

> \starttext
>I want to use the Mathjax_Fraktur font, which the font-manager on
> Ubuntu reports that it has. 
>{\switchtobodyfont[Mathjax_Fraktur] .. but, this text doesn't show
> up in Mathjax_Fraktur.}
> 
> \stoptext

Try:

export OSFONTDIR=/usr/share/fonts
mtxrun --script fonts --reload

\definefontfamily [mainface] [serif] [Mathjax_Fraktur]
\setupbodyfont [mainface]

\starttext
  \samplefile{knuth}
\stoptext

Marco
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___