LuaLaTeX with Window's fonts

Jerry jerry at seibercom.net
Sun Feb 14 16:58:08 CET 2021


On Sunday, February 14, 2021 10:06 AM, Herbert Voss wrote:
> Jerry schrieb:
> > On Saturday, February 13, 2021 5:09 PM, David Carlisle stated:
> >>
> >> On Sat, 13 Feb 2021 at 22:02, Jerry <jerry at seibercom.net> wrote:
> >>
> >> > That does tell me how to use the font already available on my
> >> > system with I was told it was supposed to be easy to use available
> >> > Windows fonts with LuaLaTeX, but I have not discovered the secret.
> >> >
> >>
> >> Hi, I posted two documents one using Arial, another Georgia, did they
> >> not work for you?
> >
> > Unfortunately, no. It seems LuaLaTeX cannot find the font. I checked,
> > and it is present and works with MS Word.
> 
> Show the complete tex test file
> 
> Herbert

This is a small tex file:

\documentclass[10pt,letterpaper,oneside,final]{article}
\usepackage{fontspec}
\usepackage{graphicx}
\usepackage[width=8.50in, height=11.00in, left=0.50in, right=0.50in,
top=1.00in, bottom=1.00in]{geometry}
\begin{document}
	
\fontfamily{Georgia}\selectfont

This is a test of Georgia font. \\
	
\end{document}

This is the actual log file. You will notice that it states that it cannot
find the file. I have used both "Georgia" and "georgia".

This is LuaHBTeX, Version 1.13.0 (MiKTeX 21.1) (format=lualatex 2021.2.14)
14 FEB 2021 10:52
 restricted system commands enabled.
