ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mari Voipio <mari.voipio@iki.fi>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Problem with Cambria (in Windows)
Date: Mon, 18 Apr 2016 14:46:48 +0300	[thread overview]
Message-ID: <CAGbDsP28tvHuPpGbCF_LndCHJtSS_VaiMy2DsZ4Q+rEzRhZ43g@mail.gmail.com> (raw)

[-- 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
___________________________________________________________________________________

             reply	other threads:[~2016-04-18 11:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-18 11:46 Mari Voipio [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGbDsP28tvHuPpGbCF_LndCHJtSS_VaiMy2DsZ4Q+rEzRhZ43g@mail.gmail.com \
    --to=mari.voipio@iki.fi \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).