ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Lmtx and Cambria font
@ 2019-04-14 11:57 Lutz Haseloff
  2019-04-14 12:55 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Lutz Haseloff @ 2019-04-14 11:57 UTC (permalink / raw)
  To: Context Mailing List


[-- Attachment #1.1: Type: text/plain, Size: 200 bytes --]

Hi Hans, hi all,

my fresh installation of lmtx for win64 on Win 10 seems to have a problem with the Windows font cambria. I get no readeable text in the pdf. Other fonts work o.k.

Greetings Lutz

[-- Attachment #1.2: Type: text/html, Size: 208 bytes --]

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 2049 bytes --]

[-- Attachment #3: test.tuc --]
[-- Type: application/octet-stream, Size: 5586 bytes --]

local utilitydata = { }

utilitydata.comment={
 ["escape"]="[===[ ... ]===]",
 ["file"]="test",
 ["format"]="cont-en",
 ["stamp"]="2019.04.13 17:25",
 ["version"]=1.31,
}

if not utilitydata.job then utilitydata.job = { } end
if not utilitydata.job.variables then utilitydata.job.variables = { } end

utilitydata.job.variables.checksums={
}

if not utilitydata.job then utilitydata.job = { } end
if not utilitydata.job.variables then utilitydata.job.variables = { } end

utilitydata.job.variables.collected={
 ["macros"]={},
 ["randomseed"]=0.61127297526217,
 ["sectionblockorder"]={},
}

if not utilitydata.job then utilitydata.job = { } end
if not utilitydata.job.structure then utilitydata.job.structure = { } end

utilitydata.job.structure.collected={
 ["branches"]={},
 ["name"]="",
 ["type"]="text",
}

if not utilitydata.job then utilitydata.job = { } end
if not utilitydata.job.positions then utilitydata.job.positions = { } end

utilitydata.job.positions.collected={
}

if not utilitydata.job then utilitydata.job = { } end
if not utilitydata.job.passes then utilitydata.job.passes = { } end

utilitydata.job.passes.collected={
}

if not utilitydata.job then utilitydata.job = { } end
if not utilitydata.job.datasets then utilitydata.job.datasets = { } end

utilitydata.job.datasets.collected={
}

if not utilitydata.job then utilitydata.job = { } end
if not utilitydata.job.pagestates then utilitydata.job.pagestates = { } end

utilitydata.job.pagestates.collected={
}

if not utilitydata.structures then utilitydata.structures = { } end
if not utilitydata.structures.specials then utilitydata.structures.specials = { } end

utilitydata.structures.specials.collected={
}

if not utilitydata.structures then utilitydata.structures = { } end
if not utilitydata.structures.sections then utilitydata.structures.sections = { } end

utilitydata.structures.sections.collected={
}

if not utilitydata.structures then utilitydata.structures = { } end
if not utilitydata.structures.counters then utilitydata.structures.counters = { } end

utilitydata.structures.counters.collected={
 ["chemical"]={
  { 0 },
 },
 ["combination"]={
  { 0 },
 },
 ["endnote"]={
  { 0 },
 },
 ["figure"]={
  { 0 },
 },
 ["footnote"]={
  { 0 },
 },
 ["formula"]={
  { 0 },
 },
 ["graphic"]={
  { 0 },
 },
 ["intermezzo"]={
  { 0 },
 },
 ["itemgroup:itemize"]={
  { 0 },
 },
 ["linenote"]={
  { 0 },
 },
 ["paragraph"]={
  { 0 },
 },
 ["realpage"]={
  { 1 },
 },
 ["subpage"]={
  { 1 },
 },
 ["table"]={
  { 0 },
 },
 ["userpage"]={
  { 1 },
 },
}

if not utilitydata.structures then utilitydata.structures = { } end
if not utilitydata.structures.lists then utilitydata.structures.lists = { } end

utilitydata.structures.lists.collected={
}

if not utilitydata.structures then utilitydata.structures = { } end
if not utilitydata.structures.pages then utilitydata.structures.pages = { } end

utilitydata.structures.pages.collected={
 {
  ["block"]="bodypart",
  ["number"]=1,
  ["numberdata"]=1,
  ["prefixdata"]=2,
  ["state"]="start",
 },
}

if not utilitydata.structures then utilitydata.structures = { } end
if not utilitydata.structures.references then utilitydata.structures.references = { } end

utilitydata.structures.references.collected={
}

if not utilitydata.structures then utilitydata.structures = { } end
if not utilitydata.structures.references then utilitydata.structures.references = { } end

utilitydata.structures.references.referred={
}

if not utilitydata.job then utilitydata.job = { } end
if not utilitydata.job.objects then utilitydata.job.objects = { } end

utilitydata.job.objects.collected={
}

if not utilitydata.structures then utilitydata.structures = { } end
if not utilitydata.structures.synonyms then utilitydata.structures.synonyms = { } end

utilitydata.structures.synonyms.collected={
}

if not utilitydata.structures then utilitydata.structures = { } end
if not utilitydata.structures.registers then utilitydata.structures.registers = { } end

utilitydata.structures.registers.collected={
}

if not utilitydata.structures then utilitydata.structures = { } end
if not utilitydata.structures.blocks then utilitydata.structures.blocks = { } end

utilitydata.structures.blocks.collected={
}

if not utilitydata.job then utilitydata.job = { } end
if not utilitydata.job.files then utilitydata.job.files = { } end

utilitydata.job.files.collected={
}

if not utilitydata.publications then utilitydata.publications = { } end

utilitydata.publications.collected={
}

if not utilitydata.job then utilitydata.job = { } end
if not utilitydata.job.fileobjreferences then utilitydata.job.fileobjreferences = { } end

utilitydata.job.fileobjreferences.collected={
}

if not utilitydata.job then utilitydata.job = { } end
if not utilitydata.job.embedded then utilitydata.job.embedded = { } end

utilitydata.job.embedded.collected={
}

utilitydata.job.packed={
 ["index"]={
  {
   ["conversionset"]="pagenumber",
  },
  {
   ["connector"]="–",
   ["prefix"]="no",
   ["set"]="part",
  },
 },
 ["keys"]={
  ["directives"]=true,
  ["metadata"]=true,
  ["numberdata"]=true,
  ["numbers"]=true,
  ["ownnumbers"]=true,
  ["pagedata"]=true,
  ["prefixdata"]=true,
  ["processors"]=true,
  ["sectiondata"]=true,
  ["specification"]=true,
 },
 ["skip"]={
  ["datasets"]=true,
  ["positions"]=true,
  ["userdata"]=true,
 },
 ["version"]=1.02,
}

return utilitydata

[-- Attachment #4: test.log --]
[-- Type: application/octet-stream, Size: 7706 bytes --]

open source     > level 1, order 1, name 'C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2019.04.13 17:25 MKIV beta  fmt: 2019.4.14  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name 'C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name 'C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'test', input './test', result 'test'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name 'C:/contextlmtx/tex/texmf-project/test.tex'
open source     > level 3, order 4, name 'C:/contextlmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv'
open source     > level 4, order 5, name 'C:/contextlmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv'
close source    > level 4, order 5, name 'C:/contextlmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv'
close source    > level 3, order 5, name 'C:/contextlmtx/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:/contextlmtx/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:/contextlmtx/tex/texmf-project/test.tex'
close source    > level 1, order 5, name 'C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'

system          > start used files

system          > text: test

system          > stop used files


system          > start used files

system          >    1: filename=char-prv.lua filetype=tex format=tex foundname=C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system          >    2: filename=cont-yes.mkiv filetype=tex format=tex foundname=C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
system          >    3: filename=publ-imp-default.lua filetype=scripts foundname=C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    4: filename=cont-new.mkiv filetype=tex foundname=C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
system          >    5: filename=lang-exc.lua filetype=scripts foundname=C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    6: filename=lang-us.lua filetype=scripts foundname=C:/contextlmtx/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=C:/contextlmtx/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    7: filename=C:\contextlmtx\tex\texmf-project/test.tex format=tex foundname=C:/contextlmtx/tex/texmf-project/test.tex fullname=C:/contextlmtx/tex/texmf-project/test.tex usedmethod=direct
system          >    8: filename=type-imp-cambria.mkiv filetype=tex foundname=C:/contextlmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv fullname=C:/contextlmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv usedmethod=database
system          >    9: filename=type-imp-dejavu.mkiv filetype=tex foundname=C:/contextlmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv fullname=C:/contextlmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv usedmethod=database
system          >   10: filename=cambria-math.lfg filetype=tex foundname=C:/contextlmtx/tex/texmf-context/tex/context/fonts/mkiv/cambria-math.lfg fullname=C:/contextlmtx/tex/texmf-context/tex/context/fonts/mkiv/cambria-math.lfg usedmethod=database
system          >   11: filename=c:/windows/fonts/cambria.ttc format=ttc foundname=c:/windows/fonts/cambria.ttc fullname=c:/windows/fonts/cambria.ttc usedmethod=direct
system          >   12: filename=cambria.lfg filetype=tex foundname=C:/contextlmtx/tex/texmf-context/tex/context/fonts/mkiv/cambria.lfg fullname=C:/contextlmtx/tex/texmf-context/tex/context/fonts/mkiv/cambria.lfg usedmethod=database
system          >   13: filename=lpdf-pdx.xml filetype=tex foundname=C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=C:/contextlmtx/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database

system          > stop used files


system          > start commandline options

system          > currentrun="1"
system          > fulljobname="./test.tex"
system          > input="./test.tex"
system          > kindofrun="1"
system          > maxnofruns="9"
system          > texmfbinpath="C:/contextlmtx/tex/texmf-win64/bin"

system          > stop commandline options


system          > start commandline files

system          >    1: ./test.tex

system          > stop commandline files


modules         > start used modules


modules         > stop used modules


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: C:/contextlmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.024 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 13 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 454 modules (0.251 sec), 93 tables (0.015 sec), 547 chunks (0.266 sec)
mkiv lua stats  > traced context: maxstack: 1383, freed: 0, unreachable: 1383
mkiv lua stats  > cleaned up reserved nodes: 54 nodes, 9 lists of 440
mkiv lua stats  > node memory usage: 2 whatsit, 1 glue, 3 kern, 2 penalty, 64 pseudo_line
mkiv lua stats  > node list callback tasks: 8 unique task lists, 7 instances (re)created, 36 calls
mkiv lua stats  > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: internal: 123, file: 331, direct: 2, late: 0, function 619, total: 1075
mkiv lua stats  > randomizer: resumed with value 0.61127297526217
mkiv lua stats  > result saved in file: test.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 1 files: cambria.ttc
mkiv lua stats  > font engine: otf 3.107, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.328 seconds 
mkiv lua stats  > font embedding time: 0.000 seconds, 1 fonts
mkiv lua stats  > used platform: win64, type: windows, binary subtree: texmf-win64
mkiv lua stats  > used engine: luametatex version 2.0 with functionality level 7079, banner: this is luametatex, version 2.00.0
mkiv lua stats  > control sequences: 44669 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 68 MB (ctx: 67 MB), hash chars: min(64,40), symbol mask: ascii (tex)
mkiv lua stats  > runtime: 0.697 seconds, 1 processed pages, 1 shipped pages, 1.435 pages/second


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #5: test.tex --]
[-- Type: text/x-tex; name="test.tex", Size: 54 bytes --]

\setupbodyfont[cambria]
\starttext
Test
\stoptext

[-- Attachment #6: Type: text/plain, Size: 493 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] 3+ messages in thread

* Re: Lmtx and Cambria font
  2019-04-14 11:57 Lmtx and Cambria font Lutz Haseloff
@ 2019-04-14 12:55 ` Wolfgang Schuster
  2019-04-14 13:51   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2019-04-14 12:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Lutz Haseloff

Lutz Haseloff schrieb am 14.04.2019 um 13:57:
> Hi Hans, hi all,
>
> my fresh installation of lmtx for win64 on Win 10 seems to have a 
> problem with the Windows font cambria. I get no readeable text in the 
> pdf. Other fonts work o.k.

It's a problem with fonts which use the ttc format.

\starttext

\definedfont[file:cambria.ttc(Cambria)]Cambria

\definedfont[file:meiryo.ttc(Meiryo)]Meiryo

\definedfont[file:meiryo.ttc(Meiryo Italic)]Meiryo Italic

\stoptext

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

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

* Re: Lmtx and Cambria font
  2019-04-14 12:55 ` Wolfgang Schuster
@ 2019-04-14 13:51   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2019-04-14 13:51 UTC (permalink / raw)
  To: Wolfgang Schuster,
	ntg-context@ntg.nl >> mailing list for ConTeXt users

On 4/14/2019 2:55 PM, Wolfgang Schuster wrote:
> Lutz Haseloff schrieb am 14.04.2019 um 13:57:
>> Hi Hans, hi all,
>>
>> my fresh installation of lmtx for win64 on Win 10 seems to have a 
>> problem with the Windows font cambria. I get no readeable text in the 
>> pdf. Other fonts work o.k.
> 
> It's a problem with fonts which use the ttc format.
> 
> \starttext
> 
> \definedfont[file:cambria.ttc(Cambria)]Cambria
> 
> \definedfont[file:meiryo.ttc(Meiryo)]Meiryo
> 
> \definedfont[file:meiryo.ttc(Meiryo Italic)]Meiryo Italic
> 
> \stoptext
fixed in next beta


-----------------------------------------------------------------
                                           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] 3+ messages in thread

end of thread, other threads:[~2019-04-14 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-14 11:57 Lmtx and Cambria font Lutz Haseloff
2019-04-14 12:55 ` Wolfgang Schuster
2019-04-14 13:51   ` Hans Hagen

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