**texstudio_DgbLQt.tex
(./texstudio_DgbLQt.tex
LaTeX2e <2020-10-01> patch level 4
Lua module: luaotfload 2021-01-08 3.17 Lua based OpenType font support
Lua module: lualibs 2020-12-30 2.73 ConTeXt Lua standard libraries.
Lua module: lualibs-extended 2020-12-30 2.73 ConTeXt Lua libraries --
extended c
ollection.
luaotfload | conf : Root cache directory is
"C:/Users/gerar/AppData/Local/MiKTeX
/luatex-cache/generic/names".
luaotfload | init : Loading fontloader "fontloader-2021-01-07.lua" from
kpse-res
olved path
"C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/luatex/luaotfload/f
ontloader-2021-01-07.lua".
Lua-only attribute luaotfload at noligature = 1
Lua-only attribute luaotfload at syllabe = 2
luaotfload | init : Context OpenType loader version 0x1.8e76c8b439581p+1
Inserting `luaotfload.node_processor' at position 1 in
`pre_linebreak_filter'.
Inserting `luaotfload.node_processor' at position 1 in `hpack_filter'.
Inserting `luaotfload.glyph_stream' at position 1 in
`glyph_stream_provider'.
Inserting `luaotfload.define_font' at position 1 in `define_font'.
Lua-only attribute luaotfload_color_attribute = 3
luaotfload | conf : Root cache directory is
"C:/Users/gerar/AppData/Local/MiKTeX
/luatex-cache/generic/names".
Inserting `luaotfload.harf.strip_prefix' at position 1 in
`find_opentype_file'.
Inserting `luaotfload.harf.strip_prefix' at position 1 in
`find_truetype_file'.
Inserting `luaotfload.harf.finalize_vlist' at position 1 in
`post_linebreak_filt
er'.
Inserting `luaotfload.harf.finalize_hlist' at position 2 in `hpack_filter'.
Inserting `luaotfload.cleanup_files' at position 1 in `wrapup_run'.
Inserting `luaotfload.harf.finalize_unicode' at position 1 in
`finish_pdffile'.
Inserting `luaotfload.glyphinfo' at position 1 in `glyph_info'.
Inserting `luaotfload.aux.set_sscale_dimens' at position 1 in
`luaotfload.patch_
font'.
Inserting `luaotfload.aux.set_font_index' at position 2 in
`luaotfload.patch_fon
t'.
Inserting `luaotfload.aux.patch_cambria_domh' at position 3 in
`luaotfload.patch
_font'.
Inserting `luaotfload.aux.fixup_fontdata' at position 1 in
`luaotfload.patch_fon
t_unsafe'.
Inserting `luaotfload.aux.set_capheight' at position 4 in
`luaotfload.patch_font
'.
Inserting `luaotfload.aux.set_xheight' at position 5 in
`luaotfload.patch_font'.
Inserting `luaotfload.rewrite_fontname' at position 6 in
`luaotfload.patch_font'
. L3 programming layer <2021-02-06> xparse <2020-03-03>
(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/base/size10.clo
File: size10.clo 2020/04/10 v1.4m Standard LaTeX file (size option)
luaotfload | db : Font names database loaded from
C:/Users/gerar/AppData/Local/M
iKTeX/luatex-cache/generic/names/luaotfload-names.luc)
\c at part=\count173
\c at section=\count174
\c at subsection=\count175
\c at subsubsection=\count176
\c at paragraph=\count177
\c at subparagraph=\count178
\c at figure=\count179
\c at table=\count180
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen138
)
(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/fontspec/fontspec.st
y
(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/l3packages/xparse/xp
ars
e.sty
(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/l3kernel/expl3.sty
Package: expl3 2021-02-06 L3 programming layer (loader) 

(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/l3backend/l3backend-
lua
tex.def
File: l3backend-luatex.def 2021-02-06 L3 backend support: PDF output
(LuaTeX)
\l__color_backend_stack_int=\count181
\l__pdf_internal_box=\box47
))
Package: xparse 2020-10-27 L3 Experimental document command parser

(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/l3packages/xparse/xp
ars
e-generic.tex))
Package: fontspec 2020/02/21 v2.7i Font selection for XeLaTeX and LuaLaTeX
Lua module: fontspec 2020/02/21 2.7i Font selection for XeLaTeX and LuaLaTeX
(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/fontspec/fontspec-lu
ate
x.sty
Package: fontspec-luatex 2020/02/21 v2.7i Font selection for XeLaTeX and
LuaLaT
eX
\l__fontspec_script_int=\count182
\l__fontspec_language_int=\count183
\l__fontspec_strnum_int=\count184
\l__fontspec_tmp_int=\count185
\l__fontspec_tmpa_int=\count186
\l__fontspec_tmpb_int=\count187
\l__fontspec_tmpc_int=\count188
\l__fontspec_em_int=\count189
\l__fontspec_emdef_int=\count190
\l__fontspec_strong_int=\count191
\l__fontspec_strongdef_int=\count192
\l__fontspec_tmpa_dim=\dimen139
\l__fontspec_tmpb_dim=\dimen140
\l__fontspec_tmpc_dim=\dimen141
 (C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/base/fontenc.sty
Package: fontenc 2020/08/10 v2.0s Standard LaTeX package
)
(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/fontspec/fontspec.cf
g
)))
(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/graphics/graphicx.st
y
Package: graphicx 2020/09/09 v1.2b Enhanced LaTeX Graphics (DPC,SPQR)

(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV at toks@=\toks15
)
(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/graphics/graphics.st
y
Package: graphics 2020/08/30 v1.4c Standard LaTeX Graphics (DPC,SPQR)

(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/graphics/trig.sty
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/graphics-cfg/graphic
s.c
fg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: luatex.def on input line 105.

(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/graphics-def/luatex.
def
File: luatex.def 2020/10/05 v1.2a Graphics/color driver for luatex
))
\Gin at req@height=\dimen142
\Gin at req@width=\dimen143
)
(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/geometry/geometry.st
y
Package: geometry 2020/01/02 v5.9 Page Geometry

(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/generic/iftex/ifvtex.sty
Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead.

(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/generic/iftex/iftex.sty
Package: iftex 2020/03/06 v1.0d TeX engine tests
))
\Gm at cnth=\count193
\Gm at cntv=\count194
\c at Gm@tempcnt=\count195
\Gm at bindingoffset=\dimen144
\Gm at wd@mp=\dimen145
\Gm at odd@mp=\dimen146
\Gm at even@mp=\dimen147
\Gm at layoutwidth=\dimen148
\Gm at layoutheight=\dimen149
\Gm at layouthoffset=\dimen150
\Gm at layoutvoffset=\dimen151
\Gm at dimlist=\toks16

(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/geometry/geometry.cf
g)

Package geometry Warning: Over-specification in `h'-direction.
    `width' (614.295pt) is ignored.


Package geometry Warning: Over-specification in `v'-direction.
    `height' (794.96999pt) is ignored.

) (./texstudio_DgbLQt.aux)
\openout1 = texstudio_DgbLQt.aux

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 5.
LaTeX Font Info:    Trying to load font information for TS1+cmr on input
line 5
.

(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/base/ts1cmr.fd
File: ts1cmr.fd 2019/12/16 v2.5j Standard LaTeX font definitions
)
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for TU/lmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.

Package fontspec Info: Adjusting the maths setup (use [no-math] to avoid
(fontspec)             this).

\symlegacymaths=\mathgroup4
LaTeX Font Info:    Overwriting symbol font `legacymaths' in version `bold'
(Font)                  OT1/cmr/m/n --> OT1/cmr/bx/n on input line 5.
LaTeX Font Info:    Redeclaring math accent \acute on input line 5.
LaTeX Font Info:    Redeclaring math accent \grave on input line 5.
LaTeX Font Info:    Redeclaring math accent \ddot on input line 5.
LaTeX Font Info:    Redeclaring math accent \tilde on input line 5.
LaTeX Font Info:    Redeclaring math accent \bar on input line 5.
LaTeX Font Info:    Redeclaring math accent \breve on input line 5.
LaTeX Font Info:    Redeclaring math accent \check on input line 5.
LaTeX Font Info:    Redeclaring math accent \hat on input line 5.
LaTeX Font Info:    Redeclaring math accent \dot on input line 5.
LaTeX Font Info:    Redeclaring math accent \mathring on input line 5.
LaTeX Font Info:    Redeclaring math symbol \colon on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Gamma on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Delta on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Theta on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Lambda on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Xi on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Pi on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Sigma on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Upsilon on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Phi on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Psi on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Omega on input line 5.
LaTeX Font Info:    Redeclaring math symbol \mathdollar on input line 5.
LaTeX Font Info:    Redeclaring symbol font `operators' on input line 5.
LaTeX Font Info:    Encoding `OT1' has changed to `TU' for symbol font
(Font)              `operators' in the math version `normal' on input line
5.
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  OT1/cmr/m/n --> TU/lmr/m/n on input line 5.
LaTeX Font Info:    Encoding `OT1' has changed to `TU' for symbol font
(Font)              `operators' in the math version `bold' on input line 5.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  OT1/cmr/bx/n --> TU/lmr/m/n on input line 5.
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  TU/lmr/m/n --> TU/lmr/m/n on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `normal'
(Font)                  OT1/cmr/m/it --> TU/lmr/m/it on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `normal'
(Font)                  OT1/cmr/bx/n --> TU/lmr/b/n on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `normal'
(Font)                  OT1/cmss/m/n --> TU/lmss/m/n on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `normal'
(Font)                  OT1/cmtt/m/n --> TU/lmtt/m/n on input line 5.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  TU/lmr/m/n --> TU/lmr/b/n on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `bold'
(Font)                  OT1/cmr/bx/it --> TU/lmr/b/it on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `bold'
(Font)                  OT1/cmss/bx/n --> TU/lmss/b/n on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `bold'
(Font)                  OT1/cmtt/m/n --> TU/lmtt/b/n on input line 5.

(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/context/base/mkii/supp-pdf
.mk
ii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count196
\scratchdimen=\dimen152
\scratchbox=\box48
\nofMPsegments=\count197
\nofMParguments=\count198
\everyMPshowfont=\toks17
\MPscratchCnt=\count199
\MPscratchDim=\dimen153
\MPnumerator=\count266
\makeMPintoPDFobject=\count267
\everyMPtoPDFconversion=\toks18
)
(C:/Users/gerar/AppData/Local/Programs/MiKTeX/tex/latex/epstopdf-pkg/epstopd
f-b
ase.sty
Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input
line 4
85.
)
*geometry* driver: auto-detecting
*geometry* detected driver: luatex
*geometry* verbose mode - [ preamble ] result:
* driver: luatex
* paper: letterpaper
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes: 
* h-part:(L,W,R)=(36.135pt, 542.02501pt, 36.135pt)
* v-part:(T,H,B)=(72.26999pt, 650.43001pt, 72.26999pt)
* \paperwidth=614.295pt
* \paperheight=794.96999pt
* \textwidth=542.02501pt
* \textheight=650.43001pt
* \oddsidemargin=-36.135pt
* \evensidemargin=-36.135pt
* \topmargin=-37.0pt
* \headheight=12.0pt
* \headsep=25.0pt
* \topskip=10.0pt
* \footskip=30.0pt
* \marginparwidth=65.0pt
* \marginparsep=11.0pt
* \columnsep=10.0pt
* \skip\footins=9.0pt plus 4.0pt minus 2.0pt
* \hoffset=0.0pt
* \voffset=0.0pt
* \mag=1000
* \@twocolumnfalse
* \@twosidefalse
* \@mparswitchfalse
* \@reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)

LaTeX Font Info:    Trying to load font information for TU+Georgia on input
lin
e 7.
LaTeX Font Info:    No file TUGeorgia.fd. on input line 7.

LaTeX Font Warning: Font shape `TU/Georgia/m/n' undefined
(Font)              using `TU/lmr/m/n' instead on input line 7.


Underfull \hbox (badness 10000) in paragraph at lines 9--10

 []

[1

{C:/Users/gerar/AppData/Local/MiKTeX/pdftex/config/pdftex.map}]
(./texstudio_DgbLQt.aux)

LaTeX Font Warning: Some font shapes were not available, defaults
substituted.

)

Here is how much of LuaTeX's memory you used:
 4064 strings out of 478819
 100000,552014 words of node,token memory allocated
 406 words of node memory still in use:
   3 hlist, 1 vlist, 1 rule, 2 glue, 3 kern, 1 glyph, 4 attribute, 48
glue_spec,
 4 attribute_list, 1 write nodes
   avail lists: 2:19,3:8,4:1,5:22,6:2,7:94,9:16,11:2
 23640 multiletter control sequences out of 65536+200000
 24 fonts using 2779679 bytes
 81i,4n,85p,295b,114s stack positions out of
5000i,500n,10000p,200000b,50000s
<//?/c:/users/gerar/appdata/local/programs/miktex/fonts/opentype/public/lm/l
mrom
an10-regular.otf>
Output written on texstudio_DgbLQt.pdf (1 page, 4673 bytes).

PDF statistics: 13 PDF objects out of 1000 (max. 8388607)
 0 named destinations out of 1000 (max. 131072)
 1 words of extra memory for PDF output out of 10000 (max. 100000000)

-- 
Jerry




More information about the texhax mailing list.