* [NTG-context] Problem with Cambria
@ 2024-08-16 7:47 Lutz Haseloff
2024-08-16 8:43 ` [NTG-context] " Wolfgang Schuster
2024-08-16 8:52 ` Henning Hraban Ramm
0 siblings, 2 replies; 8+ messages in thread
From: Lutz Haseloff @ 2024-08-16 7:47 UTC (permalink / raw)
To: Context Mailing List
[-- Attachment #1.1: Type: text/plain, Size: 2570 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 3137 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Problem with Cambria
2024-08-16 7:47 [NTG-context] Problem with Cambria Lutz Haseloff
@ 2024-08-16 8:43 ` Wolfgang Schuster
2024-08-16 11:44 ` Lutz Haseloff
2024-08-16 8:52 ` Henning Hraban Ramm
1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2024-08-16 8:43 UTC (permalink / raw)
To: mailing list for ConTeXt users, Lutz Haseloff
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Problem with Cambria
2024-08-16 7:47 [NTG-context] Problem with Cambria Lutz Haseloff
2024-08-16 8:43 ` [NTG-context] " Wolfgang Schuster
@ 2024-08-16 8:52 ` Henning Hraban Ramm
2024-08-16 9:14 ` Wolfgang Schuster
2024-08-16 11:46 ` Lutz Haseloff
1 sibling, 2 replies; 8+ messages in thread
From: Henning Hraban Ramm @ 2024-08-16 8:52 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Problem with Cambria
2024-08-16 8:52 ` Henning Hraban Ramm
@ 2024-08-16 9:14 ` Wolfgang Schuster
2024-08-16 13:10 ` Lutz Haseloff
2024-08-16 11:46 ` Lutz Haseloff
1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2024-08-16 9:14 UTC (permalink / raw)
To: mailing list for ConTeXt users, Henning Hraban Ramm; +Cc: Mikael Sundqvist
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Problem with Cambria
2024-08-16 8:43 ` [NTG-context] " Wolfgang Schuster
@ 2024-08-16 11:44 ` Lutz Haseloff
0 siblings, 0 replies; 8+ messages in thread
From: Lutz Haseloff @ 2024-08-16 11:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1229 bytes --]
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 <wolfgang.schuster.lists@gmail.com>:
>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
[-- Attachment #1.2: Type: text/html, Size: 1823 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Problem with Cambria
2024-08-16 8:52 ` Henning Hraban Ramm
2024-08-16 9:14 ` Wolfgang Schuster
@ 2024-08-16 11:46 ` Lutz Haseloff
1 sibling, 0 replies; 8+ messages in thread
From: Lutz Haseloff @ 2024-08-16 11:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2064 bytes --]
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 <texml@fiee.net>:
>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
[-- Attachment #1.2: Type: text/html, Size: 3628 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Problem with Cambria
2024-08-16 9:14 ` Wolfgang Schuster
@ 2024-08-16 13:10 ` Lutz Haseloff
2024-08-16 13:46 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Lutz Haseloff @ 2024-08-16 13:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1436 bytes --]
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 <wolfgang.schuster.lists@gmail.com>:
>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
[-- Attachment #1.2: Type: text/html, Size: 2072 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: Problem with Cambria
2024-08-16 13:10 ` Lutz Haseloff
@ 2024-08-16 13:46 ` Hans Hagen
0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2024-08-16 13:46 UTC (permalink / raw)
To: ntg-context
On 8/16/2024 3:10 PM, Lutz Haseloff wrote:
> I have cambria.ttc in my OSFONTDIR.
> If I Move it to texmf-fonts,
> \doiffileelse and \doifelsefile recognize cambria.ttc.
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-08-16 13:49 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-16 7:47 [NTG-context] Problem with Cambria Lutz Haseloff
2024-08-16 8:43 ` [NTG-context] " Wolfgang Schuster
2024-08-16 11:44 ` Lutz Haseloff
2024-08-16 8:52 ` Henning Hraban Ramm
2024-08-16 9:14 ` Wolfgang Schuster
2024-08-16 13:10 ` Lutz Haseloff
2024-08-16 13:46 ` Hans Hagen
2024-08-16 11:46 ` Lutz Haseloff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).