ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem loading font in LMTX
@ 2022-06-11  8:05 Stefan Nedeljkovic via ntg-context
  2022-06-11 10:21 ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Nedeljkovic via ntg-context @ 2022-06-11  8:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Stefan Nedeljkovic


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

Dear list,

I have the following file:

\starttypescript [lidia]
\definetypeface[lidia][rm][serif][lidiaweb][cpsp=yes]
\stoptypescript
\setupbodyfont[lidia,36pt]
\starttext
\startTEXpage[align=normal,width=100cm,autowidth=force,offset=0pt]
\startalignment[middle]
2{\hskip 0em}412{\hskip 0em}772 {\hskip 0em}КУЋНА {\hskip 0em}БРОЈА\\
{\vskip 2em}ИЗ {\hskip 0em}БАЗЕ {\hskip 0em}РЕПУБЛИЧКОГ {\hskip
0em}ГЕОДЕТСКОГ {\hskip 0em}ЗАВОДА\\
{\vskip 2em}У {\hskip 0em}ПРОЈЕКЦИЈИ {\hskip 0em}epsg{\hskip 0em}:{\hskip
0em}32634 {\hskip 0em}И {\hskip 0em}РАЗМЕРИ {\hskip 0em}1{\hskip
0em}:{\hskip 0em}388{\hskip 0em}000\\
{\vskip 2em}ЈАНУАР {\hskip 0em}2022
\stopalignment
\stopTEXpage
\stoptext

Don't mind the auto generated skips. The problem is the font won't load.
Here is the mtxrun output:

mtxrun --script fonts --list --all --pattern=Lidia
identifier        familyname   fontname   filename       subfont   instances

lidiaweb          lidiaweb     lidiaweb   LidiaWeb.ttf
lidiawebnormal    lidiaweb     lidiaweb   LidiaWeb.ttf
lidiawebregular   lidiaweb     lidiaweb   LidiaWeb.ttf

And the log file is attached.
Please help me troubleshoot why this font won't load.

Sincerely,
Sefan

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

