* Problem loading a font
@ 2019-12-23 16:13 Mohammad Hossein Bateni
2019-12-23 20:39 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Mohammad Hossein Bateni @ 2019-12-23 16:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 594 bytes --]
Hi,
Here's a simple MWE:
==============
\starttext
Default {\definedfont[ALMFixed]ALM} Default
\stoptext
==============
I have the "ALM Fixed" font installed (otf from
https://ctan.org/tex-archive/fonts/almfixed). I do not see any errors in
the output. In particular, Context sees the font and the logs contain the
following line:
mkiv lua stats > loaded fonts: 3 files: almfixed.otf,
latinmodern-math.otf, lmroman12-regular.otf
Yet, the output from lmtx does not display the "ALM" string, though its
place is reserved on the line. The same file typesets fine with mkiv.
Thanks
--MHB
[-- Attachment #1.2: Type: text/html, Size: 894 bytes --]
[-- Attachment #2: alm.log --]
[-- Type: text/x-log, Size: 7210 bytes --]
open source > level 1, order 1, name 'cont-yes.mkiv'
system >
system > ConTeXt ver: 2019.12.17 16:30 MKIV beta fmt: 2019.12.22 int: english/english
system >
system > 'cont-new.mkiv' loaded
open source > level 2, order 2, name '/home/bateni/context-lmtx/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 '/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system > files > jobname 'alm', input './alm', result 'alm'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 2, order 3, name './alm.tex'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
backend > xmp > using file '/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
close source > level 2, order 3, name './alm.tex'
close source > level 1, order 3, name 'cont-yes.mkiv'
system > start used files
system > text: alm
system > stop used files
system > start used files
system > 1: filename=char-prv.lua filetype=tex format=tex foundname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=otherwise
system > 2: filename=cont-yes.mkiv filetype=tex format=tex foundname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=otherwise
system > 3: filename=publ-imp-default.lua filetype=scripts foundname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=otherwise
system > 4: filename=cont-new.mkiv filetype=tex foundname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=otherwise
system > 5: filename=lang-exc.lua filetype=scripts foundname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=otherwise
system > 6: filename=lang-us.lua filetype=scripts foundname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=otherwise
system > 7: filename=/home/bateni/ctx-debug/dabeer/tests/alm.tex format=tex foundname=/home/bateni/ctx-debug/dabeer/tests/alm.tex fullname=/home/bateni/ctx-debug/dabeer/tests/alm.tex usedmethod=direct
system > 8: filename=lm.lfg filetype=tex foundname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=otherwise
system > 9: filename=lmroman12-regular filetype=otf format=otf foundname=/home/bateni/context-lmtx/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf fullname=/home/bateni/context-lmtx/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=otherwise
system > 10: filename=latinmodern-math.otf filetype=opentypefonts foundname=/home/bateni/context-lmtx/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf fullname=/home/bateni/context-lmtx/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=otherwise
system > 11: filename=ALMFixed filetype=otf format=otf foundname=/home/bateni/context-lmtx/tex/texmf/fonts/opentype/public/almfixed/almfixed.otf fullname=/home/bateni/context-lmtx/tex/texmf/fonts/opentype/public/almfixed/almfixed.otf usedmethod=otherwise
system > 12: filename=lpdf-pdx.xml filetype=tex foundname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=/home/bateni/context-lmtx/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=otherwise
system > stop used files
system > start commandline options
system > currentrun="1"
system > fulljobname="./alm"
system > input="./alm"
system > kindofrun="1"
system > maxnofruns="9"
system > texmfbinpath="/home/bateni/context-lmtx/tex/texmf-linux-64/bin"
system > stop commandline options
system > start commandline files
system > 1: ./alm
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: /home/bateni/context-lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats > resource resolver: loadtime 0.029 seconds, 1 scans with scantime 0.028 seconds, 0 shared scans, 12 found files, scanned paths: /home/bateni/context-lmtx
mkiv lua stats > stored bytecode data: 463 modules (0.236 sec), 93 tables (0.013 sec), 556 chunks (0.249 sec)
mkiv lua stats > traced context: maxstack: 1408, freed: 0, unreachable: 1408
mkiv lua stats > cleaned up reserved nodes: 57 nodes, 9 lists of 442
mkiv lua stats > node memory usage: 2 whatsit, 1 glue, 3 kern, 2 penalty, 3 attribute_list, 6 attribute, 51 glue_spec, 2 temp
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.003 seconds saving, 0.000 seconds loading
mkiv lua stats > callbacks: internal: 99, file: 139, direct: 2, late: 0, function 503, total: 743
mkiv lua stats > randomizer: resumed with value 0.69187607659556
mkiv lua stats > result saved in file: alm.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats > loaded patterns: en::1, load time: 0.000
mkiv lua stats > loaded fonts: 3 files: almfixed.otf, latinmodern-math.otf, lmroman12-regular.otf
mkiv lua stats > font engine: otf 3.110, afm 1.513, tfm 1.000, 8 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.220 seconds
mkiv lua stats > font embedding time: 0.011 seconds, 2 fonts
mkiv lua stats > used platform: linux-64, type: unix, binary subtree: context-lmtx
mkiv lua stats > used engine: luametatex version 2.034, functionality level 20191214, format id 991
mkiv lua stats > control sequences: 45928 of 65536 + 100000
mkiv lua stats > lua properties: engine: lua 5.4, used memory: 55 MB, ctx: 53 MB, max: 55 MB), hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats > runtime: 0.548 seconds, 1 processed pages, 1 shipped pages, 1.825 pages/second
[-- Attachment #3: 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] 2+ messages in thread
* Re: Problem loading a font
2019-12-23 16:13 Problem loading a font Mohammad Hossein Bateni
@ 2019-12-23 20:39 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2019-12-23 20:39 UTC (permalink / raw)
To: mailing list for ConTeXt users, Mohammad Hossein Bateni
On 12/23/2019 5:13 PM, Mohammad Hossein Bateni wrote:
> Hi,
>
> Here's a simple MWE:
>
> ==============
> \starttext
> Default {\definedfont[ALMFixed]ALM} Default
> \stoptext
> ==============
>
> I have the "ALM Fixed" font installed (otf from
> https://ctan.org/tex-archive/fonts/almfixed). I do not see any errors
> in the output. In particular, Context sees the font and the logs
> contain the following line:
>
> mkiv lua stats > loaded fonts: 3 files: almfixed.otf,
> latinmodern-math.otf, lmroman12-regular.otf
>
> Yet, the output from lmtx does not display the "ALM" string, though its
> place is reserved on the line. The same file typesets fine with mkiv.
something weird in that font
-----------------------------------------------------------------
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] 2+ messages in thread
end of thread, other threads:[~2019-12-23 20:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-23 16:13 Problem loading a font Mohammad Hossein Bateni
2019-12-23 20:39 ` 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).