* Problem with Cambria (in Windows)
@ 2016-04-18 11:46 Mari Voipio
2016-04-18 11:58 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Mari Voipio @ 2016-04-18 11:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 836 bytes --]
Hi,
after I updated my ConTeXt from a pretty old version (+1 year), my
font system went bad. This used to work:
\usemodule simplefonts % Do I need this?
\starttypescript[Manuals]
\definetypeface[Manuals] [rm] [serif] [cambria] [default] [rscale=0.95]
\definetypeface[Manuals] [ss] [sans] [calibri] [default] [rscale=0.9]
\definetypeface[Manuals] [tt] [mono] [courier] [default] [rscale=0.85]
\stoptypescript
\usetypescript[Manuals]
\setupbodyfont[Manuals,10pt]
\starttext
\input tufte
\stoptext
However, now Cambria turns up as italic, not regular. As far as I
know, my laptop hasn't changed during this period (still running
Windows 7), so I suspect the problem arrived with my recent ConTeXt
update (last updated this morning). Is there an easy solution or a
workaround for this problem?
Thank you,
Mari
[-- Attachment #2: manual_font.log --]
[-- Type: application/octet-stream, Size: 6887 bytes --]
open source > 1 > 1 > c:/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv
ConTeXt ver: 2016.04.17 11:56 MKIV beta fmt: 2016.4.18 int: english/english
system > 'cont-new.mkiv' loaded
open source > 2 > 2 > c:/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
close source > 2 > 2 > c:/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
system > files > jobname 'manual_font', input './manual_font', result 'manual_font'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > 2 > 3 > F:/svn3/context/testing/manual_font.tex
open source > 3 > 4 > c:/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv
open source > 4 > 5 > c:/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv
close source > 4 > 5 > c:/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv
close source > 3 > 5 > c:/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv
open source > 3 > 6 > c:/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cleartype.mkiv
close source > 3 > 6 > c:/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cleartype.mkiv
open source > 3 > 7 > c:/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv
close source > 3 > 7 > c:/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv
fonts > preloading modern-designsize (math)
fonts > typescripts > unknown library 'modern-designsize'
fonts > 'fallback modern-designsize mm 10pt' is loaded
open source > 3 > 8 > c:/context/tex/texmf-context/tex/context/sample/common/tufte.tex
close source > 3 > 8 > c:/context/tex/texmf-context/tex/context/sample/common/tufte.tex
backend > xmp > using file 'c:/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1
close source > 2 > 8 > F:/svn3/context/testing/manual_font.tex
close source > 1 > 8 > c:/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv
system > structure > start used structure
used structure > text: manual_font
system > structure > stop used structure
system > files > start used files
used file > 1: filename=cont-yes.mkiv filetype=tex foundname=c:/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
used file > 2: filename=publ-imp-default.lua filetype=lua foundname=c:/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
used file > 3: filename=cont-new.mkiv filetype=tex foundname=c:/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
used file > 4: filename=lang-us.lua filetype=lua foundname=c:/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
used file > 5: filename=F:\svn3\context\testing/manual_font.tex foundname=F:/svn3/context/testing/manual_font.tex usedmethod=direct
used file > 6: filename=type-imp-cambria.mkiv filetype=tex foundname=c:/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv usedmethod=database
used file > 7: filename=type-imp-dejavu.mkiv filetype=tex foundname=c:/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv usedmethod=database
used file > 8: filename=type-imp-cleartype.mkiv filetype=tex foundname=c:/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cleartype.mkiv usedmethod=database
used file > 9: filename=type-imp-texgyre.mkiv filetype=tex foundname=c:/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv usedmethod=database
used file > 10: filename=c:/windows/fonts/cambriai.ttf format=ttf foundname=c:/windows/fonts/cambriai.ttf usedmethod=direct
used file > 11: filename=cambria.lfg filetype=tex foundname=c:/context/tex/texmf-context/tex/context/fonts/mkiv/cambria.lfg usedmethod=database
used file > 12: filename=tufte filetype=tex foundname=c:/context/tex/texmf-context/tex/context/sample/common/tufte.tex usedmethod=database
used file > 13: filename=lpdf-pdx.xml filetype=tex foundname=c:/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database
system > files > stop used files
system > options > start commandline options
used option > autopdf="true"
used option > currentrun="1"
used option > fulljobname="./manual_font.tex"
used option > input="./manual_font.tex"
used option > kindofrun="1"
used option > maxnofruns="9"
used option > no-parse-first-line="true"
system > options > stop commandline options
system > options > start commandline files
used file > 1: ./manual_font.tex
system > options > stop commandline files
mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path: c:/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats > resource resolver: loadtime 0.008 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 13 found files, scanned paths: <none>
mkiv lua stats > stored bytecode data: 386 modules (0.172 sec), 82 tables (0.009 sec), 468 chunks (0.181 sec)
mkiv lua stats > traced context: maxstack: 1169, freed: 0, unreachable: 1169
mkiv lua stats > cleaned up reserved nodes: 47 nodes, 9 lists of 444
mkiv lua stats > node memory usage: 11 glue, 2 penalty, 22 attribute, 38 glue_spec, 8 attribute_list, 2 temp
mkiv lua stats > node list callback tasks: 6 unique task lists, 5 instances (re)created, 38 calls
mkiv lua stats > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats > callbacks: 172 direct, 810 indirect, 982 total
mkiv lua stats > randomizer: resumed with value 0.51274147770623
mkiv lua stats > loaded patterns: en::2, load time: 0.000
mkiv lua stats > result saved in file: manual_font.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats > loaded fonts: 1 files: cambriai.ttf
mkiv lua stats > font engine: otf 3.017, afm 1.500, tfm 1.000, 4 instances, 3 shared in backend, 1 common vectors, 2 common hashes, load time 0.097 seconds
mkiv lua stats > used platform: mswin, type: windows, binary subtree: texmf-mswin
mkiv lua stats > luatex banner: this is luatex, version beta-0.95.0 (tex live 2016/w32tex)
mkiv lua stats > control sequences: 43806 of 65536 + 100000
mkiv lua stats > lua properties: engine: lua, used memory: 47 MB (ctx: 47 MB), hash type: lua, hash chars: min(32,40), symbol mask: utf (τεχ)
mkiv lua stats > runtime: 0.328 seconds, 1 processed pages, 1 shipped pages, 3.049 pages/second
[-- Attachment #3: manual_font.pdf --]
[-- Type: application/pdf, Size: 20992 bytes --]
[-- Attachment #4: manual_font.tex --]
[-- Type: application/x-tex, Size: 405 bytes --]
[-- Attachment #5: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem with Cambria (in Windows)
2016-04-18 11:46 Problem with Cambria (in Windows) Mari Voipio
@ 2016-04-18 11:58 ` Wolfgang Schuster
2016-04-19 6:09 ` Mari Voipio
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2016-04-18 11:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1147 bytes --]
> Mari Voipio <mailto:mari.voipio@iki.fi>
> 18. April 2016 um 13:46
> Hi,
>
> after I updated my ConTeXt from a pretty old version (+1 year), my
> font system went bad. This used to work:
>
>
> \usemodule simplefonts % Do I need this?
The simplefonts is frozen and the mechanism (although with different
commands)
is now part of the core.
> \starttypescript[Manuals]
> \definetypeface[Manuals] [rm] [serif] [cambria] [default] [rscale=0.95]
> \definetypeface[Manuals] [ss] [sans] [calibri] [default] [rscale=0.9]
> \definetypeface[Manuals] [tt] [mono] [courier] [default] [rscale=0.85]
> \stoptypescript
>
> \usetypescript[Manuals]
> \setupbodyfont[Manuals,10pt]
>
>
>
> \starttext
>
> \input tufte
>
> \stoptext
>
>
>
> However, now Cambria turns up as italic, not regular. As far as I
> know, my laptop hasn't changed during this period (still running
> Windows 7), so I suspect the problem arrived with my recent ConTeXt
> update (last updated this morning). Is there an easy solution or a
> workaround for this problem?
What output do you get when you write this on the commandline:
mtxrun --script font --list --all cambria*
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2577 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem with Cambria (in Windows)
2016-04-18 11:58 ` Wolfgang Schuster
@ 2016-04-19 6:09 ` Mari Voipio
2016-04-19 12:43 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Mari Voipio @ 2016-04-19 6:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Wolfgang,
here's what I get:
c:\context>mtxrun -script font --list --all cambria*
cambria cambriabolditalic c:/windows/fonts/cambriaz.ttf
cambriabold cambriabold c:/windows/fonts/cambriab.ttf
cambriabolditalic cambriabolditalic c:/windows/fonts/cambriaz.ttf
cambriaitalic cambriaitalic c:/windows/fonts/cambriai.ttf
cambriamath cambriamath c:/windows/fonts/cambria.ttc index:
2
cambriamathnormal cambriamath c:/windows/fonts/cambria.ttc index:
2
cambriamathregular cambriamath c:/windows/fonts/cambria.ttc index:
2
cambrianormal cambriaitalic c:/windows/fonts/cambriai.ttf
Doesn't look good, does it. Windows Fonts shows Cambria Regular (and I
can use it in e.g. Word) and then bold, italic and bold italic, but it
seems like the regular is gone from the list above. I may have a
problem...
Thank you for your help,
Mari
On Mon, Apr 18, 2016 at 2:58 PM, Wolfgang Schuster
<schuster.wolfgang@gmail.com> wrote:
> Mari Voipio
> 18. April 2016 um 13:46
> Hi,
>
> after I updated my ConTeXt from a pretty old version (+1 year), my
> font system went bad. This used to work:
>
>
> \usemodule simplefonts % Do I need this?
>
> The simplefonts is frozen and the mechanism (although with different
> commands)
> is now part of the core.
>
> \starttypescript[Manuals]
> \definetypeface[Manuals] [rm] [serif] [cambria] [default] [rscale=0.95]
> \definetypeface[Manuals] [ss] [sans] [calibri] [default] [rscale=0.9]
> \definetypeface[Manuals] [tt] [mono] [courier] [default] [rscale=0.85]
> \stoptypescript
>
> \usetypescript[Manuals]
> \setupbodyfont[Manuals,10pt]
>
>
>
> \starttext
>
> \input tufte
>
> \stoptext
>
>
>
> However, now Cambria turns up as italic, not regular. As far as I
> know, my laptop hasn't changed during this period (still running
> Windows 7), so I suspect the problem arrived with my recent ConTeXt
> update (last updated this morning). Is there an easy solution or a
> workaround for this problem?
>
> What output do you get when you write this on the commandline:
>
> mtxrun --script font --list --all cambria*
>
> Wolfgang
>
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : 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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem with Cambria (in Windows)
2016-04-19 6:09 ` Mari Voipio
@ 2016-04-19 12:43 ` Wolfgang Schuster
2016-04-21 7:07 ` Mari Voipio
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2016-04-19 12:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1575 bytes --]
> Mari Voipio <mailto:mari.voipio@iki.fi>
> 19. April 2016 um 08:09
> Hi Wolfgang,
>
> here's what I get:
>
>
> c:\context>mtxrun -script font --list --all cambria*
>
> cambria cambriabolditalic c:/windows/fonts/cambriaz.ttf
> cambriabold cambriabold c:/windows/fonts/cambriab.ttf
> cambriabolditalic cambriabolditalic c:/windows/fonts/cambriaz.ttf
> cambriaitalic cambriaitalic c:/windows/fonts/cambriai.ttf
> cambriamath cambriamath c:/windows/fonts/cambria.ttc index:
> 2
> cambriamathnormal cambriamath c:/windows/fonts/cambria.ttc index:
> 2
> cambriamathregular cambriamath c:/windows/fonts/cambria.ttc index:
> 2
> cambrianormal cambriaitalic c:/windows/fonts/cambriai.ttf
>
>
> Doesn't look good, does it. Windows Fonts shows Cambria Regular (and I
> can use it in e.g. Word) and then bold, italic and bold italic, but it
> seems like the regular is gone from the list above. I may have a
> problem...
1. You can try to reload the font database with "mtxrun --script fonts
--reload --force"
and try it again.
2. You can write your own typescripts for cambria (the existing ones
rely on normalized
names to support various versions of cambria which use different
file names).
3. You can use the \definefontfamily command to load the fonts.
%% begin example
\definefontfamily [manuals] [rm] [Cambria]
\definefontfamily [manuals] [ss] [Calibri] [scale=0.95]
\definefontfamily [manuals] [tt] [Courier] [scale=0.90]
\definefontfamily [manuals] [mm] [Cambria Math]
\setupbodyfont[manuals,10pt]
\starttext
\input tufte
\stoptext
%% end example
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2888 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem with Cambria (in Windows)
2016-04-19 12:43 ` Wolfgang Schuster
@ 2016-04-21 7:07 ` Mari Voipio
2016-04-21 7:10 ` luigi scarso
0 siblings, 1 reply; 6+ messages in thread
From: Mari Voipio @ 2016-04-21 7:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, Apr 19, 2016 at 3:43 PM, Wolfgang Schuster
<schuster.wolfgang@gmail.com> wrote:
> 1. You can try to reload the font database with "mtxrun --script fonts
> --reload --force"
> and try it again.
This did the trick! Now I get
cambriaregular cambria c:/windows/fonts/cambria.ttc index:1
and that fixed the problem. It's nice to know that truetype
collections (.ttc) are not a problem for ConTeXt.
Thank you very much for your help, Wolfgang!
Mari
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem with Cambria (in Windows)
2016-04-21 7:07 ` Mari Voipio
@ 2016-04-21 7:10 ` luigi scarso
0 siblings, 0 replies; 6+ messages in thread
From: luigi scarso @ 2016-04-21 7:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 222 bytes --]
On Thu, Apr 21, 2016 at 9:07 AM, Mari Voipio <mari.voipio@iki.fi> wrote:
>
> and that fixed the problem. It's nice to know that truetype
> collections (.ttc) are not a problem for ConTeXt.
>
> almost never...
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 612 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-04-21 7:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-18 11:46 Problem with Cambria (in Windows) Mari Voipio
2016-04-18 11:58 ` Wolfgang Schuster
2016-04-19 6:09 ` Mari Voipio
2016-04-19 12:43 ` Wolfgang Schuster
2016-04-21 7:07 ` Mari Voipio
2016-04-21 7:10 ` luigi scarso
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).