Change of Optima to Optima Nova: fallback for cyrillc stops working
I’ve decided to buy the Optima Nova font. But now that I use it, I run into the problem that suddenly my fallback for Cyrillic has stopped working. \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale=1.0] \definefontfamily [archimate] [ss] [OptimaLT-Medium] \setupbodyfont[archimate] \starttext The quick brown fox jumped over the lazy dog. Ядро метамодели. \stoptext With \definefontfamily [archimate] [ss] [Optima] Cyrillic fallback works (as does the old Optima). What do I need to do to remedy that? Thanks, G
On 24 May 2020, at 12:16, Gerben Wierda
wrote: I’ve decided to buy the Optima Nova font. But now that I use it, I run into the problem that suddenly my fallback for Cyrillic has stopped working.
\definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale=1.0] \definefontfamily [archimate] [ss] [OptimaLT-Medium] \setupbodyfont[archimate]
\starttext
The quick brown fox jumped over the lazy dog. Ядро метамодели.
\stoptext
With
\definefontfamily [archimate] [ss] [Optima]
Cyrillic fallback works (as does the old Optima). What do I need to do to remedy that?
I did not look good. Optima Nova also doesn’t work and has been replaced with Latin Modern Sans selectfont > the requested font 'OptimaLT-Medium' has no files for the 'tf' alternative, Latin Modern is used instead. Apparently as a result, the fallback for cyrillic also doesn’t work. So, I need to find out how to set up Optima Nova. G
Thanks,
G ___________________________________________________________________________________ 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 ___________________________________________________________________________________
On 24 May 2020, at 12:26, Gerben Wierda
wrote: On 24 May 2020, at 12:16, Gerben Wierda
mailto:gerben.wierda@rna.nl> wrote: I’ve decided to buy the Optima Nova font. But now that I use it, I run into the problem that suddenly my fallback for Cyrillic has stopped working.
\definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale=1.0] \definefontfamily [archimate] [ss] [OptimaLT-Medium] \setupbodyfont[archimate]
\starttext
The quick brown fox jumped over the lazy dog. Ядро метамодели.
\stoptext
With
\definefontfamily [archimate] [ss] [Optima]
Cyrillic fallback works (as does the old Optima). What do I need to do to remedy that?
I did not look good. Optima Nova also doesn’t work and has been replaced with Latin Modern Sans
selectfont > the requested font 'OptimaLT-Medium' has no files for the 'tf' alternative, Latin Modern is used instead.
Apparently as a result, the fallback for cyrillic also doesn’t work. So, I need to find out how to set up Optima Nova.
And not even
\definefontfamily [archimate] [ss] [Optima Nova] [ tf=file:/Library/Fonts/OptimaNovaLTPro-Medium.otf, it=file:OptimaNovaLTPro-MediumIta.otf, bf=file:OptimaNovaLTPro-Bold.otf, bi=file:OptimaNovaLTPro-BoldIta.otf, ]
will work. selectfont > the requested font 'Optima Nova' has no files for the 'tf' alternative, Latin Modern is used instead. There is no documentation of \definefontfamily in the docs that come with the standalone ConTeXt distribution and what is on ConTeXtgarden hasn’t brought light to the matter either. G
G
Thanks,
G ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://context.aanhet.net http://context.aanhet.net/ archive : https://bitbucket.org/phg/context-mirror/commits/ https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://context.aanhet.net http://context.aanhet.net/ archive : https://bitbucket.org/phg/context-mirror/commits/ https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________
On 24 May 2020, at 12:40, Gerben Wierda
wrote: On 24 May 2020, at 12:26, Gerben Wierda
mailto:gerben.wierda@rna.nl> wrote: On 24 May 2020, at 12:16, Gerben Wierda
mailto:gerben.wierda@rna.nl> wrote: I’ve decided to buy the Optima Nova font. But now that I use it, I run into the problem that suddenly my fallback for Cyrillic has stopped working.
\definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale=1.0] \definefontfamily [archimate] [ss] [OptimaLT-Medium] \setupbodyfont[archimate]
\starttext
The quick brown fox jumped over the lazy dog. Ядро метамодели.
\stoptext
With
\definefontfamily [archimate] [ss] [Optima]
Cyrillic fallback works (as does the old Optima). What do I need to do to remedy that?
I did not look good. Optima Nova also doesn’t work and has been replaced with Latin Modern Sans
selectfont > the requested font 'OptimaLT-Medium' has no files for the 'tf' alternative, Latin Modern is used instead.
Apparently as a result, the fallback for cyrillic also doesn’t work. So, I need to find out how to set up Optima Nova.
And not even
\definefontfamily [archimate] [ss] [Optima Nova] [ tf=file:/Library/Fonts/OptimaNovaLTPro-Medium.otf, it=file:OptimaNovaLTPro-MediumIta.otf, bf=file:OptimaNovaLTPro-Bold.otf, bi=file:OptimaNovaLTPro-BoldIta.otf, ]
will work.
selectfont > the requested font 'Optima Nova' has no files for the 'tf' alternative, Latin Modern is used instead.
There is no documentation of \definefontfamily in the docs that come with the standalone ConTeXt distribution and what is on ConTeXtgarden hasn’t brought light to the matter either.
The firsdt problem was solved, I had to rebuild the font database: mtxrun --script fonts --reload Now $ mtxrun --script fonts --list --all --pattern=Optima identifier familyname fontname filename subfont instances optima optima optimaextrablack /System/Library/Fonts/Optima.ttc 5 optimaextrablack optima optimaextrablack /System/Library/Fonts/Optima.ttc 5 optimanovaltproblack optimanovaltpro optimanovaltproblack /Library/Fonts/OptimaNovaLTPro-Black.otf optimanovaltproblackitalic optimanovaltpro optimanovaltproblackitalic /Library/Fonts/OptimaNovaLTPro-BlackItalic.otf optimanovaltprobold optimanovaltpro optimanovaltprobold /Library/Fonts/OptimaNovaLTPro-Bold.otf optimanovaltproboldcond optimanovaltpro optimanovaltproboldcond /Library/Fonts/OptimaNovaLTPro-BoldCond.otf optimanovaltproboldcondensed optimanovaltpro optimanovaltproboldcond /Library/Fonts/OptimaNovaLTPro-BoldCond.otf optimanovaltprobolditalic optimanovaltpro optimanovaltprobolditalic /Library/Fonts/OptimaNovaLTPro-BoldItalic.otf optimanovaltprocondensed optimanovaltpro optimanovaltprocondensed /Library/Fonts/OptimaNovaLTPro-Condensed.otf optimanovaltprodemi optimanovaltpro optimanovaltprodemi /Library/Fonts/OptimaNovaLTPro-Demi.otf optimanovaltprodemicond optimanovaltpro optimanovaltprodemicond /Library/Fonts/OptimaNovaLTPro-DemiCond.otf optimanovaltprodemicondensed optimanovaltpro optimanovaltprodemicond /Library/Fonts/OptimaNovaLTPro-DemiCond.otf optimanovaltprodemiitalic optimanovaltpro optimanovaltprodemiitalic /Library/Fonts/OptimaNovaLTPro-DemiItalic.otf optimanovaltproheavy optimanovaltpro optimanovaltproheavy /Library/Fonts/OptimaNovaLTPro-Heavy.otf optimanovaltproheavyitalic optimanovaltpro optimanovaltproheavyitalic /Library/Fonts/OptimaNovaLTPro-HeavyItalic.otf optimanovaltproitalic optimanovaltpro optimanovaltproitalic /Library/Fonts/OptimaNovaLTPro-Italic.otf optimanovaltprolight optimanovaltpro optimanovaltprolight /Library/Fonts/OptimaNovaLTPro-Light.otf optimanovaltprolightcond optimanovaltpro optimanovaltprolightcond /Library/Fonts/OptimaNovaLTPro-LightCond.otf optimanovaltprolightcondensed optimanovaltpro optimanovaltprolightcond /Library/Fonts/OptimaNovaLTPro-LightCond.otf optimanovaltprolightitalic optimanovaltpro optimanovaltprolightitalic /Library/Fonts/OptimaNovaLTPro-LightItalic.otf optimanovaltpromedium optimanovaltpro optimanovaltpromedium /Library/Fonts/OptimaNovaLTPro-Medium.otf optimanovaltpromediumcond optimanovaltpro optimanovaltpromediumcond /Library/Fonts/OptimaNovaLTPro-MediumCond.otf optimanovaltpromediumcondensed optimanovaltpro optimanovaltpromediumcond /Library/Fonts/OptimaNovaLTPro-MediumCond.otf optimanovaltpromediumita optimanovaltpro optimanovaltpromediumita /Library/Fonts/OptimaNovaLTPro-MediumIta.otf optimanovaltpromediumitalic optimanovaltpro optimanovaltpromediumita /Library/Fonts/OptimaNovaLTPro-MediumIta.otf optimanovaltpronormal optimanovaltpro optimanovaltprotitlinginit /Library/Fonts/OptimaNovaLTPro-TitlingInit.otf optimanovaltproregular optimanovaltpro optimanovaltproregular /Library/Fonts/OptimaNovaLTPro-Regular.otf optimanovaltprotitlinginit optimanovaltpro optimanovaltprotitlinginit /Library/Fonts/OptimaNovaLTPro-TitlingInit.otf optimanovaltprotitlinginitials optimanovaltpro optimanovaltprotitlinginit /Library/Fonts/OptimaNovaLTPro-TitlingInit.otf And latin text works. Fallback for cyrillic doesn’t yet. G
G
G
Thanks,
G ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://context.aanhet.net http://context.aanhet.net/ archive : https://bitbucket.org/phg/context-mirror/commits/ https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://context.aanhet.net http://context.aanhet.net/ archive : https://bitbucket.org/phg/context-mirror/commits/ https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://context.aanhet.net http://context.aanhet.net/ archive : https://bitbucket.org/phg/context-mirror/commits/ https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________
On 5/24/20 1:50 PM, Gerben Wierda wrote:
[...] I’ve decided to buy the Optima Nova font. But now that I use it, I run into the problem that suddenly my fallback for Cyrillic has stopped working.
Hi Gerben, the only reason may be that fallback families only work if the main family works too (I have just discovered that). BTW, the issue with Optima Nova is that the font family seems to be rather tricky. It seems to be "Optima nova Pro".
\definefontfamily [archimate] [ss] [Optima Nova] [ tf=file:/Library/Fonts/OptimaNovaLTPro-Medium.otf, it=file:OptimaNovaLTPro-MediumIta.otf, bf=file:OptimaNovaLTPro-Bold.otf, bi=file:OptimaNovaLTPro-BoldIta.otf, ] [...] The first problem was solved, I had to rebuild the font database:
mtxrun --script fonts --reload
After rebuilding the font database (required to use new fonts added to the system), you don’t need to specify files, as long as you invoke the right family name, such as in: \definefontfamily [archimate] [ss] [Optima nova Pro]% or whatever the family name is
And latin text works. Fallback for cyrillic doesn’t yet.
Which is the output from "mtxrun --script fonts --list --all --pattern=Helvetica"? Could you try the following sample and report back? \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, force=yes] \definefontfamily [archimate] [ss] [Optima nova Pro] \setupbodyfont[archimate] \starttext The quick brown... Ядро метамодели. \stoptext If not you don’t get Cyrillic with Helvetica, please add the relevant line from the log. I hope it helps, Pablo -- http://www.ousia.tk
The answer was: running mtxrun --script fonts —reload —force Then to get the proper usage (for e.g. demibold as text font): \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes] \definefontfamily [archimate] [ss] [Optima nova LT Pro] [tf=style:Demi, bf=style:Heavy, it=style:Medium Italic, bi=style:Heavy Italic] \setupbodyfont[archimate] G
On 24 May 2020, at 13:50, Gerben Wierda
wrote: On 24 May 2020, at 12:40, Gerben Wierda
mailto:gerben.wierda@rna.nl> wrote: On 24 May 2020, at 12:26, Gerben Wierda
mailto:gerben.wierda@rna.nl> wrote: On 24 May 2020, at 12:16, Gerben Wierda
mailto:gerben.wierda@rna.nl> wrote: I’ve decided to buy the Optima Nova font. But now that I use it, I run into the problem that suddenly my fallback for Cyrillic has stopped working.
\definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale=1.0] \definefontfamily [archimate] [ss] [OptimaLT-Medium] \setupbodyfont[archimate]
\starttext
The quick brown fox jumped over the lazy dog. Ядро метамодели.
\stoptext
With
\definefontfamily [archimate] [ss] [Optima]
Cyrillic fallback works (as does the old Optima). What do I need to do to remedy that?
I did not look good. Optima Nova also doesn’t work and has been replaced with Latin Modern Sans
selectfont > the requested font 'OptimaLT-Medium' has no files for the 'tf' alternative, Latin Modern is used instead.
Apparently as a result, the fallback for cyrillic also doesn’t work. So, I need to find out how to set up Optima Nova.
And not even
\definefontfamily [archimate] [ss] [Optima Nova] [ tf=file:/Library/Fonts/OptimaNovaLTPro-Medium.otf, it=file:OptimaNovaLTPro-MediumIta.otf, bf=file:OptimaNovaLTPro-Bold.otf, bi=file:OptimaNovaLTPro-BoldIta.otf, ]
will work.
selectfont > the requested font 'Optima Nova' has no files for the 'tf' alternative, Latin Modern is used instead.
There is no documentation of \definefontfamily in the docs that come with the standalone ConTeXt distribution and what is on ConTeXtgarden hasn’t brought light to the matter either.
The firsdt problem was solved, I had to rebuild the font database:
mtxrun --script fonts --reload
Now
$ mtxrun --script fonts --list --all --pattern=Optima identifier familyname fontname filename subfont instances
optima optima optimaextrablack /System/Library/Fonts/Optima.ttc 5 optimaextrablack optima optimaextrablack /System/Library/Fonts/Optima.ttc 5 optimanovaltproblack optimanovaltpro optimanovaltproblack /Library/Fonts/OptimaNovaLTPro-Black.otf optimanovaltproblackitalic optimanovaltpro optimanovaltproblackitalic /Library/Fonts/OptimaNovaLTPro-BlackItalic.otf optimanovaltprobold optimanovaltpro optimanovaltprobold /Library/Fonts/OptimaNovaLTPro-Bold.otf optimanovaltproboldcond optimanovaltpro optimanovaltproboldcond /Library/Fonts/OptimaNovaLTPro-BoldCond.otf optimanovaltproboldcondensed optimanovaltpro optimanovaltproboldcond /Library/Fonts/OptimaNovaLTPro-BoldCond.otf optimanovaltprobolditalic optimanovaltpro optimanovaltprobolditalic /Library/Fonts/OptimaNovaLTPro-BoldItalic.otf optimanovaltprocondensed optimanovaltpro optimanovaltprocondensed /Library/Fonts/OptimaNovaLTPro-Condensed.otf optimanovaltprodemi optimanovaltpro optimanovaltprodemi /Library/Fonts/OptimaNovaLTPro-Demi.otf optimanovaltprodemicond optimanovaltpro optimanovaltprodemicond /Library/Fonts/OptimaNovaLTPro-DemiCond.otf optimanovaltprodemicondensed optimanovaltpro optimanovaltprodemicond /Library/Fonts/OptimaNovaLTPro-DemiCond.otf optimanovaltprodemiitalic optimanovaltpro optimanovaltprodemiitalic /Library/Fonts/OptimaNovaLTPro-DemiItalic.otf optimanovaltproheavy optimanovaltpro optimanovaltproheavy /Library/Fonts/OptimaNovaLTPro-Heavy.otf optimanovaltproheavyitalic optimanovaltpro optimanovaltproheavyitalic /Library/Fonts/OptimaNovaLTPro-HeavyItalic.otf optimanovaltproitalic optimanovaltpro optimanovaltproitalic /Library/Fonts/OptimaNovaLTPro-Italic.otf optimanovaltprolight optimanovaltpro optimanovaltprolight /Library/Fonts/OptimaNovaLTPro-Light.otf optimanovaltprolightcond optimanovaltpro optimanovaltprolightcond /Library/Fonts/OptimaNovaLTPro-LightCond.otf optimanovaltprolightcondensed optimanovaltpro optimanovaltprolightcond /Library/Fonts/OptimaNovaLTPro-LightCond.otf optimanovaltprolightitalic optimanovaltpro optimanovaltprolightitalic /Library/Fonts/OptimaNovaLTPro-LightItalic.otf optimanovaltpromedium optimanovaltpro optimanovaltpromedium /Library/Fonts/OptimaNovaLTPro-Medium.otf optimanovaltpromediumcond optimanovaltpro optimanovaltpromediumcond /Library/Fonts/OptimaNovaLTPro-MediumCond.otf optimanovaltpromediumcondensed optimanovaltpro optimanovaltpromediumcond /Library/Fonts/OptimaNovaLTPro-MediumCond.otf optimanovaltpromediumita optimanovaltpro optimanovaltpromediumita /Library/Fonts/OptimaNovaLTPro-MediumIta.otf optimanovaltpromediumitalic optimanovaltpro optimanovaltpromediumita /Library/Fonts/OptimaNovaLTPro-MediumIta.otf optimanovaltpronormal optimanovaltpro optimanovaltprotitlinginit /Library/Fonts/OptimaNovaLTPro-TitlingInit.otf optimanovaltproregular optimanovaltpro optimanovaltproregular /Library/Fonts/OptimaNovaLTPro-Regular.otf optimanovaltprotitlinginit optimanovaltpro optimanovaltprotitlinginit /Library/Fonts/OptimaNovaLTPro-TitlingInit.otf optimanovaltprotitlinginitials optimanovaltpro optimanovaltprotitlinginit /Library/Fonts/OptimaNovaLTPro-TitlingInit.otf
And latin text works. Fallback for cyrillic doesn’t yet.
G
G
G
Thanks,
G ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://context.aanhet.net http://context.aanhet.net/ archive : https://bitbucket.org/phg/context-mirror/commits/ https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://context.aanhet.net http://context.aanhet.net/ archive : https://bitbucket.org/phg/context-mirror/commits/ https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://context.aanhet.net http://context.aanhet.net/ archive : https://bitbucket.org/phg/context-mirror/commits/ https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://context.aanhet.net http://context.aanhet.net/ archive : https://bitbucket.org/phg/context-mirror/commits/ https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________
participants (2)
-
Gerben Wierda
-
Pablo Rodriguez