Re: [NTG-context] Problem loading font in LMTX

2022-06-11 Thread Stefan Nedeljkovic via ntg-context
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
>
> ___
>
___
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
___


Re: [NTG-context] Problem loading font in LMTX

2022-06-11 Thread Wolfgang Schuster via ntg-context

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
___


[NTG-context] Problem loading font in LMTX

2022-06-11 Thread Stefan Nedeljkovic via ntg-context
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
identifierfamilyname   fontname   filename   subfont   instances

lidiaweb  lidiaweb lidiaweb   LidiaWeb.ttf
lidiawebnormallidiaweb 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
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