[-- Attachment #2: serbia_map_adresses_text.log --]
[-- Type: text/x-log, Size: 13116 bytes --]

system          > 
system          > ConTeXt  ver: 2022.01.21 20:13 LMTX  fmt: 2022.6.1  int: english/english
system          > 
system          > 'cont-new.mkxl' loaded
open source     > level 1, order 1, name '/home/stefan/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 1, order 1, name '/home/stefan/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system          > files > jobname './serbia_map_adresses_text', input './serbia_map_adresses_text.tex', result './serbia_map_adresses_text'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 1, order 2, name './serbia_map_adresses_text.tex'
fonts           > bodyfont '36pt' is defined (can better be done global)
fonts           > bodyfont '43.2pt' is defined (can better be done global)
fonts           > bodyfont '28.8pt' is defined (can better be done global)
fonts           > preloading modern-designsize (math)
fonts           > 'fallback modern-designsize mm 36pt' is loaded
fonts           > preloading modern-designsize (mono)
fonts           > 'fallback modern-designsize tt 36pt' is loaded
fonts           > defining > font with asked name 'unknown' is not found using lookup 'file'
fonts           > defining > unable to define 'unknown' as 'lidia-36pt-rm-tf--0'
fonts           > defining > unable to define 'unknown' as 'lidia-36pt-mm-mr--3'
fonts           > defining > unable to define 'unknown' as 'lidia-36pt-mm-mr--2'
fonts           > defining > unable to define 'unknown' as 'lidia-36pt-mm-mr--1'
fonts           > checking > char 2 (U+00032) in font '' with id 0: missing
fonts           > checking > char 4 (U+00034) in font '' with id 0: missing
fonts           > checking > char 1 (U+00031) in font '' with id 0: missing
fonts           > checking > char 7 (U+00037) in font '' with id 0: missing
fonts           > checking > char К (U+0041A) in font '' with id 0: missing
fonts           > checking > char У (U+00423) in font '' with id 0: missing
fonts           > checking > char Ћ (U+0040B) in font '' with id 0: missing
fonts           > checking > char Н (U+0041D) in font '' with id 0: missing
fonts           > checking > char А (U+00410) in font '' with id 0: missing
fonts           > checking > char Б (U+00411) in font '' with id 0: missing
fonts           > checking > char Р (U+00420) in font '' with id 0: missing
fonts           > checking > char О (U+0041E) in font '' with id 0: missing
fonts           > checking > char Ј (U+00408) in font '' with id 0: missing
fonts           > checking > char И (U+00418) in font '' with id 0: missing
fonts           > checking > char З (U+00417) in font '' with id 0: missing
fonts           > checking > char Е (U+00415) in font '' with id 0: missing
fonts           > checking > char П (U+0041F) in font '' with id 0: missing
fonts           > checking > char Л (U+0041B) in font '' with id 0: missing
fonts           > checking > char Ч (U+00427) in font '' with id 0: missing
fonts           > checking > char Г (U+00413) in font '' with id 0: missing
fonts           > checking > char Д (U+00414) in font '' with id 0: missing
fonts           > checking > char Т (U+00422) in font '' with id 0: missing
fonts           > checking > char С (U+00421) in font '' with id 0: missing
fonts           > checking > char В (U+00412) in font '' with id 0: missing
fonts           > checking > char Ц (U+00426) in font '' with id 0: missing
fonts           > checking > char e (U+00065) in font '' with id 0: missing
fonts           > checking > char p (U+00070) in font '' with id 0: missing
fonts           > checking > char s (U+00073) in font '' with id 0: missing
fonts           > checking > char g (U+00067) in font '' with id 0: missing
fonts           > checking > char : (U+0003A) in font '' with id 0: missing
fonts           > checking > char 3 (U+00033) in font '' with id 0: missing
fonts           > checking > char 6 (U+00036) in font '' with id 0: missing
fonts           > checking > char М (U+0041C) in font '' with id 0: missing
fonts           > checking > char 8 (U+00038) in font '' with id 0: missing
fonts           > checking > char 0 (U+00030) in font '' with id 0: missing
backend         > xmp > using file '/home/stefan/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 1, order 2, name './serbia_map_adresses_text.tex'
system          > start used files
system          > text: serbia_map_adresses_text
system          > stop used files
system          > start used files
system          >    1: filename=publ-imp-default.lua filetype=scripts foundname=/home/stefan/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/home/stefan/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    2: filename=cont-new.mkxl filetype=tex foundname=/home/stefan/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl fullname=/home/stefan/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl usedmethod=database
system          >    3: filename=lang-exc.lua filetype=scripts foundname=/home/stefan/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/home/stefan/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    4: filename=lang-us.lua filetype=scripts foundname=/home/stefan/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/home/stefan/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    5: filename=/home/stefan/Documents/ShapelyMP/serbia_map_adresses_text.tex format=tex foundname=/home/stefan/Documents/ShapelyMP/serbia_map_adresses_text.tex fullname=/home/stefan/Documents/ShapelyMP/serbia_map_adresses_text.tex usedmethod=direct
system          >    6: filename=lpdf-pdx.xml filetype=tex foundname=/home/stefan/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=/home/stefan/context/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="./serbia_map_adresses_text.tex"
system          > input="./serbia_map_adresses_text.tex"
system          > kindofrun="1"
system          > maxnofruns="9"
system          > texmfbinpath="/home/stefan/context/tex/texmf-linux-64/bin"
system          > stop commandline options
system          > start commandline files
system          >    1: ./serbia_map_adresses_text.tex
system          > stop commandline files
modules         > start used modules
modules         > stop used modules
system          > 
system          > status after finishing run
system          > 
system          >   -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
system          >           string       pool       hash     lookup       node      token     buffer      input       file       nest  parameter       save       font   language       mark     insert
system          >   -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
system          >   max    2097152  100000000    2097152    2097152  100000000   10000000  100000000     100000       2000      10000     100000     500000     100000      10000      10000        500
system          >   min     150000   10000000     150000     150000    1000000    1000000    1000000      10000        500       1000      20000     100000        250        250         50         10
system          >   set     500000   10000000     250000     250000   50000000   10000000   10000000     100000       2000      10000     100000     500000     100000        250        250        250
system          >   stp     100000    1000000     100000     100000     500000     250000    1000000      10000        250       1000      10000      10000        250        250         50         25
system          > 
system          >   mem     150000     879059     150000               1000000    1000000    1000000      10000        500       1000      20000      10000       2920         96       1200        320
system          >   all    2400000     879059    2400000               9000000    8000000    1000000     320000      16000      48000      80000     160000       2920         96      28800      10240
system          > 
system          >   ini    2142543     858129          0      45373          0     496387                                                                                       0                      
system          >   ptr      46535                  9182      46517                521493          0          0          0          0          0          0          4          0          0          7
system          >   top      46536                740050     131074       4067     529077        209         27          5         12         27        378        250        250         50         10
system          >   -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
system          > 
system          >   current input type    : initial
system          > 
system          >   approximate memory    : 26048523 (24 MB)
system          > 
system          >   expansion depth       : min: 10000, max: 1000000, set: 10000, top: 5
system          > 
system          >   luabytecode registers : 1002
system          >   luabytecode bytes     : 16048 (0 MB)
system          >   luastate bytes now    : 49785277 (47 MB)
system          >   luastate bytes max    : 49785277 (47 MB)
system          > 
system          >   file callbacks        : 68
system          >   saved callbacks       : 373
system          >   direct callbacks      : 2
system          >   function callbacks    : 1137
system          >   value callbacks       : 1
system          >   message callbacks     : 0
system          >   bytecode callbacks    : 600
system          > 
system          >   mp instances          : 0
system          >   mp estimated memory   : 0 (0 MB)
system          >   mp file callbacks     : 0
system          >   mp text callbacks     : 0
system          >   mp script callbacks   : 0
system          >   mp log callbacks      : 0
system          > 
system          >   total callbacks       : 2181
system          >   mp total callbacks    : 0
system          >   backend callbacks     : 0
system          > 
mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /home/stefan/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.003 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 6 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 502 modules (0.161 sec), 98 tables (0.009 sec), 600 chunks (0.170 sec)
mkiv lua stats  > traced context: maxstack: 1616, freed: 0, unreachable: 1616
mkiv lua stats  > cleaned up reserved nodes: 71 nodes, 9 lists of 435
mkiv lua stats  > node memory usage: 15 attribute, 3 glue, 58 glue_spec, 3 kern, 4 penalty, 2 temp
mkiv lua stats  > node list callback tasks: 12 unique task lists, 8 instances (re)created, 51 calls
mkiv lua stats  > used backend: pdf
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: file: 68, saved: 373, direct: 2, function: 1137, value: 1, message: 0, bytecode: 600, late 0, total: 2181 (2181 per page)
mkiv lua stats  > randomizer: resumed with value 0.92460604724911
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > font engine: otf 3.119, afm 1.513, tfm 1.000
mkiv lua stats  > body font sizes: defined: 10pt 11pt 12pt 14.4pt 17.3pt 20.7pt 4pt 5pt 6pt 7pt 8pt 9pt, undefined: 28.8pt 36pt 43.2pt
mkiv lua stats  > result saved in file: serbia_map_adresses_text.pdf, compresslevel 1, objectcompresslevel 3
mkiv lua stats  > positions: 4 collected, 0 deltas, 0 shared partials, 0 partial entries
mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: texmf-linux-64
mkiv lua stats  > used engine: luametatex version: 2.0936, functionality level: 20221202, format id: 616, compiler: gcc
mkiv lua stats  > tex properties: 740050 hash slots used of 2097152, 46517 control sequences, approximate memory usage: 24 MB
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 49 MB, ctx: 47 MB, max: 47 MB, symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.214 seconds, 1 processed pages, 1 shipped pages, 4.666 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] 3+ messages in thread

