The redefinition of \scalefont command changes the result of babel-french commands \ier and \ieme, based on \up{...} command. Here is a MWE.
\documentclass[french]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{pgf-pie} % loading it or not -> it will change the superscripts position
\begin{document}
1\ier{} 2\ieme{} 3\up{e}
\end{document}
Maybe instead of redefining \scalefont command, it is possible to define a new \pgfpie@scalefont command and use it in place of \scalefont inside the pgf-pie package?
I tested it and it solved my problem, but it might bring other issues with pgf-pie features.
The redefinition of
\scalefont
command changes the result of babel-french commands\ier
and\ieme
, based on\up{...}
command. Here is a MWE.Maybe instead of redefining
\scalefont
command, it is possible to define a new\pgfpie@scalefont
command and use it in place of\scalefont
inside thepgf-pie
package? I tested it and it solved my problem, but it might bring other issues withpgf-pie
features.PS : I also opened an issue on the forked project https://github.com/pgf-tikz/pgf-pie/issues/1