I am using biblatex and biber to create the bibliography of my thesis. I am also using kpfonts.
I noticed that in almost every entry of my bibliography there is one line in which a symbol or letter extends over the right border. Take a look:
This problem only occurs in the bibliography section of the document, all normal text paragraphs have proper edges. The problem also does not occur when I am not using kpfonts.
Therefore I am concluding that the problem lays in the interplay of biblatex with kpfonts. Probably biblatex is using a different font internally to determine the spacing?
Here are the relevant code lines:
\documentclass[a4paper,12pt]{book}
\usepackage[nomath]{kpfonts}
\usepackage[backend=biber,style=numeric,citestyle=numeric-comp,bibencoding=utf8,url=false]{biblatex}
\addbibresource{../literature/combined.bib}
...
\begin{document}
...
\addcontentsline{toc}{chapter}{Bibliography}
\setcounter{biburllcpenalty}{7000}
\setcounter{biburlucpenalty}{8000}
\printbibliography
Who has an idea how to solve this?

How do I mark this question as solved when there is only a comment?
– terri May 18 '20 at 09:09style=numeric,citestyle=numeric-comp,is equivalent to the shorterstyle=numeric-comp,. Usuallybibencoding=utf8,is not needed, since the encoding can be inferred from the document (and you probably want to use UTF-8 for both the.texand.bibfile). You can (and should) remove\addcontentsline{toc}{chapter}{Bibliography}in favour of addingheading=bibintocto the\printbibliographycall:\printbibliography[heading=bibintoc]. Usually I would put the\setcounterlines in the preamble. – moewe May 18 '20 at 15:42