Bug 24474

Summary: pdflatex doesn't generate needed fonts
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: tetex-latexAssignee: Grigory Batalov <bga>
Status: CLOSED WONTFIX QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P3 CC: grenka, jackie.rosen, kirill, ldv
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 17178, 29122    
Attachments:
Description Flags
simple test source with size 12
none
no-font12.pdf none

Description Ivan Zakharyaschev 2010-11-02 00:20:27 MSK
Created attachment 4639 [details]
simple test source with size 12

tetex-latex-2.0-alt10  Unlike some other tools (e.g., xdvi) pdflatex doesn't force the generation of needed fonts. So, the resulting .pdf file misses them.  How to reproduce (the attached test is for size 12 in T2A fonts):  $ rm -v /var/lib/texmf/pk/ljfour/lh/lh-t2a/*1200* rm: removing file `/var/lib/texmf/pk/ljfour/lh/lh-t2a/larm1200.600pk' rm: removing file `/var/lib/texmf/pk/ljfour/lh/lh-t2a/lati1200.600pk' rm: removing file `/var/lib/texmf/pk/ljfour/lh/lh-t2a/labx1200.600pk' $ pdflatex no-font12.tex  This is pdfTeX, Version 3.14159-1.10a (Web2C 7.4.4) (./no-font12.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} LaTeX2e <2001/06/01> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, r ussian, ukrainian, nohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size12.clo)) (/usr/share/texmf/tex/latex/base/inputenc.sty (/usr/share/texmf/tex/latex/unicode/utf8.def)) (/usr/share/texmf/tex/latex/unicode/ucs.sty (/usr/share/texmf/tex/latex/unicode/data/uni-global.def)) (/usr/share/texmf/tex/generic/babel/babel.sty (/usr/share/texmf/tex/generic/babel/russianb.ldf (/usr/share/texmf/tex/generic/babel/babel.def) (/usr/share/texmf/tex/latex/cyrillic/t2aenc.def))) No file no-font12.aux. (/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd) (/usr/share/texmf/tex/latex/unicode/ucsencs.def) (/usr/share/texmf/tex/latex/unicode/data/uni-4.def) [1{/usr/../etc/tex-fonts/pd ftex.map}] (./no-font12.aux) ) Warning: /usr/bin/pdflatex (file larm1200): Font larm1200 at 600 not found Output written on no-font12.pdf (1 page, 888 bytes). Transcript written on no-font12.log. $   The result misses the fonts, one sees an empty page:  $ evince no-font12.pdf Xlib:  extension "Generic Event Extension" missing on display ":0.0". Xlib:  extension "Generic Event Extension" missing on display ":0.0". Xlib:  extension "Generic Event Extension" missing on display ":0.0". Xlib:  extension "Generic Event Extension" missing on display ":0.0". Xlib:  extension "Generic Event Extension" missing on display ":0.0". Xlib:  extension "Generic Event Extension" missing on display ":0.0".  ** (evince:3160): WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name Error: font resource is not a dictionary Error: Unknown font tag 'F16' Error (200): No font in show/space Error: No font in show/space Error: font resource is not a dictionary Error: Unknown font tag 'F16' Error (200): No font in show/space Error: No font in show/space Error: font resource is not a dictionary Error: Unknown font tag 'F16' Error (200): No font in show/space Error: No font in show/space Error: font resource is not a dictionary Error: Unknown font tag 'F16' Error (200): No font in show/space Error: No font in show/space Error: font resource is not a dictionary Error: Unknown font tag 'F16' Error (200): No font in show/space Error: No font in show/space Error: font resource is not a dictionary Error: Unknown font tag 'F16' Error (200): No font in show/space Error: No font in show/space  ** (evince:3160): WARNING **: Установка атрибута metadata::evince::sidebar_visibility не поддерживается Error: font resource is not a dictionary Error: Unknown font tag 'F16' Error (200): No font in show/space Error: No font in show/space Error: font resource is not a dictionary Error: Unknown font tag 'F16' Error (200): No font in show/space Error: No font in show/space $   Expected:  Like after running xdvi, the missing fonts are forced to be generated:  $ latex no-font12 && xdvi no-font12 This is TeX, Version 3.14159 (Web2C 7.4.4) (./no-font12.tex LaTeX2e <2001/06/01> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, r ussian, ukrainian, nohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size12.clo)) (/usr/share/texmf/tex/latex/base/inputenc.sty (/usr/share/texmf/tex/latex/unicode/utf8.def)) (/usr/share/texmf/tex/latex/unicode/ucs.sty (/usr/share/texmf/tex/latex/unicode/data/uni-global.def)) (/usr/share/texmf/tex/generic/babel/babel.sty (/usr/share/texmf/tex/generic/babel/russianb.ldf (/usr/share/texmf/tex/generic/babel/babel.def) (/usr/share/texmf/tex/latex/cyrillic/t2aenc.def))) (./no-font12.aux (/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)) (/usr/share/texmf/tex/latex/unicode/ucsencs.def) (/usr/share/texmf/tex/latex/unicode/data/uni-4.def) [1] (./no-font12.aux) ) Output written on no-font12.dvi (1 page, 256 bytes). Transcript written on no-font12.log. kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+0/600 --dpi 600 larm1200 mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input larm1200 This is METAFONT, Version 2.7182 (Web2C 7.4.4)  (/usr/share/texmf/fonts/source/lh/lh-t2a/larm1200.mf (/usr/share/texmf/fonts/source/lh/base/fikparm.mf (/usr/share/texmf/fonts/source/public/cm/cmbase.mf) (/usr/share/texmf/fonts/source/lh/base/lcyrbeg.mf) (/usr/share/texmf/fonts/source/lh/base/lkligtbl.mf) >> 12 >> "input ecrm" (/usr/share/texmf/fonts/source/jknappen/ec/ecrm.mf) (/usr/share/texmf/fonts/source/lh/lh-t2a/lacodes.mf) (/usr/share/texmf/fonts/source/lh/base/lcyrdefs.mf) (/usr/share/texmf/fonts/source/lh/base/leroman.mf (/usr/share/texmf/fonts/source/lh/base/lxpseudo.mf) (/usr/share/texmf/fonts/source/jknappen/ec/exrulett.mf [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90]) (/usr/share/texmf/fonts/source/jknappen/ec/exrllett.mf [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]) (/usr/share/texmf/fonts/source/lh/base/lgcyru.mf (/usr/share/texmf/fonts/source/lh/base/lgrusu.mf [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223] [156]) (/usr/share/texmf/fonts/source/lh/base/lgt2comu.mf [131] [130] [136] [135] [155] [143] [150] [128] [142] [144] [146] [153]) (/usr/share/texmf/fonts/source/lh/base/lgt2upu.mf [129] [132] [133] [134] [137] [138] [141] [145] [147] [148] [149] [152] [154]) (/usr/share/texmf/fonts/source/lh/base/lgt2lou.mf [140] [139] [151])) (/usr/share/texmf/fonts/source/lh/base/lgcyrl.mf (/usr/share/texmf/fonts/source/lh/base/lgrusl.mf [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255] [188]) (/usr/share/texmf/fonts/source/lh/base/lgt2coml.mf [163] [162] [167] [187] [175] [182] [160] [168] [174] [176] [178] [185]) (/usr/share/texmf/fonts/source/lh/base/lgt2upl.mf [161] [164] [165] [166] [169] [170] [173] [177] [179] [180] [181] [184] [186]) (/usr/share/texmf/fonts/source/lh/base/lgt2lol.mf [172] [171] [183])) (/usr/share/texmf/fonts/source/lh/base/lgcyrsym.mf [13] [14] [15] [22] [24] [23] [34] [157] [158] [159] [189] [190] [191]) (/usr/share/texmf/fonts/source/lh/base/lgengsym.mf [16] [17] [21] [32] [33] [35] [36] [37] [39] [40] [41] [42] [43] [44] [45] [46] [47] [58] [59] [60] [62] [61] [64] [91] [92] [93] [94] [95] [96] [123] [124] [125] [126] [127]) (/usr/share/texmf/fonts/source/lh/base/lgromp.mf [38] [63]) (/usr/share/texmf/fonts/source/lh/base/lgrdigit.mf [48] [49] [50] [51] [52] [53] [54] [55] [56] [57]) (/usr/share/texmf/fonts/source/lh/base/lgrlig.mf [25] [26] [28] [27] [29] [30] [31]) (/usr/share/texmf/fonts/source/lh/base/lgcyracc.mf [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [19] [20] [18]) (/usr/share/texmf/fonts/source/lh/base/llvligtb.mf) (/usr/share/texmf/fonts/source/lh/base/llrligtb.mf) (/usr/share/texmf/fonts/source/lh/lh-t2a/laliker.mf) ) ) ) (some charht values had to be adjusted by as much as 0.07143pt) Font metrics written on larm1200.tfm. Output written on larm1200.600gf (256 characters, 59244 bytes). Transcript written on larm1200.log. /usr/share/texmf/web2c/mktexupd: /usr/../var/lib/texmf/ls-R unwritable. mktexpk: /usr/../var/lib/texmf/pk/ljfour/lh/lh-t2a/larm1200.600pk: successfully generated. $
Comment 1 Ivan Zakharyaschev 2010-11-02 00:23:44 MSK
Created attachment 4640 [details]
no-font12.pdf

the empty resulting pdf.
Comment 2 Ivan Zakharyaschev 2010-11-02 00:46:35 MSK
In fact, there is an option to switch the wanted feature on:

pdflatex -mktex=pk no-font12

So, perhaps, this report should be regarded as a wish to switch this
option on by default.
Comment 3 Ivan Zakharyaschev 2013-07-08 09:43:11 MSK
(For info: This is not a problem of pdflatex from texlive-latex-base-2008.0-alt0.15: it generates fonts with and without this option.)
Comment 4 Grigory Ustinov 2018-08-23 18:45:10 MSK
(В ответ на комментарий №3)
> (For info: This is not a problem of pdflatex from
> texlive-latex-base-2008.0-alt0.15: it generates fonts with and without this
> option.)

Тогда закрываю баг, так как tetex зарыли.