[Tex/LaTex] Font shape undefined

fontspowerdotshapes

I have a problem with my Latex

\documentclass[style=fyma,
mode=present %handout
]{powerdot}
\usepackage{polski}
\usepackage[utf8]{inputenc}
%\usepackage{pst-ovl}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\newtheorem{tw}{Twierdzenie}
\newtheorem{deff}{Definicja)}
\newtheorem{dow}{Dowód}

\title{Prezentacja - Pochodne}
\author{Patrycja}
\date{18.11}

\begin{document}


My text..

\end{document}

The following message is issued:

warning:  No file OT4phv.fd on input line 18  (\begin{document})
Font shape|OT4/phv/m/n' undefined(Font) using 'OT4/cmr/m/n' instead
Rerun to get \pageLabels entry

What should I do ?

Best Answer

This is because the powerdot class issues a

\def\rmdefault{phv}

to redefine the default font as Helvetica, which has no support for the OT4 font encoding used by the polski package by default.

You have to load the polski package with the option T1

\usepackage[T1]{polski}

to avoid the warning and having the T1 font encoding, which characters are supported with the Helvetica font.

MWE

\documentclass[style=fyma,
mode=present %handout
]{powerdot}
\usepackage[T1]{polski}
\usepackage[utf8]{inputenc}
%\usepackage{pst-ovl}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\newtheorem{tw}{Twierdzenie}
\newtheorem{deff}{Definicja)}
\newtheorem{dow}{Dowód}

\title{Prezentacja - Pochodne}
\author{Patrycja}
\date{18.11}

\begin{document}

Po załadowaniu pakietu zmienione zostają wewnętrzne kody \TeX a dla odnośnych
liter polskiego alfabetu w Nowym Układzie (T1)

(from the \verb|polski| manual, I don't know what it means)

\end{document} 

Output

enter image description here