pdfpc
pdfpc copied to clipboard
Missing text with T1 font encoding
Using T1 font encoding by adding \usepackage[T1]{fontenc}
to the header of a file fed to pdflatex+beamer results in all text missing. Displaying the same file in evince and co works w/o problems. It seems like this has never worked yet (tested with Jakob's 2.0 too).
Hi,
I can't reproduce your problem.
My minimal example:
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\begin{document}
\begin{frame}{Hallo}
Äöhi
\end{frame}
\end{document}
I used an up to date TeXLive 2012 installation and the pdfpc master version.
Could you post your code and some informations about your environment?
Your MWE triggers the same problem, so my code is not the issue. I am using ubuntu 12.10's texlive 2012.20120611-4 but on a 12.04 installation (i.e. latex-related packages pinned to the 12.10 distribution, everything else standard 12.04 packages). This has worked so far without any problems (apart from some strange fontconfig warnings whenever I start a gui app :) If you can't reproduce it I guess we can ignore the issue for now (and I would not mind if you would close the issue, or leave it open). Sorry for the noise.
Hi,
I have a similar problem as stefanct on my PC. I'm using a company specific beamer template and bullet points and mathematical formulas are missing if I present the slides with pdfpc.
The above example produces also empty slides if I view the output with pdfpc. If I use a another pdfviewer like Okular, everythin works fine.
I'm using Debian testing. The installed texlive version is 2012.20120611-5. I used the master version from the git hub.
Same here. Below a font info of the PDF in question:
pdfinfo slides.pdf
Title: ....
Subject:
Keywords:
Author:
Creator: LaTeX with Beamer class version 3.27
Producer: pdfTeX-1.40.12
CreationDate: Wed Nov 6 12:20:03 2013
ModDate: Wed Nov 6 12:20:03 2013
Tagged: no
Pages: 43
Encrypted: no
Page size: 362.835 x 272.126 pts
File size: 1938149 bytes
Optimized: no
PDF version: 1.5
sneumann@paddy:~$ pdffonts slides.pdf
name type emb sub uni object ID
[none] Type 3 yes no no 68 0 [none] Type 3 yes no no 69 0 [none] Type 3 yes no no 70 0 [none] Type 3 yes no no 131 0 [none] Type 3 yes no no 174 0 IPHTLF+CMSY10 Type 1 yes yes no 189 0 BAAAAA+SegoeUI TrueType yes yes yes 193 0 CAAAAA+ArialMT TrueType yes yes yes 194 0 BAAAAA+SegoeUI TrueType yes yes yes 204 0 CAAAAA+ArialMT TrueType yes yes yes 205 0 BAAAAA+SegoeUI TrueType yes yes yes 225 0 CAAAAA+ArialMT TrueType yes yes yes 226 0 BAAAAA+SegoeUI TrueType yes yes yes 245 0 CAAAAA+ArialMT TrueType yes yes yes 246 0 [none] Type 3 yes no no 297 0 BAAAAA+ArialMT TrueType yes yes yes 343 0 CAAAAA+Arial-BoldMT TrueType yes yes yes 344 0 [none] Type 3 yes no no 368 0 BAAAAA+ArialMT TrueType yes yes yes 385 0 Helvetica Type 1 no no no 401 0 Helvetica-Oblique Type 1 no no no 402 0 [none] Type 3 yes no no 445 0 Helvetica Type 1 no no no 450 0 Helvetica-Oblique Type 1 no no no 451 0 Helvetica Type 1 no no no 496 0 Helvetica Type 1 no no no 501 0 Helvetica Type 1 no no no 517 0 Helvetica Type 1 no no no 522 0 BAAAAA+ArialMT TrueType yes yes yes 539 0 [none] Type 3 yes no no 613 0
Hi, could you post your pdf to verify your issue on other systems?
Hi, please grab an example from http://msbi.ipb-halle.de/~sneumann/slide43.pdf
Hi, thanks for your example.
bilke@savannenbilch ~/Downloads
$ pdfinfo slide43.pdf
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Invalid XRef entry
Tagged: no
Form: none
Pages: 1
Encrypted: no
Page size: 362.835 x 272.126 pts
Page rot: 0
File size: 80725 bytes
Optimized: no
PDF version: 1.5
bilke@savannenbilch ~/Downloads
$ pdffonts slide43.pdf
name type encoding emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
[none] Type 3 Custom yes no no 68 0
[none] Type 3 Custom yes no no 69 0
[none] Type 3 Custom yes no no 297 0
[none] Type 3 Custom yes no no 131 0
Sorry, I can't reproduce your problem. I tried the file on an current arch linux and debian box.
Are you using an ubuntu 12.04 like the original author of this issue?
Hello,
Text is missing for me too on @sneumann's example.
I have a short testcase in matplotlib too. The following code (with pylab) generates a pdf where the axis numbering and label do not appear in pdfpc.
plot(rand(10))
xlabel('x axis')
savefig('plot.pdf')
The resulting file has the following pdffonts output:
pdebuyl@host:~$ pdffonts plot.pdf
name type emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
DejaVuSans Type 3 yes no no 14 0
I run Debian wheezy/sid (via pinning) and pdfpc is at version v3.1.1.
Do you need anymore input? Should I try a more recent version?
I had the same problem with fonts not showing up in debian jessie. After
sudo apt-get install cm-super
and rebuilding the pdf all Type 3 fonts vanished and pdfpc works now :)
To avoid the Type3 fonts in Python you can use the following code
import matplotlib
matplotlib.rcParams['pdf.fonttype'] = 42
matplotlib.rcParams['ps.fonttype'] = 42
or
import matplotlib.pylab as plt
plt.rc('pdf', fonttype=42)
plt.rc('ps', fonttype=42)
Reference: http://www.phyletica.com/?p=308
I had the same problem (it was working with OT1
but not with T1
), and sudo apt-get install lmodern
solved it.