![](https://secure.gravatar.com/avatar/4783e8c005ceb51b9c5a95d064f8be53.jpg?s=120&d=mm&r=g)
Hi Hans, hi all, the latest ConTeXt lmtx seems to have a problem with MS Cambria. My file is: \setupbodyfont[cambria] \definefont[symbola][file:symbola*default at 10pt] \starttext \startMPpage[offset=1dk] draw textext("AC{\symbola ⚡}DC"); \stopMPpage \stoptext mtxrun finde the font: ➜ ~ mtxrun --script font --list --pattern=cambria --all identifier familyname fontname filename subfont instances cambria cambria cambria /home/lutz/fonts/winfont/cambria.ttc 1 cambriabold cambria cambriabold /home/lutz/fonts/winfont/cambriab.ttf cambriabolditalic cambria cambriabolditalic /home/lutz/fonts/winfont/cambriaz.ttf cambriaitalic cambria cambriaitalic /home/lutz/fonts/winfont/cambriai.ttf cambriamathnormal cambriamath cambriamath /home/lutz/fonts/winfont/cambria.ttc 2 cambriamathregular cambriamath cambriamath /home/lutz/fonts/winfont/cambria.ttc 2 cambrianormal cambria cambriaitalic /home/lutz/fonts/winfont/cambriai.ttf cambriaregular cambria cambria /home/lutz/fonts/winfont/cambria.ttc 1 ConTeXt doesn't. logfile: open source > level 2, order 3, name '/home/lutz/lmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv' open source > level 3, order 4, name '/home/lutz/lmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv' close source > level 3, order 4, name '/home/lutz/lmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv' close source > level 2, order 4, name '/home/lutz/lmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv' fonts > defining > forced type 'ttf' of 'cambria' not found fonts > defining > unable to define 'cambria.ttf' as 'cambria-12pt-rm-tf-0--0' fonts > defining > forced type 'ttf' of 'cambmath' not found fonts > defining > unable to define 'cambmath.ttf' as 'cambria-12pt-mm-mr--3' fonts > defining > unable to define 'cambmath.ttf' as 'cambria-12pt-mm-mr--2' fonts > defining > unable to define 'cambmath.ttf' as 'cambria-12pt-mm-mr--1' fonts > defining > unable to define 'cambmath.ttf' as 'cambria-12pt-mm-mb--3' fonts > defining > unable to define 'cambmath.ttf' as 'cambria-12pt-mm-mb--2' fonts > defining > unable to define 'cambmath.ttf' as 'cambria-12pt-mm-mb--1' Greetings Lutz Haseloff
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
Lutz Haseloff schrieb am 16.08.2024 um 09:47:
Hi Hans, hi all,
the latest ConTeXt lmtx seems to have a problem with MS Cambria.
My file is:
\setupbodyfont[cambria] \definefont[symbola][file:symbola*default at 10pt] \starttext \startMPpage[offset=1dk] draw textext("AC{\symbola ⚡}DC"); \stopMPpage \stoptext
Which result (YES or NO) do you get with the following example? \starttext \doiffileelse{cambria.ttc}{YES}{NO} \stoptext Wolfgang
![](https://secure.gravatar.com/avatar/4783e8c005ceb51b9c5a95d064f8be53.jpg?s=120&d=mm&r=g)
I get NO.
(With Version 2024.07.31 19:43 LMTX I get NO too)
Lutz
Am 16. August 2024 10:43:12 MESZ schrieb Wolfgang Schuster
Lutz Haseloff schrieb am 16.08.2024 um 09:47:
Hi Hans, hi all,
the latest ConTeXt lmtx seems to have a problem with MS Cambria.
My file is:
\setupbodyfont[cambria] \definefont[symbola][file:symbola*default at 10pt] \starttext \startMPpage[offset=1dk] draw textext("AC{\symbola ⚡}DC"); \stopMPpage \stoptext
Which result (YES or NO) do you get with the following example?
\starttext \doiffileelse{cambria.ttc}{YES}{NO} \stoptext
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Lutz Haseloff
![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Am 16.08.24 um 09:47 schrieb Lutz Haseloff:
the latest ConTeXt lmtx seems to have a problem with MS Cambria.
For me, Cambria only works after a forced reload of the font database: mtxrun --script font --reload --force Otherwise everything is Cambria bold (from the same TTC). I don’t know if your problem is related.
➜ ~ mtxrun --script font --list --pattern=cambria --all identifier familyname fontname filename subfont instances
cambriamathnormal cambriamath cambriamath /home/lutz/fonts/winfont/cambria.ttc 2 cambriamathregular cambriamath cambriamath /home/lutz/fonts/winfont/cambria.ttc 2
'/home/lutz/lmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv' fonts > defining > forced type 'ttf' of 'cambria' not found fonts > defining > unable to define 'cambria.ttf' as 'cambria-12pt-rm-tf-0--0' fonts > defining > forced type 'ttf' of 'cambmath' not found fonts > defining > unable to define 'cambmath.ttf' as
I’m not sure if "cambmath" or "cambria.ttf" relates to "cambria.ttc". Hraban
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
Henning Hraban Ramm schrieb am 16.08.2024 um 10:52:
I’m not sure if "cambmath" or "cambria.ttf" relates to "cambria.ttc".
When Cambria was released you had two ways to get the fonts: 1. As part of your windows (or was it office?) installation. 2. You bought a end user license from Ascender fonts. The second option is no longer available because Ascender was bought in 2010 by Monotype and it seems the fonts aren't available for purchase anymore. @Hans and Mikael: Can we remove the ascender version from the typescript or change the file check to make the microsoft version the default? Wolfgang
![](https://secure.gravatar.com/avatar/4783e8c005ceb51b9c5a95d064f8be53.jpg?s=120&d=mm&r=g)
I have cambria.ttc in my OSFONTDIR.
If I Move it to texmf-fonts,
\doiffileelse and \doifelsefile recognize cambria.ttc.
Greetings Lutz
Am 16. August 2024 11:14:47 MESZ schrieb Wolfgang Schuster
Henning Hraban Ramm schrieb am 16.08.2024 um 10:52:
I’m not sure if "cambmath" or "cambria.ttf" relates to "cambria.ttc".
When Cambria was released you had two ways to get the fonts:
1. As part of your windows (or was it office?) installation.
2. You bought a end user license from Ascender fonts.
The second option is no longer available because Ascender was bought in 2010 by Monotype and it seems the fonts aren't available for purchase anymore.
@Hans and Mikael: Can we remove the ascender version from the typescript or change the file check to make the microsoft version the default?
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Lutz Haseloff
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
I have cambria.ttc in my OSFONTDIR. If I Move it to texmf-fonts, \doiffileelse and \doifelsefile recognize cambria.ttc.
On 8/16/2024 3:10 PM, Lutz Haseloff wrote: that's the best approach ... the problem is that there are several cambrias and the names are a bit fuzzy so bets play safe with files 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/4783e8c005ceb51b9c5a95d064f8be53.jpg?s=120&d=mm&r=g)
That is my Standard font reload commandline.
Used to work in the past.
Doesn't work in this case.
Lutz
Am 16. August 2024 10:52:22 MESZ schrieb Henning Hraban Ramm
Am 16.08.24 um 09:47 schrieb Lutz Haseloff:
the latest ConTeXt lmtx seems to have a problem with MS Cambria.
For me, Cambria only works after a forced reload of the font database:
mtxrun --script font --reload --force
Otherwise everything is Cambria bold (from the same TTC).
I don’t know if your problem is related.
➜ ~ mtxrun --script font --list --pattern=cambria --all identifier familyname fontname filename subfont instances
cambriamathnormal cambriamath cambriamath /home/lutz/fonts/winfont/cambria.ttc 2 cambriamathregular cambriamath cambriamath /home/lutz/fonts/winfont/cambria.ttc 2
'/home/lutz/lmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv' fonts > defining > forced type 'ttf' of 'cambria' not found fonts > defining > unable to define 'cambria.ttf' as 'cambria-12pt-rm-tf-0--0' fonts > defining > forced type 'ttf' of 'cambmath' not found fonts > defining > unable to define 'cambmath.ttf' as
I’m not sure if "cambmath" or "cambria.ttf" relates to "cambria.ttc".
Hraban
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Lutz Haseloff
participants (4)
-
Hans Hagen
-
Henning Hraban Ramm
-
Lutz Haseloff
-
Wolfgang Schuster