* Re: Problem loading font in LMTX
  2022-06-11  8:05 Problem loading font in LMTX Stefan Nedeljkovic via ntg-context
@ 2022-06-11 10:21 ` Wolfgang Schuster via ntg-context
  2022-06-11 11:11   ` Stefan Nedeljkovic via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2022-06-11 10:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster

Stefan Nedeljkovic via ntg-context schrieb am 11.06.2022 um 10:05:
> Dear list,
>
> I have the following file:
>
> \starttypescript [lidia]
> \definetypeface[lidia][rm][serif][lidiaweb][cpsp=yes]
> \stoptypescript
> \setupbodyfont[lidia,36pt]
> \starttext
> \startTEXpage[align=normal,width=100cm,autowidth=force,offset=0pt]
> \startalignment[middle]
> 2{\hskip 0em}412{\hskip 0em}772 {\hskip 0em}КУЋНА {\hskip 0em}БРОЈА\\
> {\vskip 2em}ИЗ {\hskip 0em}БАЗЕ {\hskip 0em}РЕПУБЛИЧКОГ {\hskip 
> 0em}ГЕОДЕТСКОГ {\hskip 0em}ЗАВОДА\\
> {\vskip 2em}У {\hskip 0em}ПРОЈЕКЦИЈИ {\hskip 0em}epsg{\hskip 
> 0em}:{\hskip 0em}32634 {\hskip 0em}И {\hskip 0em}РАЗМЕРИ {\hskip 
> 0em}1{\hskip 0em}:{\hskip 0em}388{\hskip 0em}000\\
> {\vskip 2em}ЈАНУАР {\hskip 0em}2022
> \stopalignment
> \stopTEXpage
> \stoptext

