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