ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Cambria official typescript (mis)behavior
@ 2017-08-02 20:21 Idris Samawi Hamid ادريس سماوي حامد
  2017-08-02 20:34 ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2017-08-02 20:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 566 bytes --]

Dear gang,

There appears to be something awry with type-imp-cambria.mkiv or  
type-imp-dejavu.mkiv. Consider the following:

=======
\setupbodyfont
   [cambria,12pt]

\starttext
Test % {\it Test} {\bf Test} {\bi Test}
\stoptext
=======

This produces a pdf with Cambria Italic instead of Cambria Regular.  
Uncommenting the other three options produces the expected results.

Is this a bug or am I missing something? Awaiting your advice!

Best wishes
Idris
-- 
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512

[-- Attachment #2: test-cambria.log --]
[-- Type: application/octet-stream, Size: 7608 bytes --]

open source     > level 1, order 1, name 'C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2017.07.27 16:17 MKIV beta  fmt: 2017.7.27  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name 'C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
close source    > level 2, order 2, name 'C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'test-cambria', input './test-cambria', result 'test-cambria'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name 'C:/Users/hurqilya/Dropbox/Projects/articles/sh_ahmad-principles/test/test-cambria.tex'
open source     > level 3, order 4, name 'C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv'
open source     > level 4, order 5, name 'C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv'
close source    > level 4, order 5, name 'C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv'
close source    > level 3, order 5, name 'C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv'
fonts           > defining > font 'cambriai', feature 'locl', script 'latn', no language 'dflt'
fonts           > otf enhancing > DisplayOperatorMinHeight(2500 -> 2800)
backend         > xmp > using file 'C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 2, order 5, name 'C:/Users/hurqilya/Dropbox/Projects/articles/sh_ahmad-principles/test/test-cambria.tex'
close source    > level 1, order 5, name 'C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'

system          > structure > start used structure

used structure  > text: test-cambria

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 fullname=C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
used file       >    2: filename=publ-imp-default.lua filetype=scripts foundname=C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=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 fullname=C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
used file       >    4: filename=lang-exc.lua filetype=scripts foundname=C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
used file       >    5: filename=lang-us.lua filetype=scripts foundname=C:/ConTeXt/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=C:/ConTeXt/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
used file       >    6: filename=C:\Users\hurqilya\Dropbox\Projects\articles\sh_ahmad-principles\test/test-cambria.tex foundname=C:/Users/hurqilya/Dropbox/Projects/articles/sh_ahmad-principles/test/test-cambria.tex fullname=C:/Users/hurqilya/Dropbox/Projects/articles/sh_ahmad-principles/test/test-cambria.tex usedmethod=direct
used file       >    7: filename=type-imp-cambria.mkiv filetype=tex foundname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv fullname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv usedmethod=database
used file       >    8: filename=type-imp-dejavu.mkiv filetype=tex foundname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv fullname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv usedmethod=database
used file       >    9: filename=cambria-math.lfg filetype=tex foundname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/cambria-math.lfg fullname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/cambria-math.lfg usedmethod=database
used file       >   10: filename=c:/windows/fonts/cambriai.ttf format=ttf foundname=c:/windows/fonts/cambriai.ttf fullname=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 fullname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/cambria.lfg usedmethod=database
used file       >   12: filename=c:/windows/fonts/cambria.ttc format=ttc foundname=c:/windows/fonts/cambria.ttc fullname=c:/windows/fonts/cambria.ttc usedmethod=direct
used file       >   13: filename=lpdf-pdx.xml filetype=tex foundname=C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=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     > currentrun="1"
used option     > fulljobname="./test-cambria.tex"
used option     > input="./test-cambria.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: ./test-cambria.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.016 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 13 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 404 modules (0.217 sec), 91 tables (0.010 sec), 495 chunks (0.227 sec)
mkiv lua stats  > traced context: maxstack: 1242, freed: 0, unreachable: 1242
mkiv lua stats  > cleaned up reserved nodes: 58 nodes, 9 lists of 450
mkiv lua stats  > node memory usage: 2 glue, 2 kern, 2 penalty, 11 attribute, 49 glue_spec, 4 attribute_list, 2 temp, 2 user_defined
mkiv lua stats  > node list callback tasks: 7 unique task lists, 6 instances (re)created, 32 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.000 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: 145 direct, 434 indirect, 579 total
mkiv lua stats  > randomizer: resumed with value 0.19858394116031
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > result saved in file: test-cambria.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats  > loaded fonts: 2 files: cambria.ttc, cambriai.ttf
mkiv lua stats  > font engine: otf 3.032, afm 1.512, tfm 1.000, 4 instances, load time 0.172 seconds 
mkiv lua stats  > used platform: win64, type: windows, binary subtree: texmf-win64
mkiv lua stats  > used engine: luatex version 1.06 with functionality level 6384, banner: this is luatex, version 1.06.0 (tex live 2017/w32tex)
mkiv lua stats  > control sequences: 44677 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 81 MB (ctx: 81 MB), hash type: lua, hash chars: min(32,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.5 seconds, 1 processed pages, 1 shipped pages, 2.000 pages/second


[-- Attachment #3: test-cambria.pdf --]
[-- Type: application/pdf, Size: 16538 bytes --]

[-- Attachment #4: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Cambria official typescript (mis)behavior
  2017-08-02 20:21 Cambria official typescript (mis)behavior Idris Samawi Hamid ادريس سماوي حامد
@ 2017-08-02 20:34 ` Hans Hagen
  2017-08-02 21:05   ` Idris Samawi Hamid ادريس سماوي حامد
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2017-08-02 20:34 UTC (permalink / raw)
  To: ntg-context

On 8/2/2017 10:21 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
> Dear gang,
> 
> There appears to be something awry with type-imp-cambria.mkiv or 
> type-imp-dejavu.mkiv. Consider the following:
> 
> =======
> \setupbodyfont
>    [cambria,12pt]
> 
> \starttext
> Test % {\it Test} {\bf Test} {\bi Test}
> \stoptext
> =======
> 
> This produces a pdf with Cambria Italic instead of Cambria Regular. 
> Uncommenting the other three options produces the expected results.
> 
> Is this a bug or am I missing something? Awaiting your advice!
it's ok here; it could depend on the cambria on your machine



-----------------------------------------------------------------
                                           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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Cambria official typescript (mis)behavior
  2017-08-02 20:34 ` Hans Hagen
@ 2017-08-02 21:05   ` Idris Samawi Hamid ادريس سماوي حامد
  2017-08-02 21:15     ` Aditya Mahajan
  2017-08-02 21:17     ` Hans Hagen
  0 siblings, 2 replies; 11+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2017-08-02 21:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1206 bytes --]

On Wed, 02 Aug 2017 14:34:25 -0600, Hans Hagen <pragma@wxs.nl> wrote:

> On 8/2/2017 10:21 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
>> Dear gang,
>>  There appears to be something awry with type-imp-cambria.mkiv or  
>> type-imp-dejavu.mkiv. Consider the following:
>>  =======
>> \setupbodyfont
>>    [cambria,12pt]
>>  \starttext
>> Test % {\it Test} {\bf Test} {\bi Test}
>> \stoptext
>> =======
>>  This produces a pdf with Cambria Italic instead of Cambria Regular.  
>> Uncommenting the other three options produces the expected results.
>>  Is this a bug or am I missing something? Awaiting your advice!
> it's ok here; it could depend on the cambria on your machine

Cambria Regular : cambria.ttc
Cambria Italic  : cambriai.ttf

Inspection shows cambria.ttc is indeed regular.

The log file says
:
mkiv lua stats  > loaded fonts: 2 files: cambria.ttc, cambriai.ttf

Updating to "current version: 2017.08.02 18:59" and purging the cache  
doesn't help

Why is cambriai.ttf being loaded at all? Fresh log (today's beta) attached

Idris
-- 
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512

[-- Attachment #2: test-cambria.log --]
[-- Type: application/octet-stream, Size: 7423 bytes --]

open source     > level 1, order 1, name 'C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2017.08.02 18:59 MKIV beta  fmt: 2017.8.2  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name 'C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
close source    > level 2, order 2, name 'C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'test-cambria', input './test-cambria', result 'test-cambria'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name 'C:/Users/hurqilya/Dropbox/Projects/articles/sh_ahmad-principles/test/test-cambria.tex'
open source     > level 3, order 4, name 'C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv'
open source     > level 4, order 5, name 'C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv'
close source    > level 4, order 5, name 'C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv'
close source    > level 3, order 5, name 'C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv'
fonts           > defining > font 'cambria', feature 'locl', script 'latn', no language 'dflt'
fonts           > otf enhancing > DisplayOperatorMinHeight(2500 -> 2800)
backend         > xmp > using file 'C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 2, order 5, name 'C:/Users/hurqilya/Dropbox/Projects/articles/sh_ahmad-principles/test/test-cambria.tex'
close source    > level 1, order 5, name 'C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'

system          > structure > start used structure

used structure  > text: test-cambria

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 fullname=C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
used file       >    2: filename=publ-imp-default.lua filetype=scripts foundname=C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=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 fullname=C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
used file       >    4: filename=lang-exc.lua filetype=scripts foundname=C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
used file       >    5: filename=lang-us.lua filetype=scripts foundname=C:/ConTeXt/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=C:/ConTeXt/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
used file       >    6: filename=C:\Users\hurqilya\Dropbox\Projects\articles\sh_ahmad-principles\test/test-cambria.tex foundname=C:/Users/hurqilya/Dropbox/Projects/articles/sh_ahmad-principles/test/test-cambria.tex fullname=C:/Users/hurqilya/Dropbox/Projects/articles/sh_ahmad-principles/test/test-cambria.tex usedmethod=direct
used file       >    7: filename=type-imp-cambria.mkiv filetype=tex foundname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv fullname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv usedmethod=database
used file       >    8: filename=type-imp-dejavu.mkiv filetype=tex foundname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv fullname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv usedmethod=database
used file       >    9: filename=cambria-math.lfg filetype=tex foundname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/cambria-math.lfg fullname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/cambria-math.lfg usedmethod=database
used file       >   10: filename=c:/windows/fonts/cambria.ttc format=ttc foundname=c:/windows/fonts/cambria.ttc fullname=c:/windows/fonts/cambria.ttc usedmethod=direct
used file       >   11: filename=cambria.lfg filetype=tex foundname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/cambria.lfg fullname=C:/ConTeXt/tex/texmf-context/tex/context/fonts/mkiv/cambria.lfg usedmethod=database
used file       >   12: filename=lpdf-pdx.xml filetype=tex foundname=C:/ConTeXt/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=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     > currentrun="1"
used option     > fulljobname="./test-cambria.tex"
used option     > input="./test-cambria.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: ./test-cambria.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.006 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 12 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 404 modules (0.242 sec), 91 tables (0.011 sec), 495 chunks (0.253 sec)
mkiv lua stats  > traced context: maxstack: 1242, freed: 0, unreachable: 1242
mkiv lua stats  > cleaned up reserved nodes: 58 nodes, 9 lists of 450
mkiv lua stats  > node memory usage: 2 glue, 2 kern, 2 penalty, 11 attribute, 49 glue_spec, 4 attribute_list, 2 temp, 2 user_defined
mkiv lua stats  > node list callback tasks: 7 unique task lists, 6 instances (re)created, 32 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.002 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: 145 direct, 434 indirect, 579 total
mkiv lua stats  > randomizer: resumed with value 0.49784844508194
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > result saved in file: test-cambria.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats  > loaded fonts: 1 files: cambria.ttc
mkiv lua stats  > font engine: otf 3.101, afm 1.512, tfm 1.000, 4 instances, load time 0.226 seconds 
mkiv lua stats  > used platform: win64, type: windows, binary subtree: texmf-win64
mkiv lua stats  > used engine: luatex version 1.06 with functionality level 6389, banner: this is luatex, version 1.06.0 (tex live 2017/w32tex)
mkiv lua stats  > control sequences: 44697 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 86 MB (ctx: 85 MB), hash type: lua, hash chars: min(32,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.574 seconds, 1 processed pages, 1 shipped pages, 1.742 pages/second


[-- Attachment #3: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Cambria official typescript (mis)behavior
  2017-08-02 21:05   ` Idris Samawi Hamid ادريس سماوي حامد
@ 2017-08-02 21:15     ` Aditya Mahajan
  2017-08-02 21:23       ` Idris Samawi Hamid ادريس سماوي حامد
  2017-08-02 21:17     ` Hans Hagen
  1 sibling, 1 reply; 11+ messages in thread
From: Aditya Mahajan @ 2017-08-02 21:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

On Wed, 2 Aug 2017, Idris Samawi Hamid ادريس سماوي حامد wrote:

> On Wed, 02 Aug 2017 14:34:25 -0600, Hans Hagen <pragma@wxs.nl> wrote:
>
>> On 8/2/2017 10:21 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
>> > Dear gang,
>> >  There appears to be something awry with type-imp-cambria.mkiv or 
>> >  type-imp-dejavu.mkiv. Consider the following:
>> >  =======
>> > \setupbodyfont
>> >    [cambria,12pt]
>> > \starttext
>> > Test % {\it Test} {\bf Test} {\bi Test}
>> > \stoptext
>> > =======
>> >  This produces a pdf with Cambria Italic instead of Cambria Regular. 
>> >  Uncommenting the other three options produces the expected results.
>> >  Is this a bug or am I missing something? Awaiting your advice!
>> it's ok here; it could depend on the cambria on your machine
>
> Cambria Regular : cambria.ttc
> Cambria Italic  : cambriai.ttf
>
> Inspection shows cambria.ttc is indeed regular.
>
> The log file says
> :
> mkiv lua stats  > loaded fonts: 2 files: cambria.ttc, cambriai.ttf
>
> Updating to "current version: 2017.08.02 18:59" and purging the cache doesn't 
> help

Not sure if it helps, but this is worth a try (note the force key):

mtxrun --script fonts --reload --force

Aditya

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Cambria official typescript (mis)behavior
  2017-08-02 21:05   ` Idris Samawi Hamid ادريس سماوي حامد
  2017-08-02 21:15     ` Aditya Mahajan
@ 2017-08-02 21:17     ` Hans Hagen
  2017-08-02 21:27       ` Idris Samawi Hamid ادريس سماوي حامد
  1 sibling, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2017-08-02 21:17 UTC (permalink / raw)
  To: ntg-context

On 8/2/2017 11:05 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
> On Wed, 02 Aug 2017 14:34:25 -0600, Hans Hagen <pragma@wxs.nl> wrote:
> 
>> On 8/2/2017 10:21 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
>>> Dear gang,
>>>  There appears to be something awry with type-imp-cambria.mkiv or 
>>> type-imp-dejavu.mkiv. Consider the following:
>>>  =======
>>> \setupbodyfont
>>>    [cambria,12pt]
>>>  \starttext
>>> Test % {\it Test} {\bf Test} {\bi Test}
>>> \stoptext
>>> =======
>>>  This produces a pdf with Cambria Italic instead of Cambria Regular. 
>>> Uncommenting the other three options produces the expected results.
>>>  Is this a bug or am I missing something? Awaiting your advice!
>> it's ok here; it could depend on the cambria on your machine
> 
> Cambria Regular : cambria.ttc
> Cambria Italic  : cambriai.ttf
> 
> Inspection shows cambria.ttc is indeed regular.
> 
> The log file says
> :
> mkiv lua stats  > loaded fonts: 2 files: cambria.ttc, cambriai.ttf
> 
> Updating to "current version: 2017.08.02 18:59" and purging the cache 
> doesn't help
> 
> Why is cambriai.ttf being loaded at all? Fresh log (today's beta) attached

probably because it's the first 'name' that matches

you can try

cambria-x
cambria-y
cambria-a

as variants ; here i have an official cambria

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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Cambria official typescript (mis)behavior
  2017-08-02 21:15     ` Aditya Mahajan
@ 2017-08-02 21:23       ` Idris Samawi Hamid ادريس سماوي حامد
  2017-08-02 21:46         ` Aditya Mahajan
  0 siblings, 1 reply; 11+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2017-08-02 21:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 02 Aug 2017 15:15:59 -0600, Aditya Mahajan <adityam@umich.edu>  
wrote:

> On Wed, 2 Aug 2017, Idris Samawi Hamid ادريس سماوي حامد wrote:
>
>> On Wed, 02 Aug 2017 14:34:25 -0600, Hans Hagen <pragma@wxs.nl> wrote:
>>
>>> On 8/2/2017 10:21 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
>>> > Dear gang,
>>> >  There appears to be something awry with type-imp-cambria.mkiv or
>>> >  type-imp-dejavu.mkiv. Consider the following:
>>> >  =======
>>> > \setupbodyfont
>>> >    [cambria,12pt]
>>> > \starttext
>>> > Test % {\it Test} {\bf Test} {\bi Test}
>>> > \stoptext
>>> > =======
>>> >  This produces a pdf with Cambria Italic instead of Cambria Regular.
>>> >  Uncommenting the other three options produces the expected results.
>>> >  Is this a bug or am I missing something? Awaiting your advice!
>>> it's ok here; it could depend on the cambria on your machine
>>
>> Cambria Regular : cambria.ttc
>> Cambria Italic  : cambriai.ttf
>>
>> Inspection shows cambria.ttc is indeed regular.
>>
>> The log file says
>> :
>> mkiv lua stats  > loaded fonts: 2 files: cambria.ttc, cambriai.ttf
>>
>> Updating to "current version: 2017.08.02 18:59" and purging the cache  
>> doesn't
>> help
>
> Not sure if it helps, but this is worth a try (note the force key):
>
> mtxrun --script fonts --reload --force

Hmm, now I get

mkiv lua stats  > loaded fonts: 1 files: cambria.ttc

and the pdf file is correct. Thanks, Aditya! (Although I still don't  
understand why there was a problem to begin with!)

Idris
-- 
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Cambria official typescript (mis)behavior
  2017-08-02 21:17     ` Hans Hagen
@ 2017-08-02 21:27       ` Idris Samawi Hamid ادريس سماوي حامد
  0 siblings, 0 replies; 11+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2017-08-02 21:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 02 Aug 2017 15:17:07 -0600, Hans Hagen <pragma@wxs.nl> wrote:

> On 8/2/2017 11:05 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
>> On Wed, 02 Aug 2017 14:34:25 -0600, Hans Hagen <pragma@wxs.nl> wrote:
>>
>>> On 8/2/2017 10:21 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
>>>> Dear gang,
>>>>  There appears to be something awry with type-imp-cambria.mkiv or  
>>>> type-imp-dejavu.mkiv. Consider the following:
>>>>  =======
>>>> \setupbodyfont
>>>>    [cambria,12pt]
>>>>  \starttext
>>>> Test % {\it Test} {\bf Test} {\bi Test}
>>>> \stoptext
>>>> =======
>>>>  This produces a pdf with Cambria Italic instead of Cambria Regular.  
>>>> Uncommenting the other three options produces the expected results.
>>>>  Is this a bug or am I missing something? Awaiting your advice!
>>> it's ok here; it could depend on the cambria on your machine
>>  Cambria Regular : cambria.ttc
>> Cambria Italic  : cambriai.ttf
>>  Inspection shows cambria.ttc is indeed regular.
>>  The log file says
>> :
>> mkiv lua stats  > loaded fonts: 2 files: cambria.ttc, cambriai.ttf
>>  Updating to "current version: 2017.08.02 18:59" and purging the cache  
>> doesn't help
>>  Why is cambriai.ttf being loaded at all? Fresh log (today's beta)  
>> attached
>
> probably because it's the first 'name' that matches
>
> you can try
>
> cambria-x

=> LM

> cambria-y

=> LM

> cambria-a

=> LM

> as variants ; here i have an official cambria

I only have the one that comes with the latest update to Windows 10

(Never tested Cambria with ConTeXt till a few days ago (\definefont  
worked), and never tested the typescript till last night.)

Aditya's suggestion did something that seems to have fixed it, not sure  
what..

Idris
-- 
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Cambria official typescript (mis)behavior
  2017-08-02 21:23       ` Idris Samawi Hamid ادريس سماوي حامد
@ 2017-08-02 21:46         ` Aditya Mahajan
  2017-08-03  0:41           ` Vladimir Lomov
  2017-08-03  7:41           ` Henning Hraban Ramm
  0 siblings, 2 replies; 11+ messages in thread
From: Aditya Mahajan @ 2017-08-02 21:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 784 bytes --]

On Wed, 2 Aug 2017, Idris Samawi Hamid ادريس سماوي حامد wrote:

> On Wed, 02 Aug 2017 15:15:59 -0600, Aditya Mahajan <adityam@umich.edu> wrote:
>
>>  Not sure if it helps, but this is worth a try (note the force key):
>>
>>  mtxrun --script fonts --reload --force
>
> Hmm, now I get
>
> mkiv lua stats  > loaded fonts: 1 files: cambria.ttc
>
> and the pdf file is correct. Thanks, Aditya! (Although I still don't 
> understand why there was a problem to begin with!)

I occasionally experience a similar issue (after an update wrong fontface 
is used, especially with math fonts) and reloading the fonts database with 
--force always fixes the issue for me. So, I have never bothered to 
investigate why the issue comes up in the first place.

Aditya

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Cambria official typescript (mis)behavior
  2017-08-02 21:46         ` Aditya Mahajan
@ 2017-08-03  0:41           ` Vladimir Lomov
  2017-08-03  7:41           ` Henning Hraban Ramm
  1 sibling, 0 replies; 11+ messages in thread
From: Vladimir Lomov @ 2017-08-03  0:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,
** Aditya Mahajan [2017-08-02 17:46:53 -0400]:

> On Wed, 2 Aug 2017, Idris Samawi Hamid ادريس سماوي حامد wrote:
> 
>> On Wed, 02 Aug 2017 15:15:59 -0600, Aditya Mahajan <adityam@umich.edu> wrote:
>> 
>>>  Not sure if it helps, but this is worth a try (note the force key):
>>> 
>>>  mtxrun --script fonts --reload --force
>> 
>> Hmm, now I get
>> 
>> mkiv lua stats  > loaded fonts: 1 files: cambria.ttc
>> 
>> and the pdf file is correct. Thanks, Aditya! (Although I still don't
>> understand why there was a problem to begin with!)
> 
> I occasionally experience a similar issue (after an update wrong fontface is
> used, especially with math fonts) and reloading the fonts database with
> --force always fixes the issue for me. So, I have never bothered to
> investigate why the issue comes up in the first place.
> 
> Aditya

Thanks for hint Aditya.

Idris, if you use Windows 10 then may be your OS has been updated (some
time ago one of host I has access with Windows 10 has been upgraded to
ver. Windows 10 1703) and then you have updated fonts, including
Cambria. AFAIU font cache tracks somehow font version, so in case fonts
update one has to update font cache.

---
WBR, Vladimir Lomov

-- 
<netgod> Feanor: u have no idea of the depth of the stupidty of american law
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Cambria official typescript (mis)behavior
  2017-08-02 21:46         ` Aditya Mahajan
  2017-08-03  0:41           ` Vladimir Lomov
@ 2017-08-03  7:41           ` Henning Hraban Ramm
  2017-08-03 13:22             ` Idris Samawi Hamid ادريس سماوي حامد
  1 sibling, 1 reply; 11+ messages in thread
From: Henning Hraban Ramm @ 2017-08-03  7:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2017-08-02 um 23:46 schrieb Aditya Mahajan <adityam@umich.edu>:

> I occasionally experience a similar issue (after an update wrong fontface is used, especially with math fonts) and reloading the fonts database with --force always fixes the issue for me. So, I have never bothered to investigate why the issue comes up in the first place.

Hm, is the general problem with ttc fonts fixed? Some leftover of that?


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Cambria official typescript (mis)behavior
  2017-08-03  7:41           ` Henning Hraban Ramm
@ 2017-08-03 13:22             ` Idris Samawi Hamid ادريس سماوي حامد
  0 siblings, 0 replies; 11+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2017-08-03 13:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 03 Aug 2017 01:41:42 -0600, Henning Hraban Ramm <texml@fiee.net>  
wrote:

> Am 2017-08-02 um 23:46 schrieb Aditya Mahajan <adityam@umich.edu>:
>
>> I occasionally experience a similar issue (after an update wrong  
>> fontface is used, especially with math fonts) and reloading the fonts  
>> database with --force always fixes the issue for me. So, I have never  
>> bothered to investigate why the issue comes up in the first place.
>
> Hm, is the general problem with ttc fonts fixed? Some leftover of that?

In the current project, occasionally a change in layout will cause cambria  
regular to change to italic.

mtxrun --script fonts --reload --force

fixes it again, but I have not been able to isolate the issue to a simple  
test file. E.g., on one occasion commenting

% \showframe

turned the document italic, but then after reloading it turned regular  
again and I couldn't repeat the error. So there seems to be a bug  
somewhere, perhaps ttc-related indeed...

Idris
-- 
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-08-03 13:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-02 20:21 Cambria official typescript (mis)behavior Idris Samawi Hamid ادريس سماوي حامد
2017-08-02 20:34 ` Hans Hagen
2017-08-02 21:05   ` Idris Samawi Hamid ادريس سماوي حامد
2017-08-02 21:15     ` Aditya Mahajan
2017-08-02 21:23       ` Idris Samawi Hamid ادريس سماوي حامد
2017-08-02 21:46         ` Aditya Mahajan
2017-08-03  0:41           ` Vladimir Lomov
2017-08-03  7:41           ` Henning Hraban Ramm
2017-08-03 13:22             ` Idris Samawi Hamid ادريس سماوي حامد
2017-08-02 21:17     ` Hans Hagen
2017-08-02 21:27       ` Idris Samawi Hamid ادريس سماوي حامد

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).