\definefontfeature [default] [default] [cpsp=yes]

\definetypeface [lidia] [rm] [specserif] [lidiaweb] [default]
%\definefontfamily [lidia] [rm] [lidiaweb]

\setupbodyfont[lidia,36pt]

\startTEXpage[align=middle,width=100cm,autowidth=force,offset=0pt]
2412772 КУЋНА БРОЈА
\blank[2em]
ИЗ БАЗЕ РЕПУБЛИЧКОГ ГЕОДЕТСКОГ ЗАВОДА
\blank[2em]
У ПРОЈЕКЦИЈИ epsg:32634 И РАЗМЕРИ 1:388000
\blank[2em]
ЈАНУАР 2022
\stopTEXpage

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: Problem loading font in LMTX
  2022-06-11 10:21 ` Wolfgang Schuster via ntg-context
@ 2022-06-11 11:11   ` Stefan Nedeljkovic via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Nedeljkovic via ntg-context @ 2022-06-11 11:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Stefan Nedeljkovic


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

That works perfectly, thank you very much Wolfgang!

On Sat, Jun 11, 2022 at 12:23 PM Wolfgang Schuster via ntg-context <
ntg-context@ntg.nl> wrote:

> Stefan Nedeljkovic via ntg-context schrieb am 11.06.2022 um 10:05:
> > Dear list,
> >
> > I have the following file:
> >
> > \starttypescript [lidia]
> > \definetypeface[lidia][rm][serif][lidiaweb][cpsp=yes]
> > \stoptypescript
> > \setupbodyfont[lidia,36pt]
> > \starttext
> > \startTEXpage[align=normal,width=100cm,autowidth=force,offset=0pt]
> > \startalignment[middle]
> > 2{\hskip 0em}412{\hskip 0em}772 {\hskip 0em}КУЋНА {\hskip 0em}БРОЈА\\
> > {\vskip 2em}ИЗ {\hskip 0em}БАЗЕ {\hskip 0em}РЕПУБЛИЧКОГ {\hskip
> > 0em}ГЕОДЕТСКОГ {\hskip 0em}ЗАВОДА\\
> > {\vskip 2em}У {\hskip 0em}ПРОЈЕКЦИЈИ {\hskip 0em}epsg{\hskip
> > 0em}:{\hskip 0em}32634 {\hskip 0em}И {\hskip 0em}РАЗМЕРИ {\hskip
> > 0em}1{\hskip 0em}:{\hskip 0em}388{\hskip 0em}000\\
> > {\vskip 2em}ЈАНУАР {\hskip 0em}2022
> > \stopalignment
> > \stopTEXpage
> > \stoptext
>
> \definefontfeature [default] [default] [cpsp=yes]
>
> \definetypeface [lidia] [rm] [specserif] [lidiaweb] [default]
> %\definefontfamily [lidia] [rm] [lidiaweb]
>
> \setupbodyfont[lidia,36pt]
>
> \startTEXpage[align=middle,width=100cm,autowidth=force,offset=0pt]
> 2412772 КУЋНА БРОЈА
> \blank[2em]
> ИЗ БАЗЕ РЕПУБЛИЧКОГ ГЕОДЕТСКОГ ЗАВОДА
> \blank[2em]
> У ПРОЈЕКЦИЈИ epsg:32634 И РАЗМЕРИ 1:388000
> \blank[2em]
> ЈАНУАР 2022
> \stopTEXpage
>
> 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
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: 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

end of thread, other threads:[~2022-06-11 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-11  8:05 Problem loading font in LMTX Stefan Nedeljkovic via ntg-context
2022-06-11 10:21 ` Wolfgang Schuster via ntg-context
2022-06-11 11:11   ` Stefan Nedeljkovic via ntg-context

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